Cart Page "Continue Shopping" change destination

Hello i want to change the destination of the Continue Shopping Button. I dont want it to get me to my all products page, i just want it to close or to swend me back to my homepage. What can i do? I am using the Ride 2.0 Theme.

@hugo_ovb You are halfway there.

So if you meant only changing the continue shopping link in the cart page, then you are at the right section of code.

The text you have underline in red, inside the β€œβ€ replace it with your store URL. The one after href

If you change the first one, the underlined one, it will change the URL for when there are items int he cart.

And if you change the second one, it will change the URL for when the cart if empty.

So if you change both, it won’t matter if the cart is empty or not, it will redirect to home.

Check the highlighted text in my screenshot. I replace with my store demo url

You can check here https://kodekult-dev-001.myshopify.com/cart

password: kk

Hope this helps you.

1 Like

Hi @hugo_ovb ,

Please change code:

routes.all_products_collection_url

=>

routes.root_url

Hope it helps!

1 Like

Thanks a lot

1 Like

Hi @hugo_ovb ,

If it helped you solve your issue, please mark it as a solution. Thank you and good luck.