Virtuemart Logo

VirtueMart “Add to cart” Button Doesn’t Work

This is most likely a Javascript conflict issue.

You have 2 options:

  1. Go to Components -> VirtueMart
  2. Click the Configuration button
  3. In the Checkout tab, untick the Display modal popup upon ‘Add to cart’ box
  4. Resolve the Javascript conflict.  More details are available here: and page 5 and page 6 here:

Discover More VirtueMart Troubleshooting Solutions

This entry was posted in VirtueMart on by .

About Sara Thornton

Sara is a Jack (or Jill) of many trades. A web designer and developer, an ethical SEO implementer, an AdWords advocate, as well as being our in house user-guide creator and trainer. In her spare time she loves a bendy/stretchy yoga session, and feels most happy when she's near the ocean (ideally with a ridiculously absorbing book).

Leave a Reply

Your email address will not be published. Required fields are marked *

19 thoughts on “VirtueMart “Add to cart” Button Doesn’t Work

  1. Pingback: VirtueMart 2.0 Troubleshooting

  2. 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.

    1. Sara Thornton Post author

      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,

    1. Sara Thornton Post author

      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,

  3. 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?

  4. Zied

    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

    1. Sara Thornton Post author

      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: and page 5 and page 6 here: ?

      If you are having difficulty resolving the Javascript conflicts, jQueryEasy ( 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,