How to customize the order statuses used when auto-assigning drivers

31 seconds

When the Delivery Drivers for WooCommerce Pro plugin auto-assigns a driver, it’ll check the order statuses and only assign a driver if the order status is set to Processing.

There’s a filter included that allows you to customize the order statuses used when auto-assigning a driver.

ddwc_pro_assign_drivers_order_statuses

The code snippet below can be copied to your theme functions.php file, and line #15 can be changed to the order status of your choice, for instance “on-hold”.

https://gist.github.com/robertdevore/8da936c49505bd6c2dec649a8407bb1d

View all filters for the Delivery Drivers for WooCommerce Pro plugin.

Was this article helpful?