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

API Suggestion getProducts not to always load JQuery functions

Started by balai, April 11, 2012, 19:52:23 PM

Previous topic - Next topic

balai

Hi

I have noticed that every call to the $productModel->getProducts always generates a series of jquery functions to the document's head.

I think that the calls mainly regard the customfields but if you just want to use some product info like salesPrice or the product decription there is no need to call those JQuery functions.
Also why i need to load always the JQuery library in my extensions since i don't need that library?

I think that an extra boolean param should be added to the getProducts function which will regard the loading or not of those jquery functions