Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #858972

    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

    http://www.paukersliebling.de/cart/

    https://ibb.co/mmgELb

    #858998

    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

    #859169

    Hi, do you mean: functions-enfold.php? See Screenshot. Sorry, I am a bit scared to crash everything ;-)

    Nadine

    #859463

    Hi,

    Mike wrote: functions.php, in the theme. Please try it there. Don’t forget to replace the example URL with your own.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.