
VirtueMart “Add to cart” Button Doesn’t Work
This is most likely a Javascript conflict issue.
You have 2 options:
- Go to Components -> VirtueMart
- Click the Configuration button
- In the Checkout tab, untick the Display modal popup upon ‘Add to cart’ box
- Resolve the Javascript conflict. More details are available here: http://forum.virtuemart.net/index.php?topic=110349.0 and page 5 and page 6 here: http://forum.virtuemart.net/index.php?topic=101067.75
VirtueMart 2.0 Troubleshooting
[…] “Add to cart” button doesn’t work […]
NedeljskiH60
Thank you so much I was loosing my mind with this issue with cart!
Sara Thornton
Glad we could help!
Thanks for your feedback,
Sara
pratibha
This is a nice solution but for doing this we have to disable the popup box. So it cab be used as a temporary.
The actual problem is of java script conflict. Check the header section and try to fix java script or jquery which is loading.
Sara Thornton
Hi Pratibha,
Very true and thanks for your feedback. Yes, if your level of debugging is good enough, then by all means it is much better to address the Javascript conflict.
For anyone just needing a quick emergency workaround hopefully the above will suffice.
Thank you again for your post!
Best wishes,
Sara
Aaron T Barksdale
THANK YOU! I have scoured the VirtueMart forums and NO ONE seems to have been able to solve this simple problem. This is Precisely what fixed mine!
THANK YOU THANK YOU THANK YOU!!!!!
Sara Thornton
Our pleasure!
Thanks so much for letting us know Aaron – you’ve put a smile on our faces today 🙂
Have a great day!
Sara
AccessOtherPossibilities
Thank you I love you!!!
Sara Thornton
Happy to help! 🙂
Iyke
God bless you, this gave me a headache for a while but this fixed it.
Sara Thornton
Glad it helped!
Thanks for your feedback Iyke.
Pierre G Roy
Please take a look at products page. Need to correct size and position of AddToCart button
Sara Thornton
Hi Pierre,
Thanks for your post. If you’d like us to carry out bespoke changes on your website, please let me know and we’ll provide a quote for the work.
Best wishes,
Sara
Jen
Hi I’m using Virtuemart 3.08, the problem is the Add to cart button in all products seems to be not working, only in the bottom of the page in last product. Please help me find a solution on this?
Sara Thornton
Hi Jen,
Thanks for your post. Did you have any luck trying the instructions in the article above?
Zied
Hi,
I have the same error, the add to cart button and the quantity buttons are not working ONLY in product details page (featured, recent, etc… are working just fine)
I have tried your solution but it’s not working, can anyone help me please?
using Joomla: 3.6.4
Virtuemart: 3.0.18
Thanks in andvance
Sara Thornton
Hi Zied,
Thank you for your post.
Our original solution was written for VirtueMart 2.0, however the same root cause may still be present in VirtueMart 3.
Did you follow the suggestions to resolve Javascript errors mentioned here: http://forum.virtuemart.net/index.php?topic=110349.0 and page 5 and page 6 here: http://forum.virtuemart.net/index.php?topic=101067.75 ?
If you are having difficulty resolving the Javascript conflicts, jQueryEasy (https://extensions.joomla.org/extension/jquery-easy) should make the process easier.
To rule out the template as the cause of the issue, you may wish to try switching to a Joomla default template and see if the problem is still there.
I hope this is helpful,
Sara
Mark McNamara
Like Sara, you really saved me a ot of time and energy.
Thanks and or bet wishes go out to you!
Sara Thornton
Happy to help Mark, and thanks for your feedback!