Need change to a PHP import script (magento)

I have a php import script that imports data from a csv…

anyway

the statement is currently

[php]“price” => floatval($value[“price1”]) * 1.42,[/php]

kind of self explanitory…
I need this to be “only run IF null”
cause i need to change ALL the values in magento as i cant put all my prices as “cost x 1.42” as different items can have a LOT higher percentage, but if i change them, the import overwrites my work obviously.

Sponsor our Newsletter | Privacy Policy | Terms of Service