Title: Only Order status Completed
Last modified: September 1, 2016

---

# Only Order status Completed

 *  [eagomes](https://wordpress.org/support/users/eagomes/)
 * (@eagomes)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/only-order-status-completed/)
 * Hello,
 * Is there a way to config the CrowdFunding plugin to consider others orders status
   for the CrowdFunding result (total_orders, total_orders_sum, product_crowdfunding_total_items
   etc.) and not only when the WooCommerce order status is setup as “Completed”?
 * In case the answer is now, this would be very useful for several uses of the 
   CrowdFunding plugin.
 * Thanks in advance and congratulations for the plugin. I just bought the PRO version.
 * BR.
    Eduardo
 * [https://wordpress.org/plugins/crowdfunding-for-woocommerce/](https://wordpress.org/plugins/crowdfunding-for-woocommerce/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Algoritmika](https://wordpress.org/support/users/algoritmika/)
 * (@algoritmika)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/only-order-status-completed/#post-7618942)
 * Hi,
 * Thanks.
    Yes, it’s possible – you need to add `order_status` attribute to the
   shortcodes, something like: `[product_crowdfunding_total_sum order_status="wc-
   completed,wc-processing"]`
 * Please let me know if you have any questions.
 * Best regards,
    Tom
 *  Thread Starter [eagomes](https://wordpress.org/support/users/eagomes/)
 * (@eagomes)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/only-order-status-completed/#post-7618959)
 * 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
 *  [Algoritmika](https://wordpress.org/support/users/algoritmika/)
 * (@algoritmika)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/only-order-status-completed/#post-7618962)
 * Hi again, Eduardo,
 * That’s strange, I will recheck it on my test server, and will get back to you
   shortly. And there is no default status if you use the `order_status` attribute–
   if you want to include `wc-completed`, you must add it to the list.
 * Regarding other shortcodes – yes, `order_status` attribute can be used in all
   shortcodes (of course except “time” shortcodes, where it wouldn’t have any meaning).
 * Best regards,
    Tom
 *  [Algoritmika](https://wordpress.org/support/users/algoritmika/)
 * (@algoritmika)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/only-order-status-completed/#post-7618964)
 * I’ve rechecked on my server and unfortunately couldn’t reproduce the issue – 
   when adding `[product_crowdfunding_total_items order_status="wc-on-hold"]` – 
   only “On Hold” orders are counted for me. Could you please contact me on [info@algoritmika.com](https://wordpress.org/support/topic/only-order-status-completed/info@algoritmika.com?output_format=md)
   for further support?
 * Best,
    Tom
 *  Thread Starter [eagomes](https://wordpress.org/support/users/eagomes/)
 * (@eagomes)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/only-order-status-completed/#post-7724467)
 * Hello Tom,
 * How are you doing?
 * After have this issue solved, I realized that, in the new plugin released we 
   have:
 * 2.3.0 – 20/08/2016
    Dev – “Order Statuses to Include in Calculations” option 
   added (order_status shortcode attribute removed)
 * I am wondering if I can no longer use [product_crowdfunding_total_items order_status
   =”wc-completed,wc-processing,wc-on-hold”]?
 * I saw there’s a new General configuration (Status Options – Order Statuses to
   Include in Calculations) where we can set the order status to be consider during
   the calculations. The point is: I am getting the same calculations results. Plug
   in seems to be ignoring the order status I set: completed, processing, on-hold
 * This is happening both in the Free and PRO version.
 * Could you please take a look and get back to us as soon as possible?
 * Thanks in advance.
 * BR.
 *  Thread Starter [eagomes](https://wordpress.org/support/users/eagomes/)
 * (@eagomes)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/only-order-status-completed/#post-8189836)
 * Hello Tom and [@algoritmika](https://wordpress.org/support/users/algoritmika/)
   team,
 * Any reply on this, please?
 * Thanks a lot.
 * BR.
 *  [Algoritmika](https://wordpress.org/support/users/algoritmika/)
 * (@algoritmika)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/only-order-status-completed/#post-8193817)
 * Hi,
 * Sorry for the delay. Will check that first thing tomorrow morning.
 * Best regards,
    Tom
 *  [Algoritmika](https://wordpress.org/support/users/algoritmika/)
 * (@algoritmika)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/only-order-status-completed/#post-8195315)
 * Hi,
 * I’ve rechecked on my test server, but unfortunately couldn’t reproduce the issue–
   it seems to be working fine for me. You are correct – `order_status` shortcode
   attribute was removed in last version, so now you must set included order statuses
   in plugin’s settings (“WooCommerce > Settings > Crowdfunding > General > Order
   Statuses to Include in Calculations”). Please note that since last version calculations
   are done **not** in real time, so after you change included order statuses, some
   time must pass for product crowdfunding data to update. Maybe you set “Update
   Rate” (again in “General” settings) to some long timespan (e.g. weekly)? If that’s
   not the case – please contact me at [tom@booster.io](https://wordpress.org/support/topic/only-order-status-completed/tom@booster.io?output_format=md)
   for further support.
 * Best regards,
    Tom
    -  This reply was modified 9 years, 9 months ago by [Algoritmika](https://wordpress.org/support/users/algoritmika/).

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Only Order status Completed’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/crowdfunding-for-woocommerce_cdd8d7.
   svg)
 * [Crowdfunding for WooCommerce](https://wordpress.org/plugins/crowdfunding-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/crowdfunding-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/crowdfunding-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/crowdfunding-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/crowdfunding-for-woocommerce/reviews/)

## Tags

 * [completed](https://wordpress.org/support/topic-tag/completed/)
 * [order](https://wordpress.org/support/topic-tag/order/)
 * [status](https://wordpress.org/support/topic-tag/status/)

 * 8 replies
 * 2 participants
 * Last reply from: [Algoritmika](https://wordpress.org/support/users/algoritmika/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/only-order-status-completed/#post-8195315)
 * Status: not resolved