You Are Here...


How to change woocommerce return to shop link

TThemes February 21, 2023 No Comments

The filter to use is aptly named – woocommerce_return_to_shop_redirect – add in your themes functions.php

add_filter( 'woocommerce_return_to_shop_redirect', 'jw_woocommerce_shop_url' );
function jw_woocommerce_shop_url(){
return site_url() . '/product/my-product/';
/**Replace Link Here**/


Leave a Reply

Your email address will not be published. Required fields are marked *