WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Change "Continue Shopping" URL (2 posts)

  1. lenglish01
    Member
    Posted 9 months ago #

    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!

    Lane

    http://wordpress.org/plugins/woocommerce/

  2. lenglish01
    Member
    Posted 9 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic