Search This Blog

Saturday, 5 January 2013

Save Core Config data prgramatically

$coreConfig = new Mage_Core_Model_Config();
$coreConfig ->saveConfig($path, $value, $scope = 'default', $scopeId = 0);
Mage::app()->getConfig()->reinit();
Mage::app()->reinitStores();

No comments:

Post a Comment