VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: edogden on September 23, 2013, 12:58:28 PM

Title: chosen JS error in cart
Post by: edogden on September 23, 2013, 12:58:28 PM
Hi All,

I am having problems with my cart.
I get this error...

Uncaught TypeError: Object [object Object] has no method 'chosen' - cart.html?Itemid=186:71
(anonymous function) - cart.html?Itemid=186:71
l - jquery-1.8.3.min.js:2
c.fireWith - jquery-1.8.3.min.js:2
v.extend.ready - jquery-1.8.3.min.js:2
A - jquery-1.8.3.min.js:2


The site is running VM 2.0.22c Joomla 2.5.14 and I'm also using a component called Calc Builder by Moonsoft
http://sbp.empire-webdesigns.com/component/virtuemart/cart.html (http://sbp.empire-webdesigns.com/component/virtuemart/cart.html)

If anyone can help I would appreciate it

Thanks
Title: Re: chosen JS error in cart
Post by: jenkinhill on September 23, 2013, 13:08:22 PM
Don't load jQuery 1.8.3 (the calc builder one) - VM loads 1.6.4 before all other js files and errors when jQ1.8.x is present.  Also see http://forum.virtuemart.net/index.php?topic=111843.0
Title: Re: chosen JS error in cart
Post by: edogden on September 23, 2013, 14:17:25 PM
Hi jenkinhill,

Thanks for the help but calc builder stopped working when I did this!
I am going to ask calc builder if they have a fix!

I also tried jquery easy but I get the same error as before :(
Title: Re: chosen JS error in cart
Post by: edogden on September 23, 2013, 15:41:20 PM
Hi,

OK I have applied a fix but I'm not sure if vm will work fully or not?

I have updated the vm jquery file with jquery 1.8.3 and no errors have shown!
Title: Re: chosen JS error in cart
Post by: jenkinhill on September 23, 2013, 15:43:29 PM
There are some parts that will not work - but I cant remember where. ISTR one issue is with fancybox.  I know this has been discussed for updating to 1.8 in a future release. Just make sure you check that all the functions you require are OK.