How do I change my 'CONTINUE SHOPPING' link destination. It currently links to the 'COLLECTIONS/ALL' page but I would prefer it to link to the collection in which they had previously been in.
For example: User is browsing collection 'Girls 11-12 years' --> Selects a product --> Adds to cart --> Continue Shopping --> 'Girls 11-12 years'
I'm using Simple theme
Solved! Go to the solution
This is an accepted solution.
Hi, @discount85 !
Katy here from Shopify. I hope all is well with you!
Great question! You can make this change by adjusting your theme's code once again. Before doing so, I do suggest to try this out in a duplicate version of your theme, just to be on the safe side.
I hope this helps, though if you have any questions or need a hand at all, do feel free to let me know. I am happy to help.
Please note: This account is no longer regularly monitored.
- If you need assistance please do start a new topic (referencing an older topic/post if you find this helpful).
- Thank you for your understanding. We hope you enjoy exploring the Community.
- To learn more visit the Shopify Help Center or the Shopify Blog.
I also had an email from a customer asking why the Continue Shopping button didn't take them back to where they came from.
So I followed the tutorial (https://shopify.dev/tutorials/customize-theme-add-back-link#add-a-continue-shopping-link-to-your-car...).
I'm no coder, but the simple instructions made it appear easy.
However, having pasted the code into the right files and in the right places, it doesn't make any difference.
The shopper is taken back to the top of our All Products page.
Any help or advice would be most welcome.
We are using the Minimal theme
I tried moving the code in cart.template.liquid around (before and after the button code but all this did was move the position of the button around.
I was able to get an unbuttoned "continue shopping" link to appear and link back to the correct place, but without styling and also with the exiting "Continue shopping" button still in existance.
I'm no coder, but I think the "how to" piece is making it look a lot easier than it actually is.