VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: Tikkiro on January 05, 2016, 17:19:23 PM

Title: ANother "Add to cart not working" query -
Post by: Tikkiro on January 05, 2016, 17:19:23 PM
Having trawled through search results it seems like this problem isn't new but as often happens the reason for it can vary from person to person.

I'm unsure exactly when mine occured as I (errantly) don't keep as close an eye on the Frontend of the site as the Admin & it was only after realising it had been months (!!) since I'd had an order from the site that I wondered if there was a problem.  So I can't state which update changed things only that certainly last May/June time, all was fine (& I keep the site fairly speedily updated). 

Basically it's the same as some others have reported in that the Add to cart doesn't work & there are no shipment suggestions.  I know there is a template error sitting on some element of the shop process but it seems to only show itself the odd time & I'm unsure if it's related to this problem or something separate.

I've no idea in the least about JQuery things -so couldn't even start trying to work my way through some of the fixes relating to that - and couldn't find any MooTools plugins as someone else had mentioned causing an issue.

Site is at http://www.kitsandcards.co.uk/ (http://www.kitsandcards.co.uk/)

Site info:

PHP Built On    Linux web111.extendcp.co.uk 2.6.32-573.7.1.el6.x86_64 #1 SMP Thu Sep 10 13:42:16 EDT 2015 x86_64
Database Version    5.5.35
Database Collation    latin1_swedish_ci
PHP Version    5.5.30
Web Server    Apache/2.4.16 (Unix)
WebServer to PHP Interface    cgi-fcgi
Joomla! Version    Joomla! 3.4.8 Stable [ Ember ] 24-December-2015 19:30 GMT
Joomla! Platform Version    Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0

Thanks as ever :)
Title: Re: ANother "Add to cart not working" query -
Post by: GJC Web Design on January 05, 2016, 17:41:14 PM
yes-- you have on all pages

TypeError: jQuery(...).live is not a function
   

jQuery("body").live("updateVirtueMartCartModule", function(e) {

you don't say what VM version or if 3rd party cart module etc
Title: Re: ANother "Add to cart not working" query -
Post by: jenkinhill on January 05, 2016, 17:54:30 PM
Maybe related to that error, you are loading two jQuery versions, the correct VM one and than your Joomla template loads an older version:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>

It may help if you prevent the template loading that file.