VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: livewisely 2020 on March 24, 2016, 20:54:11 PM

Title: empty shopping cart
Post by: livewisely 2020 on March 24, 2016, 20:54:11 PM
The shopping cart on my newly installed virtuemart v. 3.0.14 is always showing up empty. Secondly the "add to cart button" does not seem to be working as well.


Can someone please help?

website is: www.livewisely2020.com/index.php/shop
Joomla version: 3.5
php version: 5.5.3
Title: Re: empty shopping cart
Post by: GJC Web Design on March 24, 2016, 21:35:29 PM
you have a JS error that is stopping the cart working

TypeError: $(...).vm2front is not a function

first try with the std template to see if it your templates problem
Title: Re: empty shopping cart
Post by: livewisely 2020 on March 24, 2016, 22:13:38 PM
if you're referring to the standard joomla template that did not work. Changed it to my website template as well and that did not work. Any other suggestions?
Title: Re: empty shopping cart
Post by: jenkinhill on March 24, 2016, 23:41:51 PM
You are loading two jQuery libraries, correct V1.11.3 with VirtueMart and then the much older V1.8.1 which looks like it is causing a problem. The header loading code is
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js" type="text/javascript"></script>   so try to find out what is using this (it is not VM) and prevent it loading.
Title: Re: empty shopping cart
Post by: livewisely 2020 on March 25, 2016, 03:03:32 AM
Thanks kelvin. Can you fix this for me?