Simple Theme: Change Cart Continue Shopping Destination to Home page

Solved
Highlighted
New Member
4 0 0

When cart is empty, I'd like to have the "Continue Shopping Here" link go to the home page rather than all products collection.

 

Looks like line 183 in cart.liquid is where I'd need to change it:

 

<p class="cart--continue-message">{{ 'cart.general.continue_browsing_html' | t: link: routes.all_products_collection_url }}</p>

Thanks

0 Likes
Highlighted
Shopify Expert
3483 543 820

This is an accepted solution.

Hi @stephendancey 

You can replace it wby following:

<p class="cart--continue-message"><a href="/"> Continue Shopping</a></p>
Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
1 Like
Highlighted
Shopify Staff
Shopify Staff
426 56 77

Hi, @stephendancey,

Hank here from Shopify.

I see you have some great feedback from @Jasoliya, so be sure to let them know if that works for you!

But as you are using a Shopify theme and if you do need further assistance with this, let me know and I can follow this up for you with our theme developers!

 

All the best, Hank

Hank | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

0 Likes
New Member
4 0 0

Perfect, thank you. 

And if I wanted to do something similar with the 'Continue Shopping' button in the cart to go back to home page after they've added an item?

Would it be something in line 167:

<a class="btn btn--secondary" href="{{ routes.all_products_collection_url }}">{{ 'cart.general.continue_shopping' | t }}</a>

0 Likes
Highlighted
New Member
4 0 0

Thanks

0 Likes