Redirect link from “continue shopping” button in shopping cart to the product page - Dawn Theme

Hello,

I would like the “continue shopping” button to redirect to my main product page rather than to the collection as I only have one product at the moment.

I haven’t found how to do this on the Dawn theme.

Here is my website’s link: https://ancestraathletes.com

If anyone knows the solution it would be great!

Thanks

Hello @Ebunoluwa ,

Thank you for taking teh time to respond, for now I can not hire a shopify expert so I’m content to do the manipulations as I can with the information I find on the internet but I may think of contacting you later.*

Thanks again

Hi @Julietteweb ,

Please go to Actions > Edit code > sections > main-cart-items.liquid file. You just need to change the link here, it will work fine:

1 Like

Hello @namphan

Thank you for taking the time to respond !

I need my product page link for that and it’s note the classic one (https://...). I need the one that the code can use. Where do I find the url of my product page on shopify. I didn’t found it.

Hi @Julietteweb ,

You can refer: {{ all_products[‘handle’].url }} with handle is handle product.

I hope it helps!

I tried but nothing happened

Hi @Julietteweb ,

Please add the same code as I showed, there are no routes.

It will work fine

1 Like

@namphan

Thank you again,

It doesn’t work. I added your code and the name of my main product

Hi @Julietteweb ,

I changed it, please check and let me know:

1 Like

Hello @namphan

It works perfectly.
Thank you for helping me again! :)))

1 Like