JustPaste.it

<?php


require_once 'abstract.php';


class Quote_Price_Reset extends Mage_Shell_Abstract
{


/**
* Run script
*
*/
public function run()
{


$appEmulation = Mage::getSingleton('core/app_emulation');
$initialEnvironmentInfo = $appEmulation->startEnvironmentEmulation(0);
$productCollection = Mage::getModel('catalog/product')->getCollection();

foreach($productCollection as $product){
$product->save();
}

return $this;
}
}

$shell = new Quote_Price_Reset();
$shell->run();