Hello, I’m starting to look into your plugin…

WPPizza – A Restaurant Plugin for WordPress Support Feature Requests Hello, I’m starting to look into your plugin…

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #3782
    Filipe Coutinho

      Hello, I’m starting to look into your plugin and I have a very important question, how I create a page which display all orders? This is difficulty to implement? I have some special features in mind like: have a button to mark a order as delivered (it can be just add a class to the selector, like a div for example) and make the visible orders in this page are only of the same day they were created, and after that they are no longer appear. I belive that will suit my needs, your plugin have those? If not, there is a possibility to help me create then? Thank you for your attention, and congrats for this exellent plugin, it is one of the best of whole worpress world!

      #3783
      Olly
      Admin & Mod

        do you mean a page outside the wppizza->order history ?

        #3784
        Filipe Coutinho

          yes, I want the user of the system dont have to acess the admin to view those information, I think the newbies on IT will be lost and increase the time to know how to operate the system, so a simple page will be more easy for them, and will decrease the training time too 🙂

          #3785
          Olly
          Admin & Mod

            its just a straight forward query like:

            “SELECT * FROM wp_wppizza_orders WHERE payment_status =’COMPLETED’ AND [YOUR CONDITIONALS] [YOUR LIMITS]”;

            for simplicities sake, the order details and customer details are in the ‘customer_details’ and ‘order_details’ column as plaintext

            obviously you can also use the order_date, id, transaction_id and whatever other column you like (although you probably want to skip/ignore at least the customer_ini and order_ini) , but generally the above 2 fields hold the order and customer details

            #3786
            Filipe Coutinho

              I will start to develop that, thanks for the reply, may I ask more if some difficulties appear? By the way you are awesome, many thanks for the help and for fast reply!

            Viewing 5 posts - 1 through 5 (of 5 total)
            • The topic ‘Hello, I’m starting to look into your plugin…’ is closed to new replies.