/ Published in: PHP
URL: http://stackoverflow.com/questions/4874171/get-config-data-to-javascript-file-magento
Save config: http://inchoo.net/ecommerce/magento/how-to-programmatically-change-magentos-core-config-data/ http://www.magentocommerce.com/wiki/5-modulesanddevelopment/0-moduledevelopmentinmagento/howtoaddacustommoduleforcustomadminconfig_options
Expand |
Embed | Plain Text
$lifetimes = Mage::getConfig()->getStoresConfigByPath('checkout/cart/delete_quote_after'); or $config = Mage::getStoreConfig('section_name/group/field'); //value $config = Mage::getStoreConfig('section_name/group'); //array
You need to login to post a comment.
