Need the Page title in Order history or Order print

WPPizza – A Restaurant Plugin for WordPress Support Feature Requests Need the Page title in Order history or Order print

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #20242
    skot
    Participant

      Hi,
      I am facing a issue with a situation. I have product with same name in different page but their preparing process is different that defined in page title. So, Basically I need to see the page title from where the customer ordered in cart , order history and print/email. So, I can understand from where the order came and how to prepare it.

      Thanks

      #20251
      Olly
      Admin & Mod

        the obvious thing would be to rename it
        if it’s a different product, it should surely have a different name …
        though you can also display the categories in the cart where it was ordered from / belonged to.
        see wppizza->layout

        #20287
        skot
        Participant

          Yes I know about the category. but the thing is I also need the page title beside the category for a particular reason. I can have it by using wp_title() in cart but couldn’t get it in order page or history. So, if you can give me a hint which file and function to look it will be a help.

          Thanks

          #20290
          Olly
          Admin & Mod

            if you have a product that isn’t the same in a different page, you really should give it a distinct name – i.e it should be a different product to be able to distinguish it from the product in the other page.

            to be honest i really cannot understand why what you are asking for would ever be necessary in the first place. Then again maybe I just do not understand the requirement. feel free to elaborate though as to why this could be useful

            #20327
            skot
            Participant

              actually I have two pastry shop in different location in a small distance but the preparation and processing place is same which is in other place. I don’t want to use multi-site because it seems complicated to me. also the category, product, Price all are same. So, basically I have created two page with the title of shop location and name ex. “Cake Bake piazzza dell’8 agosto”, “Cake Bake via cupo di lucca”, and putted two button for customer to choose from where he wants to order. Now the problem is if people orders cake then I cant understand which shop customer had chosen and customer going to come for pickup.

              that’s the reason I need page title in order history. hope it makes sense to you now.

              Thanks a lot for your fast responses.

              #20329
              Olly
              Admin & Mod

                this sounds completely over the top and somewhat the wrong way round (or more accurately, it would be a lot simpler if you were to do it the other way round)

                from what you are saying, all you need is the customer to choose which shop to pick it up from .
                having 2 pages here which do exactly the same things seems superfluous

                what’s wrong with just adding a dropdown to the checkout where people choose which shop they want to order from AFTER they have chosen what it is they want to order?

                (see example under =NOTE= here
                https://www.wp-pizza.com/downloads/wppizza-delivery-by-postcode/
                , replacing the comma separated list of postcodes with your 2 shops)

              Viewing 6 posts - 1 through 6 (of 6 total)
              • The topic ‘Need the Page title in Order history or Order print’ is closed to new replies.