VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: tsx on September 18, 2013, 08:26:03 AM

Title: VM & query easy
Post by: tsx on September 18, 2013, 08:26:03 AM
Joomla 2.5.9
VM 2.0.22c
system plugin - jquery easy (1.7 + 1.8 UI)

Country --> State Dropdown menu is not loading:
Enabling jquery easy: breaks it
Disabling jquery easy: fixes it

I've tried turning on jquery easy, then fiddled with the following with no luck:
-VM jquery enabled/disabled
-script ajax country/regions enabled/disabled

dropdown menu stops working whenever I enable jquery easy and I always get this console error in chrome:
Uncaught TypeError: Object [object Object] has no method 'chosen'  --> editaddresscheckoutBT:44



I have however read comments that say jquery easy "fixed" issues with VM, so JQ Easy seems to work harmoniously for some people (I actually need jquery easy for other parts of my template to work)
So does anyone else have a working jquery easy setup that they'd be happy to share or can anyone help me?
Alternatively, how can I "disable plugin in pages"? what is this page name?

This is what it looks like when jquery easy is turned on (note I am using atomic):
http://keyphysiotherapy.com/2013-09-18-04-10-26/cart/therapy-products/plastic-backblock-2013-09-18-detail
Add product to card --> checkout --> address details (country-->state)

Title: Re: VM & query easy
Post by: Maxim Pishnyak on September 18, 2013, 08:41:16 AM
Your versions are not latest. You should upgrade.

First of all why do you need to use jquery easy?
Title: Re: VM & query easy
Post by: tsx on September 18, 2013, 08:47:21 AM
i need jquery easy for other parts of the site
I know joomla has had a few updates since - could this possibly be breaking it?
Title: Re: VM & query easy
Post by: jenkinhill on September 18, 2013, 08:51:13 AM
Then you have other JavaScript issues. Post a url.

Both VM and Joomla have had updates, but the Joomla one is critical. http://forum.virtuemart.net/index.php?topic=118683.0
Title: Re: VM & query easy
Post by: tsx on September 18, 2013, 08:55:42 AM
This is what it looks like when jquery easy is turned on (note I am using atomic):
http://keyphysiotherapy.com/2013-09-18-04-10-26/cart/therapy-products/plastic-backblock-2013-09-18-detail
Add product to card --> checkout --> address details (country-->state)
Title: Re: VM & query easy
Post by: jenkinhill on September 18, 2013, 10:40:13 AM
Get rid of this: <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script>
Load the jQuery version included in VirtueMart, which is jQ1.6.4
See if that works.

If not then
Try disabling the Rokbox plugin

From what you are loading I don't think you need jQueryEasy.
Title: Re: VM & query easy
Post by: tsx on September 18, 2013, 12:38:24 PM
Jquery 1.7 is loaded by jqeury easy. Vm works when I disable jquery (easy) but I need jquery (easy) to be loaded in other parts of the site. In other words, I don't want to turn off jquery (easy) site wide.

I don't plan to use the atomic template. I have only temporarily enabled it to narrow it down to the fact that it is not other code in my normal template that's causing VM state drop down field to misbehave.
Title: Re: VM & query easy
Post by: jenkinhill on September 18, 2013, 15:22:42 PM
Then use the Advanced Options Frontend in jQueryEasy configuration to set where it should be used on the site.