How can I edit the empty cart link in Dawn 2.0 theme?

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

1 Like

@ccanning

yes, please send your cart page

Thanks @KetanKumar , how do you mean send your cart page?

1 Like

@ccanning

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.

  1. From your Shopify admin, go to Online Store > Themes.

  2. Find the theme you want to edit, and then click Actions > Edit code.

  3. In the Sections directory, click **main-**cart-items.liquid.

  4. 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.

  5. Replace {{ routes.all_products_collection_url }} with the URL that you want it to redirect to.

I hope it helps.

1 Like

Thanks so much @AvadaCommerce , that has worked!