Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3515331
Changing the page after adding a product to the cart
Closed

Comments

  •  11
    LillaGreen started the conversation

    Hi, after adding a product to the cart, there is a button called "continue shopping" - when clicking on the button, I'm automatically sent to the page of the product that I already have added to the cart. Can I change where customers are going after clicking on the "continue shopping" button?Thank you

  •  2,610
    PenciDesign replied

    Hi,

    You should insert this code either into the functions.php file of the child theme or by using the CodeSnippet plugin available here: https://wordpress.org/plugins/code-snippets/

    add_filter( 'woocommerce_continue_shopping_redirect', 'wc_custom_redirect_continue_shopping' );
    function wc_custom_redirect_continue_shopping() {
      //return your desired link here.
      return 'http://www.yourwebsite.com/location';
    }

    Regards,
    PenciDesign.


  •  11
    LillaGreen replied

    Thank you!!