VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: carlos.alonso on January 17, 2012, 14:04:00 PM

Title: Custom Field Stockable Plugin JS error
Post by: carlos.alonso on January 17, 2012, 14:04:00 PM
Hi the Custom Field Stockable plugin inserts the following code in my product pages:

var customfield_id = {"8" :};

which triggers a syntax error,

The weird thing is that it only happens in the server where we have the website, when i try in my laptop with a local installation works fine.

Both Virtuemart (2.00 RC3) installation were done the same day, and the live update tool says i have the latest version in both of them.

The only difference is that i use J1.7.1 (where the error happens) and J1.7.3 (where the erro does not happen).

Any idea why it may be happening?

Thanks,
   carlos
Title: Re: Custom Field Stockable Plugin JS error
Post by: carlos.alonso on January 17, 2012, 14:40:46 PM
Me again,

Having a look at "stockable.php" plugin file in the line 230 the JQuery string is added, two lines before there is comment saying "//TODO ONE PARAM IS MISSING"

I wonder which param is missing??.