Only donations that have the status “completed” are included in the progress bar. As of version 1.2.0, all donations where the product is also virtual will be completed automatically.
In order to autocomplete donations, you have to follow these steps:
- install the latest version of Donation Platform for WooCommerce
- make sure your donation products (and for variable products all variations) are marked as virtual
Deactivate Auto Complete
Add the following code to your functions.php file of your theme to disable auto completion of all orders/donations. Tip: You can of course also use the free Code Snippets plugin to conveniently add the code.
add_filter('woocommerce_order_item_needs_processing', '__return_true', 11);