There seems to be no callback for handling the bulk status updates, following code makes it work again (you can add this to your functions.php):
add_filter( 'handle_bulk_actions-edit-shop_order', 'svicky_handle_bulk_action_edit_shop_order', 10, 3 );
function svicky_handle_bulk_action_edit_shop_order( $redirect_to, $action, $post_ids ) {
if ( strpos($action,'mark_') === false ) {
return $redirect_to;
}
foreach ( $post_ids as $id ) {
$order = wc_get_order($id);
$order->update_status(str_replace('mark_','', $action));
}
return $redirect_to;
}
Hi @jasonmckenzie
Regarding your query where the bulk action tool is not working, we have checked that but for us, the bulk action tool is working properly and the order status is getting changed when changed using the bulk action tool.
It would be great if you can share with us the screenshots of the issue you are facing and of the settings page so that we can check that once and can help you in solving the issue.
Regards,
Shasvat shah.
I have the same problem. At the orders page if I select a few orders and change their status to a default status it changes, if I try to change to a custom status, it does not change.
Hi @rrd
As we mentioned that we have checked the bulk action tool but for us, the bulk action tool is working properly and the order status is getting changed when changed using the bulk action tool.
It would be great if you can share with us the screenshots of the issue you are facing and of the settings page so that we can check that once and can help you in solving the issue.
Regards,
Shasvat shah.