How to stop redirecting to cart page when adding product to cart

Packo
New Member
9 0 0

I have this weird behaviour when I add the product to cart it redirects me to cart page instead of opening the cart drawer on the right site. Interestingly enough on mobile I won't get redirected and the drawer will appear as expected. Any ideas on how to fix this?

Site: https://vajp85awfxpnxlut-46295777437.shopifypreview.com

0 Likes
CANDISOFT
Shopify Partner
1103 146 480

hey @Packo , I can fix your issue if you let me see codes of your site.

If helpful, Please Like and accept The Solution.
0 Likes
Packo
New Member
9 0 0

How do I do that

 

0 Likes
Packo
New Member
9 0 0

I check the console in chrome and I get some error:

theme.js?v=17807274406108055953:9 Uncaught TypeError: Cannot read property 'addClass' of undefined
    at Object.loadCart [as onDrawerOpen] (theme.js?v=17807274406108055953:9)
    at Drawer.timber.Drawers.Drawer.open (theme.js?v=17807274406108055953:9)
    at HTMLAnchorElement.f (jquery-2.2.3.min.js?v=5821186314690718683:2)
    at HTMLAnchorElement.dispatch (jquery-2.2.3.min.js?v=5821186314690718683:3)
    at HTMLAnchorElement.r.handle (jquery-2.2.3.min.js?v=5821186314690718683:3)

 I don't have this kind of error on this same exact theme. I don't know what did I type wrong.

0 Likes
CANDISOFT
Shopify Partner
1103 146 480

@Packo , you can add me as a staff using below email id in your store to fix your issue.
candisoft100@gmail.com 

If helpful, Please Like and accept The Solution.
0 Likes