Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to Cart button doesn't work in homepage, please help to sove this. #24

Open
momanyibiffon opened this issue May 1, 2020 · 4 comments

Comments

@momanyibiffon
Copy link

Hello, thank you for continuous support, I have an issue with JD New York template. When I click on add to cart button on the homepage it doesn't work, but when I check on Inspect, I see the following error:
Can someone help please?

Uncaught TypeError: Cannot read property 'showActivity' of undefined
at Object.Virtuemart.cartEffect (vmprices.js?vmver=55be5d0b:95)
at Object.Virtuemart.sendtocart (vmprices.js?vmver=55be5d0b:83)
at HTMLInputElement.Virtuemart.addtocart (vmprices.js?vmver=55be5d0b:222)
at HTMLInputElement.dispatch (jquery-3.4.1.min.js?1bd1daf091dc910898f3d7fdbabb78ee:2)
at HTMLInputElement.v.handle (jquery-3.4.1.min.js?1bd1daf091dc910898f3d7fdbabb78ee:2)
Virtuemart.cartEffect @ vmprices.js?vmver=55be5d0b:95
Virtuemart.sendtocart @ vmprices.js?vmver=55be5d0b:83
Virtuemart.addtocart @ vmprices.js?vmver=55be5d0b:222
dispatch @ jquery-3.4.1.min.js?1bd1daf091dc910898f3d7fdbabb78ee:2
v.handle @ jquery-3.4.1.min.js?1bd1daf091dc910898f3d7fdbabb78ee:2

@chetanmadaan
Copy link
Member

Did this started happening after you installed JD Builder?

@chetanmadaan
Copy link
Member

May be it's related to jQuery. Try the following fix: #22 (comment)

@momanyibiffon
Copy link
Author

The template comes with JD Builder already installed, in my shop page, the cart is working perfectly well, but in the homepage its not.

@chetanmadaan
Copy link
Member

Did you tried the fix mentioned above?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants