Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: The easiest way to solve jQuery Conflict Issues.

The easiest way to solve jQuery Conflict Issues. 11 years 2 months ago #2176

Hi,

Most of the problems about our VM Template - PureMart are related to jQuery Conflict issues.
(most likely loading multiple jQuery at a time in the website with out having no.conflict protection).

This topic will tell you how to resolve them with simple clicks.

Here is a simple example to show a typical jQuery Conflict issue due to loading multiple jQuery libraries at a time without no.conflict or without changing jQuery.Variable.




Attachment Pasted_Image_1_25_13_12_39_AM.gif not found





(in this example above, the Mozilla Firefox "Firebug" plugin is used to determine the Conflict issues. It is a freeware plugin can be downloaded through getfirebug.com/ It is a EXTREMELY useful plugin and EVERY SINGLE web developer has to have it!!. Look here for more information about Firebug: www.flexiblewebdesign.com/forum-virtuemart-2-template-puremart-support/342-using-firebug-for-customization-or-troubleshooting )

OK!. Now we are sure there is conflict issue in the website which is the source of the problem. And this Conflict issue must be resolved.

There are couple ways to solve it (finding the source of those multiple jQuery libraries and delete those lines to avoid multiple loading, or changing the variables. (which are the hardest and complicated ways). In this topic i will provide you the EASIEST way!

There is a Joomla Plugun, called "Jquery Easy" for this purpose. It is completely free to use. (thanks to developer of this plugin, it is very useful most of the time.)

Browse here:
extensions.joomla.org/extensions/core-enhancements/performance/jquery-scripts/18327

Download the plugin and install it to your website.

Open the installed plugin and choose these options from the plugin parameters


Attachment Pasted_Image_1_25_13_12_52_AM.gif not found



In the new Joomla Templates (J3.x) and new Virtuemart versions (VM3.x), you should choose jquery1.11 and enter 1 to sub-version field. DON'T FORGET TO ENTER 1 TO SUB-VERSION FIELD

(you can leave the rest untouched, or change them if you know what you are doing!):


The result in the website:



Attachment Pasted_Image_1_25_13_12_56_AM.gif not found





That's it!.
Last Edit: 8 years 5 months ago by Support.
The administrator has disabled public write access.

The easiest way to solve jQuery Conflict Issues. 11 years 2 weeks ago #3087

Thanks for the tutorial.

When I do all the steps are the following errors. Any solutions?

ReferenceError: $j is not defined
[Parar en este error]

$j(document).ready(function(){
The administrator has disabled public write access.

The easiest way to solve jQuery Conflict Issues. 11 years 2 weeks ago #3089

Problems with puremart do you mean?

Exact url where this is happening?

Cheers
The administrator has disabled public write access.

The easiest way to solve jQuery Conflict Issues. 11 years 2 weeks ago #3138

Hi,

We didn't develop the "jQuery Easy Plugin", it has nothing to do with FlexibleWD.

That plugin has been recommended by us to our clients in case they end up with any conflict problem, because it is the easiest way to resolve them. If the plugin doesn't work at all. Then simply don't use that plugin. Since it is a freeware plugin, i don't believe that the real developers of that plugin would provide any support about it.

Regards.
Forum Support.
The administrator has disabled public write access.

The easiest way to solve jQuery Conflict Issues. 10 years 4 months ago #7430

I use jquery easy & its a great plugin. But after reading through your initial example it says set as 1.6(latest version).

You wrote the initial guidance in your post 10 months ago, so is setting to 1.6 still true? for VM2.0.24 & puremart 3.8?

Thanks
The administrator has disabled public write access.

The easiest way to solve jQuery Conflict Issues. 10 years 4 months ago #7474

Virtuemart 2.0.xx officially loads jQuery1.6 and in some cases jQuery1.8
It was loading jQuery1.6 ... 10 months ago, and it still loads jQuery1.6 today as well. So nothing has changed. You may think and say;

- jQuery1.10 is the latest one and it is newer than jQuery1.6.xx so it should be better".

Yes, it is newer, but you can't say better or worse by looking at the version number. You should be using the jQuery version that your current plugins/extensions are developed to work with. So in this case, Virtuemart and almost all of our extensions are developed to work with jQuery1.6. No need to look for an adventure, just use the jQuery1.6 (but again, try jQuery1.8, people say it works fine... even though i don't recommend)

Regards.
Support.
The administrator has disabled public write access.

The easiest way to solve jQuery Conflict Issues. 10 years 3 months ago #7783

Hi,
I tried the solution by adding the jQuery Easy plugin but the product "Enlarge" feature is still not working.
Can you help me check what else is wrong or something I missed?

Thanks,
Jaypee

3lilambs.com/
The administrator has disabled public write access.

The easiest way to solve jQuery Conflict Issues. 10 years 3 months ago #7830

Hi Jaypee,

I don't see PureMart in this website: 3lilambs.com

You should activate the PureMart in this website and let me check the console logs. Probably a Conflict issues is causing your problem, and i can only identify it by looking at your website.

Regards,
Support
The administrator has disabled public write access.
Time to create page: 0.097 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo