News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

JQuery error when the jquery is disabled from the BE

Started by balai, April 12, 2012, 10:57:41 AM

Previous topic - Next topic

balai

Hi

I m getting this js error in the product details page, when i m disabling the loading of the JQuery from the VM configuration.

jQuery is not defined
jQuery(document).ready(function($) {


VM2.0.4

Studio 42

If you wan't completly remove jQuery from your site/tmpl then you must overide vrituemart tmpl.
Our choice was to use jQuery.

If you have a conflict with another module/component then try to remove all jquery load and add it in your template.

balai

Hi

Its not caused because of the jquery loading in the template.
The problem is that the productModel is generating always jquery functions at the head of the document.
So if i remove that library the above error is generated.

http://forum.virtuemart.net/index.php?topic=101086.msg334819#msg334819