Users are seeking to redirect the “Continue Shopping” button in their Shopify cart to different destinations, primarily the homepage instead of the default products page.
Initial Solution Provided:
Locate the cart template file (cart.liquid or cart-template.liquid) in the theme code editor
Find the “continue_shopping” code section using search (CTRL/CMD + F)
Modify the href attribute to redirect as desired
For homepage redirect: change href value to just “/”
A screenshot was shared showing the specific code modification
Key Technical Points:
One user recommends using {{routes.root_url}} instead of hardcoding “/” for proper homepage redirection
A YouTube tutorial video was shared for Dawn theme users
Different themes (Minimal, Turbo, Craft, Monaco) have varying code structures, making the solution theme-dependent
Ongoing Issues:
Multiple users report their theme code looks different than examples provided
One user wants to redirect to a specific collection URL rather than homepage, seeking the correct Liquid syntax
Another user reports the “/” method doesn’t successfully redirect to homepage in their Monaco theme
The discussion remains open with unresolved questions about theme-specific implementations.
Summarized with AI on November 1.
AI used: claude-sonnet-4-5-20250929.
Hi, I would like to link the continue shopping button in the cart back to the home page instead of the products page in the Minimal theme. From previous posts I’ve got as far as finding some code in cart-template.liquid which looks like this.
I’m Miles from the Social Care team at Shopify. I’ll be happy to help you redirect your continue shopping button to “home” instead of product pages.
Go into your Shopify Admin and then click on Online Store > Themes and click on the “…” in the top right, and then click on edit code. Now click on cart.liquid (you might need to go further if noted like it might say you need to go to “/sections/cart-template.liquid”) and then look for the “continue_shopping” code. If you’re having trouble finding it, you can hit CTRL + F or CMD + F if you’re on a Mac and type in “continue” to find the code.
The piece you want to change is the “href = " part. You will want to delete everything between the quotation marks except for " /”. I took a screenshot here so you can see what it will look like!
If you’re still having issues, please let me know!
I have the Turbo theme and in the cart-template.liquid it looks totally different with no href=‘/’…how can I change the URL destination in this theme?..any help would be much appreciated.