Hi, I’m trying to get orders for the selected day and found issues in the plugin source code.
I use WPPizza plugin version 3.9.6. Can you please fix it in the next update.
I made a custom page where I want to get orders for the selected day, I tried to use $args[‘query’][‘order_date_after’] and $args[‘query’][‘order_date_before’] for the WPPIZZA->db->get_orders method.But, I noticed that there is no difference between ‘order_date_after’ and ‘order_date_before’ attributes in the “get_orders” method.
Please check this screenshot http://prntscr.com/oageze As you can see “order_date_after” was overwritten by “order_date_before”
Here is my fix http://prntscr.com/oagfko hope in the next plugin update this issue will be fixed.