• Resolved élisson Costa

    (@nossileee)


    Hello,

    After I have added a product to the cart, I would like to know how I can change the “continue shopping” button link, so that instead of returning to the newly purchased product, go back to the website’s Home?

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • There’s a filter for this, so:

    add_filter( 'woocommerce_continue_shopping_redirect', 'go_home' );
    function go_home() {
      return 'https://www.boottrainingbrasil.com.br/';
    }
    Thread Starter élisson Costa

    (@nossileee)

    Hello,

    It worked perfectly, I installed the “Code Snippets” plugin, created a setup you sent and everything worked out.

    Thank you very much.

    That’s great! We are glad to hear it worked for you.

    I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new one.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change URL Button continue shopping to Home’ is closed to new replies.