Posted By

necode on 07/23/11


Tagged

config Stores magento


Versions (?)

Magento access to config store


 / 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

  1. $lifetimes = Mage::getConfig()->getStoresConfigByPath('checkout/cart/delete_quote_after');
  2.  
  3. or
  4.  
  5. $config = Mage::getStoreConfig('section_name/group/field'); //value
  6. $config = Mage::getStoreConfig('section_name/group'); //array

Report this snippet  

You need to login to post a comment.