Hi everyone,
Does anyone know where I can edit the link in my Dawn 2.0 theme when a cart is empty? It currently points to https://www.domain.com/collections/all but I’d like it to go to https://www.domain.com/collections
Hi everyone,
Does anyone know where I can edit the link in my Dawn 2.0 theme when a cart is empty? It currently points to https://www.domain.com/collections/all but I’d like it to go to https://www.domain.com/collections
yes, please send your cart page
Thanks @KetanKumar , how do you mean send your cart page?
yes current cart page code so i will check and let you know
Hi @ccanning ,
You can “Continue Shopping” link on the cart page by editing your theme’s code. Before doing so, I do suggest trying this out in a duplicate version of your theme, just to be on the safe side.
From your Shopify admin, go to Online Store > Themes.
Find the theme you want to edit, and then click Actions > Edit code.
In the Sections directory, click **main-**cart-items.liquid.
Look for the “continue shopping” code. If you’re having trouble finding it, you can hit CTRL + F or CMD + F if you’re on a Mac and type in “continue” to find the code.
Replace {{ routes.all_products_collection_url }} with the URL that you want it to redirect to.
I hope it helps.
Thanks so much @AvadaCommerce , that has worked!