Support » Plugin: WooCommerce » Change "Continue Shopping" URL

  • When a user clicks the “Add to Cart” button, they are re-directed to the cart page and a nice confirmation message pops out at the top of the page. Within this message is a link button that is labeled “Continue Shopping”. When it’s clicked, user is taken back to the single product page of the item that was just added to the cart.

    I would like to change this to return the user to the shop page, but I haven’t found the correct way to do it.

    Any thoughts?

    Thanks in advance!


Viewing 1 replies (of 1 total)
  • Found a hack solution:

    In woocommerce-functions.php, Line 493, at the end of the line, I changed the “true” condition from wp_get_referer() to home_url() and I appended the string ‘/my_shop_page/’.

    I know it’s not the ideal solution, but it worked for me.

Viewing 1 replies (of 1 total)
  • The topic ‘Change "Continue Shopping" URL’ is closed to new replies.