Shopify themes, liquid, logos, and UX
Hello guys,
When I empty the cart and hit "continue browsing," it goes to the product collection; while I want that actually goes to my homepage. Please check the attachment!
If I understood well, it should be change here but I am not sure what should go instead
<a href="{{ routes.all_products_collection_url }}" class="button button--solid button--align">.
May I ask for a confirmation that I am on the right path and how should be updated the link from above.
Thanks!
Zoltan
Solved! Go to the solution
This is an accepted solution.
Hi. You need to find the <a> tag below and change the href to "/" as well.
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
This is an accepted solution.
Hey @Zoltan4,
That means there's two codes you need to replace. Look for another code that has {{ routes.all_products_collection_url }} within itseld and replace it with {{ routes.root_url }}
Search for
<div class="cart-continue">
and you should see the second code below it
Change the code like this
<a href="/" class="button button--solid button--align">
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Hey @Zoltan4,
Replace it with
<a href="{{ routes.root_url }}" class="button button--solid button--align">
{{ routes.root_url }} is Shopify's method of routing to homepage, you can also just type "/", but better to do it the way Shopify recommends as they may change things for their own methods and you will automatically stay updated
Hi there,
Thank you for the clarification. Still, this does not seem to solve my issue. The website where I want to fix the cart "continue browsing" link is https://atelierkallehellzen.com/.
Please check the loom - https://www.loom.com/share/9a59740ed82b42aa9cc180dc77bb3d87
thank you,
Zoltan
This is an accepted solution.
Hi. You need to find the <a> tag below and change the href to "/" as well.
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
This is an accepted solution.
Hey @Zoltan4,
That means there's two codes you need to replace. Look for another code that has {{ routes.all_products_collection_url }} within itseld and replace it with {{ routes.root_url }}
Search for
<div class="cart-continue">
and you should see the second code below it
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025