Please add the following snippet to your child theme’s functions.php or through the code snippets plugin. Please don’t forget to update the $URL to match the wholesale ordering page on your website.
add_filter('woocommerce_return_to_shop_redirect','change_return_shop_url');
function change_return_shop_url($URL) {
global $wc_wholesale_prices_premium;
$user_wholesale_role = $wc_wholesale_prices_premium->wwpp_wholesale_roles->getUserWholesaleRole();
if(!empty($user_wholesale_role)){
//update the URL to the link of your wholesale ordering
$URL = 'https://wholesalesuiteplugin.com';
}
return $URL;
}
If you need help setting it up please reach out to us via our support form Support Request Form – WooCommerce Wholesale Suite (wholesalesuiteplugin.com)