VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: fulleffect on October 15, 2013, 11:02:56 AM

Title: Can't add products to cart
Post by: fulleffect on October 15, 2013, 11:02:56 AM
Hello,

I have installed virtuemart 2.0.24 on joomla 2.5.14.

When i try to add a product in the shopping cart, vm redirect to the shopping cart page witch stays blank (no info about the added product, or what so ever)

the link of the new website is http://www.partykledinghuren.nl/verhuur . I changed the "add" button to "reserveren" ;-)
Title: Re: Can't add products to cart
Post by: jenkinhill on October 15, 2013, 18:24:57 PM
First you are loading two jQuery libraries which can cause issues. First you correctly load the VirtueMart required jQuery

<script src="/verhuur/components/com_virtuemart/assets/js/jquery.min.js" type="text/javascript"></script>
<script src="/verhuur/components/com_virtuemart/assets/js/jquery.noConflict.js" type="text/javascript"></script>

And then you load another version (I have no idea what that one is for):

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script>
<script src="/verhuur/templates/ol_logez/scripts/noconflict.js" type="text/javascript"></script>

The IE10 thws an error with add to cart:
Line: 87
Error: Object doesn't support property or method 'fancybox'

This will stop the add to cart function. I suspect it is a conflict with jQuery 1.8.3 that is causing the problem, so there are two options. I'd start by removing that horrible gallery module from the product detail pages to see if that solves it.
Or in Configuration/Templates/Activate Css Styles & Javascripts deselect Use Fancybox so that Facebox will be used instead.

Also look at http://forum.virtuemart.net/index.php?topic=111843.0

Title: Re: Can't add products to cart
Post by: dragsliv on June 30, 2016, 10:03:47 AM
I'm sorry to resurrect an old thread but I need help with my store. I can't get the products to work correctly.
The address is: http://sklep.jns.pl/

When I try to add products to cart it sometimes works and sometimes doesn't. I read previous posts about this issue but the fixes given didn't really help. Could someone help me with this?

Edit:
VirtueMart 3.0.16
Joomla! 3.4.8
Title: Re: Can't add products to cart
Post by: GJC Web Design on June 30, 2016, 13:25:14 PM
These issues are 99% template related

I see your using the excellent Horme template which is well supported-- ask on the Olympian forum for support