manbru
November 8, 2024, 4:39pm
1
Hello,
When pressing the add to cart button It directs you to the cart page, but I want it to open the cart drawer. And the weird thing is that’s it selected to open the drawer but it dosen’t do so??
I screen recorded it here so you can see: https://imgur.com/a/PwIpXpL
My product page: https://r1vex.myshopify.com/products/lindberg-alunda-tossor-rosa?variant=50628336910662
Thanks for helping!
Hi @manbru
You can change settings in Sale channels > Online Store > Themes > Customize > Theme settings > Cart > select option Drawer
manbru
November 8, 2024, 5:12pm
3
yes that is what i’ve selected, if you watched my screen record
But still doesn’t open the drawer?
You are using custom Add to cart button, not Buy button of the them that is why it is not open cart drawer
Hey @manbru since that approach didn’t work, I’d suggest trying this solution from an ex-Shopify community thread which involves using an app https://community.shopify.com/post/1601593
Hopefully, that should be able to sort it out.
manbru
November 8, 2024, 6:43pm
6
I found the code for the button, but not sure how to make it open the cart drawer instead: