There is an event that fires after a product import (And we run this update on the product import). Is it possible to make this save without extra events firing?
/*UPDATE UNIT COST*/
if ($unit_cost > 0) {
try {
$product->setData('cost', $unit_cost);
$product->save();
Mage::log("SKU {$sku} cost was updated to {$unit_cost}", null, 'custom.log');
}
catch (Exception $e) {
Mage::logException($e);
}
}