tayl1684 Posted February 15, 2004 Posted February 15, 2004 Hi, I run the actual attributes contribution, so that the actual price shows up with the attributes, rather than ?+0.55 or ?-0.55 (as an example). Im also using easypopulate (2.73). When you import attribute prices without a + or - prefix it automatically assigns a +. I have got around this by editing the easy_populate.php file here: $attribute_values_price_prefix = ($$v_attribute_values_price_var < 0) ? '-' : '+'; and changing it too: $attribute_values_price_prefix = ($$v_attribute_values_price_var < 0) ? '-' : ''; Dont know php at all but it looks to me like this is basicaly saying: attribute values price prefix is to be set by the following rules: if the attribute price is less than 0 then the prefix will be - if the attribute price is greater than 0 then the prefix will be + So at the end of this ramble what I'm asking is this - is there a way to change this so that it recognises the prefix in the text file and uses it if its there or doesnt if its not. Probably not as simple a matter as it first appears since it would'nt be able to use the >or< than 0 system it uses at the moment. Its not urgent or even important to be honest but it would be nice to be able to import a prefix if required. Anyway thanks alot just for reading this page of comparative jibber and if any kindly soul feels like helping it would be much appreciated. Cheers Ian :unsure:
duvall Posted June 15, 2004 Posted June 15, 2004 Your reply is a life saver! How can I send you $$ for a drink??
duvall Posted June 15, 2004 Posted June 15, 2004 Your reply is a life saver! How can I send you $$ for a drink??
Recommended Posts
Archived
This topic is now archived and is closed to further replies.