Possible to show Ingredients on Initial Page Load?

WPPizza – A Restaurant Plugin for WordPress Support Add-Ons Extensions Add Ingredients Support Possible to show Ingredients on Initial Page Load?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #16630
    manny
    Participant

      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!

      #16633
      Olly
      Admin & Mod

        >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)

        #16634
        manny
        Participant

          Hmm, 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.

          #16635
          Olly
          Admin & Mod

            >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 plugin

            #16636
            Olly
            Admin & Mod

              PS: maybe it’s less than 50% . dunno . I’m not going to spend time finding out though

              #16637
              manny
              Participant

                Haha, yeah, that’s what I thought… a client wanted this option but we’ll have to go with another approach. Thanks Olly!

                #16638
                Olly
                Admin & Mod

                  you’re welcome

                Viewing 7 posts - 1 through 7 (of 7 total)
                • The topic ‘Possible to show Ingredients on Initial Page Load?’ is closed to new replies.