how to change 'continue shopping' link from Your Cart page?

Solved
BBT206
New Member
4 0 0

I am using the Debut theme. That link takes the customer to the ALL Products page but i don't want the customer to see all of my products. How can i change that link to my collections Page instead? 

0 Likes
manhdo
Shopify Partner
9 1 5

This is an accepted solution.

You following path

Online Store->Theme->Edit code->sections->cart-template.liquid

and replace the code by the url you want.

{{ routes.all_products_collection_url }}



BBT206
New Member
4 0 0

thanks!! that worked

0 Likes
MarjatiL
Tourist
6 1 0

I just tried that, but I get an error message:

MarjatiL_0-1595585500453.png

Am I inserting the link wrong?

Nevermind, I didn't knew I had to delete the {{ }} too. It looks now like this:

<a href="https://freshmax.shop/collections/selai-bebas-gula" class="text-link text-link--accent">

and it works.

Thanks!

0 Likes
TierraAb0de
Excursionist
19 2 1

Hello

 

What would the code be to return the person to the same collection of the product they just placed in the cart? 

 

Thanks in advance

0 Likes
MarjatiL
Tourist
6 1 0
Please switch back in the menu or change the number of articles in the field

0 Likes
lizzaarrdd
Tourist
5 0 3

Hi! I am also using Debut. On my site the 'continue shopping' button only after you remove items from your cart and that button appears, it takes you to the homepage instead of the products page. When you have something in your cart the 'continue shopping' button works just fine. Anyway to fix it so when the cart has been updated to empty and the 'continue shopping' button appears it takes you back to the products and not the homepage?

 

https://rosinstudios.com/

 

Thanks!

0 Likes