WPPizza – A Restaurant Plugin for WordPress › Support › Add-Ons › Extensions › Add Ingredients › Support › Possible to show Ingredients on Initial Page Load?
- AuthorPosts
- 18 March, 2016 at 4:15 pm #16630
Hello, is there a way to have the ingredients section show up on the initial page load? Right now it seems you can only have the ingredients section show up once you click the menu item and add it to the order, then the ingredients section is populated.
Thanks in advance!
18 March, 2016 at 4:19 pm #16633>is there a way to have the ingredients section show up on the initial page load
no , because your page/site will grind to a halt with all the queries that would have to be made at the same time.
You could trigger a click on an individual item on page load through via jQuery if you wanted, but it will only work on one item. you will not be able to “autoshow” so to speak more than one.
(so this might be an option if you know there’s only one item on a page)18 March, 2016 at 4:25 pm #16634Hmm, what if I wanted this option and was okay with site speed issues? Is it technically possible, via a semi-quick solution? Understandable if there isn’t a quick solution, I’m just really wondering if it’s possible.
18 March, 2016 at 4:31 pm #16635>Is it technically possible, via a semi-quick solution
no>wondering if it’s possible
sure, everything is possible. you just need to re-write about 50% or so of the plugin18 March, 2016 at 4:33 pm #16636PS: maybe it’s less than 50% . dunno . I’m not going to spend time finding out though
18 March, 2016 at 4:58 pm #16637Haha, yeah, that’s what I thought… a client wanted this option but we’ll have to go with another approach. Thanks Olly!
18 March, 2016 at 5:11 pm #16638you’re welcome
- AuthorPosts
- The topic ‘Possible to show Ingredients on Initial Page Load?’ is closed to new replies.