How to Create Rules for Auto-complete Order Status in WooCommerce?

Creating Rules for Autocomplete Order Status

To create rules for auto-completing order status in WooCommerce, follow these steps:

Log in to your WooCommerce admin dashboard.

Navigate to WooCommerce and select AutoComplete Orders.

Add a New Rule:

Click on “Add New Rule” to initiate the creation of a new auto-complete order rule.

Provide Rule Title: Enter a descriptive title for the rule to help identify its purpose.

Restricting Rules Based on Order Status:

Under “Order Restrictions,” you will find the “Order Status” criteria.

Choose from the following options:

  • Pending Payment
  • Processing
  • On hold
  • Cancelled
  • Refunded
  • Failed
  • Draft

Specify Time Frame for Updates:

In the “Select Days” field, specify the number of days for the rule to update previous orders using a cron job.

Leaving this field empty will apply the rule to current orders without considering a specific time frame.

Save the Rule:

Once you have set the order status criteria and time frame, click on the “Save Rule” button to save your configuration.

By following these steps, you’ve created a rule that automates the completion of orders based on the specified order status criteria. The cron job will update orders within the defined time frame, completing the orders that match the selected status criteria. This can be useful for streamlining your order processing workflow in WooCommerce.