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
- AuthorPosts
- 21 February, 2017 at 12:13 pm #25700
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
21 February, 2017 at 1:50 pm #25708you 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
21 February, 2017 at 4:39 pm #25709As you mentioned above, there is no need to extend page loading time for just hidden elements.
24 February, 2017 at 4:18 pm #25847Also 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.
24 February, 2017 at 4:22 pm #25849cant see how, as the gmaps address data is not stored in the user profile
24 February, 2017 at 4:26 pm #25850Sorry my mistake I was taking about the address without gmaps
- AuthorPosts
- The topic ‘Hide address field and google map on self pickup’ is closed to new replies.