Is it something custom you would have to pay for? Thanks
Hi @lorenzo78,
we are currently developing an add-on for further order statuses – but this is not final and we can’t offer it for free. As soon as a release date is fixed we will inform you in the usual way. We hope for your support and understanding and hope you are not losing at this point.
Best regards,
Polyres-Team
/**
* Repeat Order for WooCommerce – show "Order Again" button for all statuses.
*
* @see https://wordpress.org/plugins/repeat-order-for-woocommerce/
*
* @hooked woocommerce_valid_order_statuses_for_order_again
*
* @param string[] $order_statuses The existing set of statuses whose orders the Order Again button will be shown beside.
*
* @return string[]
*/
function allow_all_order_statuses( array $order_statuses ): array {
$unprefixed_order_statuses = array_map(
function( string $prefixed_status ) {
return str_replace( 'wc-', '', $prefixed_status );
},
array_keys( wc_get_order_statuses() )
);
return $unprefixed_order_statuses;
}
add_filter( 'woocommerce_valid_order_statuses_for_order_again', 'allow_all_order_statuses' );