joomdev / JD-Builder

JD Builder - Experience the Next Generation of Joomla Page Builder.
https://www.joomdev.com/jd-builder
GNU General Public License v3.0
22 stars 16 forks source link

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

Open momanyibiffon opened 4 years ago

momanyibiffon commented 4 years ago

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 commented 4 years ago

Did this started happening after you installed JD Builder?

chetanmadaan commented 4 years ago

May be it's related to jQuery. Try the following fix: https://github.com/joomdev/JD-Builder/issues/22#issuecomment-620240575

momanyibiffon commented 4 years ago

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 commented 4 years ago

Did you tried the fix mentioned above?