Hello!
I want to change the destination of the “continue shopping” button from “products” to a chosen collection.
How can I achieve this? Theme Spotlight.
my website: www.elysiumreads.com
Hello!
I want to change the destination of the “continue shopping” button from “products” to a chosen collection.
How can I achieve this? Theme Spotlight.
my website: www.elysiumreads.com
Hey @starscream911
You will have to change the href link from your theme files if you wanna change the link, I’m not exactly sure about the file name but it should be something like cart.drawer.liquid. Feel free to let me know if you want me to help you out with that and I’ll be more than happy to give you a helping hand.
Best Regards,
Moeed
Just tried it and it doesn’t work.
Hi @starscream911 ,
I hope you are doing well
I noticed that you want to change the link when clicking on the “Continue Shopping” button.
I checked on the cart page, and there are two instances:
When the cart is empty, there’s this button:
Screenshot 1
The code location is here:
Screenshot 2
When there is an item in the cart, there’s this button:
Screenshot 3
The code location is here:
Screenshot 4
Both instances are in the same file: main-cart-items.liquid.
To update the link to the desired collection:
I hope this helps! Let me know if you have any questions!
Best regards,
Daisy
Hello! Did exactly as you told me, but it didn’t work.
For some reason the link I paste do not work properly. Check screenshots.
Could you please confirm if I’m editing the correct button? If I’m not mistaken, this is the “Continue” button you mentioned, correct? Screenshot.
If that’s correct, please follow these steps to change the destination:
Cart.drawer.liquid
.{{...}}
with /collections/all-products
, as needed https://prnt.sc/JTShfanb_NGHHope this helps! Let me know if you have any questions.
Best,
Daisy
can you please answer me?
Hi @starscream911
I see you have 2 cart-drawer.liquid file, could you please find it in the below cart-drawer.liquid?
Best,
Daisy
okay, cart-drawer.liquid. now what?
Hello! Can you respond please?
yes. what should i do now?
If you found it, please follow the guide I provide above
Please follow these steps to change the destination:
Cart.drawer.liquid
.{{...}}
with part of the URL after the domain you want to redirect to, as needed https://prnt.sc/JTShfanb_NGHBest,
Daisy
It worked. Thank you!
Hi there,
I just tried this, I changed:
{{ 'general.continue_shopping' | t }}to:
{{- 'icon-close.svg' | inline_asset_content -}} {{ 'general.continue_shopping' | t }}My continue shopping button on the thank you page still goes to https://store.onetime.sport/.
I’m using Dawn - any ideas.
Thanks for the help!