WPPizza – A Restaurant Plugin for WordPress › Support › Feature Requests › Hello, I’m starting to look into your plugin…
- AuthorPosts
- 9 January, 2014 at 12:05 am #3782Filipe 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!
9 January, 2014 at 4:01 pm #3783do you mean a page outside the wppizza->order history ?
10 January, 2014 at 1:01 am #3784Filipe Coutinhoyes, 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 🙂
10 January, 2014 at 1:28 am #3785its 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
10 January, 2014 at 2:39 am #3786Filipe CoutinhoI 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!
- AuthorPosts
- The topic ‘Hello, I’m starting to look into your plugin…’ is closed to new replies.