Hi Tom,
First of all, thank you very much for your quick response.
It seems like perfect but, in fact, we are facing some issues when adding this order_status attribute to the shortcodes.
I.E.: [product_crowdfunding_total_items order_status="wc-on-hold"]
But, when doing so, we are getting the numbers of the following order status:
wc-completed: which would be ok if you consider this status as a default status;
wc-on-hold: which is correct since we added it to the shortcode;
wc-failed: which is incorrect, since we didn't add it to the shortcode;
It seems like, everytime we add the order_status a attribute to the shortcode all items from all orders status are adding up and showing as a result.
I will do some more tests here. But, do you have any clue?
We also read on readme.txt this:
Dev - order_status attribute added in orders shortcodes: product_crowdfunding_goal_progress_bar, product_crowdfunding_goal_remaining, product_total_orders, product_total_orders_sum.
So, can we you this order_status attribute also with: product_crowdfunding_total_items
and
product_crowdfunding_goal_items_remaining_progress_bar
Best regards,
Eduardo
WordPress ...
ما را در سایت WordPress دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 294
تاريخ: دوشنبه
11 مرداد
1395 ساعت: 5:19