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: 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

 
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.

    Reply
    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,
      Sara

      Reply
    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,
      Sara

      Reply
  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?

    Reply
  4. 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

    Reply
    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: 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

      Reply