Why isn't my Cart Drawer opening in my Liquid theme build?

Shopify Partner
1 0 0
I am building a theme with Liquid and I have followed 2 tutorials to open the cart as a drawer (modal), and I can't get it to work. I think it's related to the events not being prevented accordingly because I get redirected to '/cart' instead of opening the modal (adding the class 'mini-cart-open'.

I would appreciate any help.




I tried following the tutorials accordingly and ended up just literally copying everything so I later modify it to fit my design but it won't work.

Replies 0 (0)