How to Automatically Process and Complete Orders Using WooCommerce Autocomplete Orders?

Processing and Completing Orders Automatically

To automatically process and complete orders using WooCommerce AutoComplete Orders, follow these steps:

Access AutoComplete Orders:

  • Navigate to your WooCommerce dashboard. Click on “AutoComplete Orders.”

View Existing Rules:

  • Review a complete list of all autocomplete order rules in the log.
  • Perform bulk actions such as editing or deleting rules.
  • Apply filters based on the date.
  • Search for existing rules using the search bar.

Add New Rule:

  • Click on “Add New Rule” to create unlimited autocomplete order rules.
  • Provide a title for the rule.

Restricting Rules Based on Order Status:

  • Order Restrictions: Choose the order status criteria from options like:
    • Pending Payment
    • Processing
    • On hold
    • Cancelled
    • Refunded
    • Failed
    • Draft
  • Select Days: 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.

Restricting Rules Based on Users:

  • User Restrictions: Choose from user roles (Leave them empty to apply the rule for all users)
    • Administrator
    • Editor
    • Author
    • Contributor
    • Subscriber
    • Customer
    • Shop manager
    • Wholesale
    • B2B
    • Retailer
    • Guest
  • Specific Users: Select specific users
  • Apply to Returning Customers: Enable the checkbox to update the status only for customers who have placed an order in the past.

Restricting Rule Based on Region:

Country Restrictions: Specify countries and states where the rule should apply.

Leave them empty to apply the rule globally.

Restricting Rule Based on Shipping & Payment Methods:

  • Methods Restrictions: Select specific shipping and payment methods or leave them empty to apply to all.

Restricting Rules Based on Products:

  • Product Restrictions: Apply the rule to specific products, product types, categories, or tags. Leave all fields empty to apply the rule to all products.

Rule Priority:

  • Specify the order in which this rule should be applied if you have multiple rules.

Configuring Cron Job for AutoComplete Orders:

Go to WooCommerce > Settings > AutoComplete Orders.

  • Enable the cron job to automate order status updates for previous orders.
  • Specify the schedule for the cron job to apply to orders.

By following these steps, WooCommerce will automatically process and complete orders based on the rules you’ve configured in the AutoComplete Orders settings. The cron job ensures timely updates for previous orders according to your specified schedule.