I know this question has been asked a few times over the years with this post being the closest but I thought I'd check again to see if anyone may have solved the issue.
I'm trying to make the Cart Drawer on the Narrative theme toggle open whenever a product is added. There is the class ".ajax-cart__toggle" which can be applied to almost any element to make it a button that opens the cart but the "Add to Cart" update magic has to happen first before the Cart Drawer can toggle open. I tried tinkering around with my limited knowledge to no avail but perhaps someone could point me in the correct direction?
Any help is greatly appreciated! :)
Have you done custom coding properly? I think you something you have missed as you said you have used Narrative Theme it can be done.
If you need help on this please contact here: https://www.task4store.com/collections/product-page/products/add-cart-drawer
Hank here from Shopify.
This could be achieved through some coding for your theme. I see that you are getting some advice from @MS-WEB-DESIGNER with the coding but if you are finding that a bit tricky, there is another way.
As you are using Narrative which is a Shopify theme, our theme developers can also take a look at this for you once you select a plan. What I could do is reach out to you via email to verify your store and dig into this further for you if you prefer this option.
Another way you can do this if you prefer is to reach out to one of our Shopify Experts, who you can hire to do almost any custom work on your store. If you were to reach out to them about this query, they would also be able to resolve this issue for you.
Best of luck with the coding, but if you want our theme developers to look into this, please let me know!
All the best, -Hank
I've been looking for the same thing.
I'm working on Narrative theme and want to make add to cart point to the cart drawer immediately.
I'm not good at coding so could you help me with Shopify developers solution?
What I have done is emailed you with some further information, so once you confirm a few things for me, I will be able to take a closer look at this for you!