Why isn't my HTML script change affecting the 'continue shopping' redirect in Dawn theme?

Greetings,

I need some help figuring out the url redirect when customer clicks on continue shopping from the cart. I have tried changing the HTML code in the edit code section for Dawn theme, but it is not making any difference at all. I have included a screenshot. I would be really helpful if someone can help me understand why the HTML script change is not working.

Thank you!

1 Like

@gauravt

Please share your store URL and a screenshot of what you want!

Thanks!

@gauravt hi,

Depending on your theme, search the code referring to the link on card.

This example for a return link:

{{ 'cart.general.continue_shopping' | t }}
  • I recommend placing your page address for a better understanding of your problem and proposing a solution.

Hi @gauravt

Please follow the instructions below to change the link for the continue shopping in Dawn theme.

  1. From you Admin page, go to Online store > Themes > Click the three dots on the theme you want to edit > Edit code
  2. Go to Section folder and open the main-cart-items.liquid file
  3. Find the two {{ routes.all_products_collection_url }}, and change it to the link you want

See image for reference