Changing "continue browsing" in empty shopping basket - Highlight theme

Solved

Changing "continue browsing" in empty shopping basket - Highlight theme

Zoltan4
Visitor
2 0 0

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!1cart.png

 

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

Accepted Solutions (2)
AnneLuo
Shopify Partner
1299 228 266

This is an accepted solution.

Hi. You need to find the <a> tag below and change the href to "/" as well.

AnneLuo_0-1714463387170.png

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

View solution in original post

ThePrimeWeb
Shopify Partner
2139 616 526

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

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!

View solution in original post

Replies 5 (5)

AnneLuo
Shopify Partner
1299 228 266

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!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

ThePrimeWeb
Shopify Partner
2139 616 526

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

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!
Zoltan4
Visitor
2 0 0

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

 

 

AnneLuo
Shopify Partner
1299 228 266

This is an accepted solution.

Hi. You need to find the <a> tag below and change the href to "/" as well.

AnneLuo_0-1714463387170.png

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

ThePrimeWeb
Shopify Partner
2139 616 526

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

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!