On the cart page, when I click on continue shopping, it goes back to the last item I put in the cart. I would like it to go back to the store or to the category. I can't see where to change this. Can you help?
Hi Janet,
As you mentioned the Continue Shopping button will return the customer to the product page of the product they just added.
It takes a snippet of custom code to
You can add this code to your theme's funcitons.php file to always return back to your shop file:
add_filter('woocommerce_continue_shopping_redirect', 'growdev_return_to_shop' );
function growdev_return_to_shop () {
return wc_get_page_permalink( 'shop' );
}
Thanks, Daniel. Based on all my questions, you probably figured out that I am tech challenged. I don’t know how to do what you are suggesting although I get the idea.