Description
Order Status Rules for WooCommerce plugin lets you schedule automatic WooCommerce order status changes.
For example: automatically change order status to cancelled, when 24 hours have passed since order status was set to pending.
✅ Order Status Rule Options
- Order status from.
- Order status to.
- Time trigger (in seconds, minutes, hours, days or weeks).
- Minimum and maximum order amount and order quantity.
- Required payment gateways.
- Required shipping methods.
- Required billing and shipping countries.
- Required products, product categories, product tags or product stock status.
- Required users, user roles or billing emails.
- Required coupons.
- And more…
🤝 Compatibility
🗘 Feedback
- We are open to your suggestions and feedback. Thank you for using or trying out one of our plugins!
- Visit plugin site.
Installation
- Upload the entire plugin folder to the
/wp-content/plugins/
directory. - Activate the plugin through the âPluginsâ menu in WordPress.
- Start by visiting plugin settings at âWooCommerce > Settings > Order Status Rulesâ.
Reviews
Contributors & Developers
“Order Status Rules for WooCommerce” is open source software. The following people have contributed to this plugin.
Contributors“Order Status Rules for WooCommerce” has been translated into 1 locale. Thank you to the translators for their contributions.
Translate “Order Status Rules for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
3.6.0 – 04/10/2024
- Dev – âKey Managerâ added.
- WC tested up to: 9.3.
3.5.5 – 30/08/2024
- Fix – Possible âUnsupported operand typesâ PHP error fixed.
- WC tested up to: 9.2.
3.5.4 – 30/07/2024
- Fix – Admin Options – Settings Tools – âReset section settingsâ tool fixed (it was resetting settings for all rules).
- Dev – Admin Options – Settings Tools – âCopy settingsâ tool added.
- Dev – Rule – Conditions – Products/categories/tags/stock status – Action – âExclude allâ option added.
- Tested up to: 6.6.
- WC tested up to: 9.1.
3.5.3 – 13/06/2024
- Dev – Conditions – Order meta – âMeta compareâ option added (defaults to âEqualsâ).
- WC tested up to: 8.9.
- WooCommerce added to the âRequires Pluginsâ (plugin header).
3.5.2 – 30/04/2024
- Dev – Rule – Conditions – Order Users – Paying customer – Possible PHP warning fixed.
- Tested up to: 6.5.
- WC tested up to: 8.8.
3.5.1 – 06/03/2024
- Dev – Admin settings descriptions updated.
- WC tested up to: 8.6.
3.5.0 – 30/01/2024
- Dev – Rule – âSkip datesâ option added.
- Dev – PHP 8.2 compatibility – âCreation of dynamic property is deprecatedâ notice fixed.
- Dev – Code refactoring.
- Tested up to: 6.4.
- WC tested up to: 8.5.
3.4.2 – 23/09/2023
- WordPress plugin logo, banner updated.
3.4.1 – 20/09/2023
- Dev – Developers –
alg_wc_order_status_rules_wc_get_orders
filter added. - WC tested up to: 8.1.
3.4.0 – 04/09/2023
- Fix – Declaring HPOS compatibility for the free plugin version, even if the Pro version is activated.
- Dev – Advanced – Orders Query – âMax ordersâ option added (defaults to
-1
). - Tested up to: 6.3.
- WC tested up to: 8.0.
3.3.0 – 16/07/2023
- Dev – Advanced – Process rules on – âSubscription status changedâ and âAdmin âEdit subscriptionâ pageâ options added.
- Dev – Advanced – âStatusesâ option added. Possible values: âWooCommerce Order Statusesâ and âWooCommerce Subscription Statusesâ. Defaults to âWooCommerce Order Statusesâ.
- Dev – Advanced – âSave status change onâ option added. Possible values: âOrder status changedâ and âSubscription status changedâ. Defaults to âOrder status changedâ.
- Dev – Advanced – âMeta boxâ option added. Possible values: âOrdersâ and âSubscriptionsâ. Defaults to âOrdersâ.
- Dev – Advanced – Orders Query – âOrder typesâ option added. Possible values: âOrdersâ and âSubscriptionsâ. Defaults to âOrdersâ.
- Dev – Advanced – Admin settings – âRules processing hooksâ renamed to âProcess rules onâ.
- Dev – Admin settings sections rearranged – âToolsâ, âMy Accountâ, âExtraâ sections added. âAdvanced > Orders Query Optionsâ subsection added.
- Dev – Code refactoring.
- Dev – Developers –
alg_wc_order_status_rules_wc_get_orders_args
filter added.
3.2.0 – 10/07/2023
- Dev â âHigh-Performance Order Storage (HPOS)â compatibility.
3.1.0 – 04/07/2023
- Dev – Advanced – âDefault order statusâ option added.
- Dev – Advanced – âProcess Payment Order Statusâ options added (âDirect bank transferâ, âCheck paymentsâ, âCash on delivery (COD)â).
3.0.3 – 26/06/2023
- Dev – Developers –
alg_wc_order_status_rules_hooks_priority
filter added.
3.0.2 – 18/06/2023
- WC tested up to: 7.8.
3.0.1 – 08/05/2023
- Tested up to: 6.2.
- WC tested up to: 7.6.
3.0.0 – 10/02/2023
- Fix – Admin settings – General – Reset Settings – Now displaying the correct âTotal rulesâ on settings reset.
- Dev – Admin –
DISABLE_WP_CRON
notice removed. Instead, a similar message added to the âAdvanced > Periodical Processing Optionsâ section description. - Dev – Advanced – Rules processing hooks – âCheckout order processedâ option added.
- Dev – Advanced – Rules processing hooks – ââThank youâ (i.e., âOrder receivedâ) pageâ option added.
- Dev – Advanced – Rules processing hooks – âAdmin âEdit orderâ pageâ option added.
- Dev – Order status change history –
get_order_status_change_history()
– Code refactoring.
2.9.3 – 23/01/2023
- Fix – Advanced – Rules processing hooks – Now properly handling the
process_rules_for_order()
callback on order status update (woocommerce_order_status_changed
action). - Dev – Developers –
alg_wc_order_status_rules_check_dates_order_date
filter added. - Tested up to: 6.1.
- WC tested up to: 7.3.
2.9.2 – 17/11/2022
- Dev – Developers –
alg_wc_order_status_rules_before_rule_applied
andalg_wc_order_status_rules_after_rule_applied
actions added. - WC tested up to: 7.1.
2.9.1 – 20/10/2022
- Dev – Admin settings updated.
- Readme.txt updated.
- WC tested up to: 7.0.
2.9.0 – 11/08/2022
- Dev – Rule – Conditions – Products/categories/tags/stock status – âRequire allâ option is now a dropdown with an additional âExcludeâ value.
- Dev – Rule – Conditions – âBilling emailsâ option added.
- Dev – Rule – Conditions – Minimum/Maximum amount – âMinimum/Maximum order amount typeâ options added. Defaults to âOrder subtotalâ. Another possible value is âOrder totalâ.
- Dev – Admin settings updated; subsections added; etc.
- Dev – Minor code refactoring.
- WC tested up to: 6.8.
2.8.2 – 27/07/2022
- Dev – Process rules – Extra safe-checks added for the orders.
- Dev – Deploy script added.
- Tested up to: 6.0.
- WC tested up to: 6.7.
2.8.1 – 21/04/2022
- Fix – Rule – Conditions – Coupons – âAny couponâ option was ignored (plugin was processing the âSpecific coupon(s)â option instead). This is fixed now.
- Dev – Rule – Conditions – Coupons – âNo couponsâ option added.
2.8.0 – 20/04/2022
- Dev – Rule – Conditions – âCouponsâ options added.
- Dev – Rule – Conditions – âPaying customerâ options added.
- Dev – Admin settings descriptions updated.
- Dev – Code refactoring.
2.7.2 – 15/04/2022
- Fix – Admin settings – Users – âGuestâ user was removed by mistake in v2.6.1. This is fixed now.
- Dev – Code refactoring.
2.7.1 – 14/04/2022
- Fix – Advanced – Disabled conditions – âBilling countriesâ and âShipping countriesâ options could not be disabled. This is fixed now.
2.7.0 – 14/04/2022
- Dev – Rule – Conditions – âProduct stock statusâ options added.
- Dev – Rule – Conditions – âBilling countriesâ and âShipping countriesâ options added.
- Dev – Rule – Conditions – âAll products in the order must match the selection (vs at least one product)â options added to âProductsâ, âProduct categoriesâ and âProduct tagsâ conditions. Defaults to
no
.
2.6.1 – 13/04/2022
- Dev – Admin settings – Users – Using AJAX now.
- Dev – Code refactoring.
- WC tested up to: 6.4.
2.6.0 – 08/04/2022
- Dev – Advanced – âDisabled conditionsâ option added.
- Dev – Code refactoring.
- WC tested up to: 6.3.
2.5.1 – 26/01/2022
- Dev – Advanced – âOrders sortingâ options added.
- Tested up to: 5.9.
- WC tested up to: 6.1.
2.5.0 – 17/01/2022
- Dev – Conditions – Products – Admin settings are using AJAX now.
- Dev – Code refactoring.
- WC tested up to: 6.0.
2.4.1 – 14/12/2021
- Dev – Rule – Conditions – âDate created beforeâ and âDate created afterâ options added.
2.4.0 – 09/12/2021
- Dev – Rule – Conditions – Order meta – âMultiple meta valuesâ option added (i.e., multiple values are now allowed in the âMeta valueâ option, as a comma-separated list).
- Dev – Rule – Skip days – Algorithm improved.
- Dev – Order Status History – âNo order status rules are scheduled to be applied…â message added.
- Dev – Code refactoring.
- WC tested up to: 5.9.
2.3.0 – 27/10/2021
- Dev – Advanced – Periodical Processing – âAction Schedulerâ options added.
- Dev – Advanced – âRules processing hooksâ option added (defaults to
Order status changed
). Can be filtered with thealg_wc_order_status_rules_hooks
filter. - Dev – Advanced – Admin settings rearranged: âPeriodical Processing Optionsâ, âOrder Status History Optionsâ subsections added. Settings descriptions updated.
2.2.0 – 22/10/2021
- Fix – Admin settings – The issue when âTotal rulesâ option has just been changed, but number of rule settings tabs doesn’t reflect it, is fixed now.
- Dev – Triggering order status rules processing on any order status change now (i.e., rules with zero time triggers will be processed immediately now).
2.1.0 – 21/10/2021
- Dev – Rule – âShipping methodsâ option added.
- Dev – Rule – âMinimum order quantityâ and âMaximum order quantityâ options added.
- Dev – Advanced – âOn non-matching order statusâ option added.
- Dev – Safe-checks added when retrieving order’s payment gateway.
- Dev – Admin âRuleâ settings restyled (âConditionsâ subsection added).
- Dev – Code refactoring.
- WC tested up to: 5.8.
2.0.0 – 06/09/2021
- Dev – Admin settings rearranged. Now each order status rule has its own settings section. Tools moved from the âAdvancedâ section to the âGeneralâ section.
- Dev – Rule – âOrder metaâ options added.
- Dev – Optional
alg_wc_order_status_rules_process_rules_redirect
URL param added. - Dev – Developers –
alg_wc_order_status_rules_do_apply_rule
filter added. - Dev – Developers –
alg_wc_order_status_after_save_settings
filter renamed toalg_wc_order_status_rules_after_save_settings
.
1.9.0 – 25/08/2021
- Dev – Rule – âUser rolesâ option added.
- Dev – Rule – âUsersâ option added.
- Dev – Rule – Minimum/Maximum order amount – Decimal values are allowed in settings now (step set to
0.000001
). - WC tested up to: 5.6.
1.8.1 – 11/08/2021
- Dev – Rule – âMinimum order amountâ and âMaximum order amountâ options added.
- Dev – Rule – Admin settings – âSelect allâ and âDeselect allâ buttons added to all âmultiselectâ options.
1.8.0 – 02/08/2021
- Dev – Rule – Time trigger – It’s possible to set the value to zero now.
- Dev – Advanced & Tools – âMy Account > Ordersâ options added.
- Dev – Advanced & Tools – On empty order status change history – Defaults to âUse order date modifiedâ now.
- Dev – Save status change – Hook priority set to
10
now (wasPHP_INT_MAX
). - Dev – Admin settings descriptions updated.
- Dev – Code refactoring.
1.7.0 – 29/07/2021
- Fix – PHP error fixed. Was occurring when creating a new order by admin with âOn empty order status change historyâ option set to âUse order date …â.
- Dev – Advanced – Compatibility Options – âDoctreatâ option added.
- Dev – Debug – Now adding to the log if rules was processed manually (i.e., via âTools > Run all rules nowâ).
- Dev – Plugin is initialized on
plugins_loaded
action now. - Dev – Code refactoring.
- Tested up to: 5.8.
- WC tested up to: 5.5.
1.6.1 – 13/05/2021
- Fix – âPHP Parse errorâ fixed.
1.6.0 – 11/05/2021
- Dev – Rule – âProductsâ option added.
- Dev – Rule – âProduct categoriesâ option added.
- Dev – Rule – âProduct tagsâ option added.
- Dev – Order Status History – Descriptions updated in the meta box, e.g., rule title added.
- Dev – Code refactoring.
1.5.0 – 20/04/2021
- Dev – Rule – âPayment gatewaysâ option added.
- Dev – Admin settings restyled: new âAdvanced & Toolsâ section added.
- Dev – Minor code refactoring.
- Tested up to: 5.7.
- WC tested up to: 5.2.
1.4.0 – 26/02/2021
- Dev – Advanced – Use WP cron – âWP cron intervalâ option added (defaults to âOnce Hourlyâ).
- Dev – Advanced – âOn empty order status change historyâ option added.
- Dev – Rule – Time trigger – âUnitâ option added (defaults to âhour(s)â).
- Dev – Rule – Time trigger – Defaults to
1
now. - Dev – Advanced – âDebugâ option added.
- Dev – Localization –
load_plugin_textdomain()
moved to theinit
hook. - Dev – Admin descriptions updated.
- Dev – Code refactoring.
- Tested up to: 5.6.
- WC tested up to: 5.0.
1.3.1 – 17/09/2020
- Dev – Allow rules processing via URL – Hook priority increased.
1.3.0 – 15/09/2020
- Dev – Advanced – âUse WP cronâ option added (defaults to
yes
). - Dev – Advanced – âAllow rules processing via URLâ option added (defaults to
no
). This is an alternative to WP crons (i.e., allows using ârealâ (i.e., server) cron jobs instead). - WC tested up to: 4.5.
- Tested up to: 5.5.
1.2.0 – 27/03/2020
- Fix – âReset settingsâ admin notice fixed.
- Dev – Tools – âRun all rules nowâ tool added.
- Dev – âNext cron event is scheduled on …â info added to admin settings.
- Dev – Code refactoring.
- Dev – Admin settings descriptions updated.
- WC tested up to: 4.0.
- Tested up to: 5.3.
1.1.0 – 11/07/2019
- Dev – Admin settings descriptions updated. âYour settings have been resetâ notice added.
- Dev – âTotal rulesâ default value changed to
1
. - Dev – Rule – âAdmin title (optional)â option added.
- Dev – Rule – âEnable/Disableâ default value changed to
no
. - Dev – Code refactoring.
- Plugin URI updated.
- Tested up to: 5.2.
- WC tested up to: 3.6.
1.0.1 – 07/06/2018
- Fix – Break added in
process_rules()
function, so multiple status updates wouldn’t happen at once. - Dev – âSkip daysâ rules options added.
1.0.0 – 16/05/2018
- Initial Release.