Comments 14Sergio started the conversationMay 9, 2024 at 1:25pmHello,It'd be great if we can disable "Order again" button in b2bking settings.we're using another plugin for it.regards,Sergio 2,214WebWizards repliedMay 9, 2024 at 6:24pmHello Sergio,I believe you can disable that by adding the following PHP code snippet to your site: add_filter('woocommerce_valid_order_statuses_for_order_again', function($array){ return array('disabled'); }, 10, 1); This snippet can be added to functions.php, or by following our guide here: https://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/Kind regards,Stefan1 Like 14Sergio repliedMay 14, 2024 at 4:04pmThank you!1 Like Sign in to reply ...
Hello,
It'd be great if we can disable "Order again" button in b2bking settings.
we're using another plugin for it.
regards,
Sergio
Hello Sergio,
I believe you can disable that by adding the following PHP code snippet to your site:
This snippet can be added to functions.php, or by following our guide here: https://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/
Kind regards,
Stefan
Thank you!