Debut Theme - need "continue shopping" to point to home page, not products page

Solved
Highlighted
Excursionist
57 1 8

Not sure how or where to edit the code so that instead of going to the products page, it takes the buyer back to the home page, where the entire collection is.

0 Likes
Highlighted
Shopify Partner
5 1 2

This is an accepted solution.

You must edit the code for the Debut theme as this is not a setting available anywhere else in the admin. 

 

Look in the Sections folder for a file called cart-template.liquid.

 

In that file you can modify these lines from this:

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

 

to this:

<a href="/" class="text-link text-link--accent">
{{ 'cart.general.continue_shopping' | t }}
</a>

 

Hope this helps. Feel free to email me directly if you'd like me to give you a hand. 

0 Likes
Highlighted
Excursionist
57 1 8

Thank you so much, that worked.

0 Likes
Highlighted
New Member
1 0 0

Hello, I wanted to see if you could help me with a similar problem. I want the "continue shopping" link to direct my customers back to a page that has my full wholesale catalog (i'm using a app for this page). This is the app i'm using Wholesale Order Form & ReOrder. 

Do you by chance know the code for this?  I also have Debut Theme installed. 

0 Likes
Highlighted
New Member
1 0 0

hi jerry!

I have the same problem, but i'd like for the link to be routed to the previous collections page. What's the code for that?

For example, customer was browsing Home page > Shop > Dress collection > picked a dress > add to cart > when in cart, clicks the "Continue shopping button". Then customer will be directed to Dress collection.

Thanks!

0 Likes