Hi, I created my shop page with the Avia Layout Builder. When you enter the cart page there is a button saying “back to shop” which leads you directly to the default shop page which I don’t use. Is there an option to create a link from the button to my shop page or – if that is not possible – to delete the button?
Thanks a lot
Hey nadinedomnink,
Try adding this code to the end of your functions.php file in Appearance > Editor:
function wc_empty_cart_redirect_url() {
return 'http://yourdomain.com/';
}
add_filter( 'woocommerce_return_to_shop_redirect', 'wc_empty_cart_redirect_url' );
Best regards,
Mike
Hi, do you mean: functions-enfold.php? See Screenshot. Sorry, I am a bit scared to crash everything ;-)
Nadine