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
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'; }
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
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/
Regards,
PenciDesign.
Thank you!!