Set Custom Order Status Rules

The Custom Order Status Rule feature allows you to automate the transition of order statuses based on predefined conditions. This feature is handy for managing orders efficiently by specifying rules that dictate how and when an order status should change.

Add Order Status Rule

↑ Back to top

To add the custom order status rule, follow the path WooCommerce -> Settings -> Custom Order Status -> Order Status Rules.

Set Custom Order Status Rules - Tyche Softwares Documentation

Click on the “Add New” button to create a new rule and you will be directed to the “Add Order Status Rule” interface.

Set Custom Order Status Rules - Tyche Softwares Documentation

For instance, you want to automatically change an order’s status from “Packaging” to a custom status “Ready for Shipment” 60 minutes after the order has been marked as “Packaging,” but only on weekdays and excluding specific holidays.

1. Set Rule Name

↑ Back to top

Enter Packaging to Ready for Shipment as the rule name to describe the process the rule automates.

Set Custom Order Status Rules - Tyche Softwares Documentation

2. Status

↑ Back to top

In this section, users define the transition of order status. You can choose WooCommerce as well as Custom Order Statuses.

Status From: The current status of the order that triggers the rule.
Status To: Choose the status to which the order will be changed when the rule is applied.

In our example, orders with the Custom Order status “Packaging” are automatically updated to “Ready for Shipment”. This status indicates that the order is packaged and ready to be shipped.

Set Custom Order Status Rules - Tyche Softwares Documentation

3. Time

↑ Back to top

In this section, you can define when the rule should be applied based on time intervals and exceptions that the system should wait before changing the status.

Set Custom Order Status Rules - Tyche Softwares Documentation

Time Trigger: Users can set a time trigger to specify when the rule should be applied. You can specify the number of minutes, hours, days, weeks for the trigger. I have set the time to 30 minutes. This means the system will wait 30 minutes after an order is marked as “Packaging” before changing the status to “Ready for Shipment.”

Set Custom Order Status Rules - Tyche Softwares Documentation

Skip Days: This feature enables users to exclude specific days from the rule’s application. Users can select or deselect days of the week based on their operational requirements. Here, I selected Monday and Tuesday as days to skip since packaging and shipping may not occur on these days.

Set Custom Order Status Rules - Tyche Softwares Documentation

Skip Dates: Users can also specify dates (e.g., holidays) on which the rule should not apply, offering further customization and adaptability to seasonal fluctuations.

Set Custom Order Status Rules - Tyche Softwares Documentation

4. Order Payment & Shipping

↑ Back to top

Users can select specific payment gateways and shipping methods for the rule to apply, ensuring compatibility with their store’s payment and shipping preferences.

Payment Gateways to Include: If you want this rule to apply only to orders paid via certain Payment Gateways, select those payment gateways here. In my case, I selected “Direct Bank Transfer”. So this rule will be applied to only if the order is placed with “Direct Bank Transfer” Payment.

Set Custom Order Status Rules - Tyche Softwares Documentation

Shipping Methods to Include: Select the shipping methods that should be considered for this rule. For example, if this status transition should only apply to orders with Zone 1 – Flat rate shipping, select that option.

Set Custom Order Status Rules - Tyche Softwares Documentation

5. Save the rule

↑ Back to top

After you have configured all the settings for your custom order status rule, click the “Save” button. Your new rule will now be listed in the Order Status Rules section. In the Order Status Rules list, you’ll see a toggle switch next to each rule. You can enable or disable the rule at any time by clicking this toggle switch.

Set Custom Order Status Rules - Tyche Softwares Documentation

Now, the order received using the “Cash on Delivery” payment gateway and the “Zone 1 – Flat Rate” shipping method. The order is currently in the “Packaging” status.

Set Custom Order Status Rules - Tyche Softwares Documentation

The system will now automatically change the order status from “Packaging” to “Ready for Shipment” 30 minutes after the order is marked as “Packaging.” This will only occur on weekdays and will skip the specified holidays.

Set Custom Order Status Rules - Tyche Softwares Documentation

The Custom Order Status Rule feature offers flexibility and automation, helping you manage orders more efficiently by defining specific conditions under which order statuses should change. By following the steps outlined in this documentation, you can easily set up and manage these rules to suit your business needs.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.