Hide address field and google map on self pickup

WPPizza – A Restaurant Plugin for WordPress Support Add-Ons Extensions Delivery By Post/Zipcode General Questions Hide address field and google map on self pickup

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #25700
    Michael Maccar
    Participant

      Hi Olly

      I’m just testing delivery by post/zipcode plugin on my site and I’m wondering if there is any way to hide address field and google map on self pickup or even deactivate the whole plugin when self pickup is selected?

      Many thanks for all your hard work

      #25708
      Olly
      Admin & Mod

        you can probably do the same thing as described here
        https://www.wp-pizza.com/topic/order-from/
        (just adjust the class names)

        however, I agree that – if you want to hide things anyway – it would be better to not execute the plugin in the first place as the performance overhead is quite high when using gmaps

        i’ll have a think / make a note of it . I will see what i can come up with

        #25709
        Michael Maccar
        Participant

          As you mentioned above, there is no need to extend page loading time for just hidden elements.

          #25847
          Michael Maccar
          Participant

            Also just wanted to mentioned that when log in is allowed on the site the details are refilled automatically, so when it’s hidden in the front end it’s still there in the email etc.

            #25849
            Olly
            Admin & Mod

              cant see how, as the gmaps address data is not stored in the user profile

              #25850
              Michael Maccar
              Participant

                Sorry my mistake I was taking about the address without gmaps

              Viewing 6 posts - 1 through 6 (of 6 total)
              • The topic ‘Hide address field and google map on self pickup’ is closed to new replies.