VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: nino59 on November 23, 2012, 11:49:08 AM

Title: When I add a product, nothing happen
Post by: nino59 on November 23, 2012, 11:49:08 AM
Hi,

I have j2.5.6 + virtuemart 2.0.14.
When I add a product, nothing happen. IN javascript console I have:
"Uncaught TypeError: Cannot read property 'settings' of undefined  in "vmprices.js".

Someone can help me?
Title: Re: When I add a product, nothing happen
Post by: bytelord on November 23, 2012, 14:21:59 PM
Hello,

It is a javascript conflict that is not related to vm but related how your site works and how many components or templates you have installed that uses jquery and load more than once jquery library. You will find a lot of posts on the forum regarding those issues. Please check your site header using firebug and check what javascript you are loading and try to fix it. Also you will be nice if you could post here a live url so be able someone test your site and help you out to resolve it.
Best way always is to test with joomla beez20 template and vm default template to see if the conflicts exists, if yes, then maybe a component or module or plugin loads some "bad" javascript that produces conflicts.

Use firebug to examine your site code and styling .. also for checking js conflicts ...
http://forum.virtuemart.net/index.php?topic=102850.0

Javascript conflicts:
http://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery
http://dev.virtuemart.net/projects/virtuemart/wiki/JavascriptCSS_Template_Overrides_and_Avoiding_Conflicts_between_Libraries

Similar issues:
http://forum.virtuemart.net/index.php?topic=109826.msg368774#msg368774
http://forum.virtuemart.net/index.php?topic=109826.0
https://forum.virtuemart.net/index.php?topic=107761.5
http://forum.virtuemart.net/index.php?topic=109097.0
http://forum.virtuemart.net/index.php?topic=109808.msg368650#msg368650

Regards