Easy Populate - issue with '+' prefixes in attribute pricing
Can anyone help? I have set attribute features to no prefix for price in Zen Cart, but when I upload the product attribute file via EP (or reupload the txt file) all the attribute prices have a '+' sign in front of them.
Obviously I don't want it to do this. Does anyone know of a fix for this in EP, or if there is something I'm missing from the setup?
Thanks
Re: Easy Populate - issue with '+' prefixes in attribute pricing
When you input your Price, the first box has a "+" in it. You have to manually delete the "+".
Re: Easy Populate - issue with '+' prefixes in attribute pricing
Hi,
You can set the price, weight etc attribute fields not to appear with a + in, so you don't have to go and delete it every time you set up a new product. However, this doesn't work for Easy Populate.
Anyway, for anyone else who has this problem, I have found the rogue file (admin/easypopulate.php). On line 2245 it sets the prefixes to use. If you don't want a + in front of your prices remove the plus sign, so it reads:
$attribute_values_price_prefix = ($$v_attribute_values_price_var < 0) ? '-' : '';
Clair
Re: Easy Populate - issue with '+' prefixes in attribute pricing
I can confirm that the advice given by clairy is correct - nice work! :D