Retrieve Magento Core Configuration variables on the Magento frontend


/ Published in: PHP
Save to your folder(s)

The "design/header/logo_src" matches the path column in the core_config_data table in the database. You can use the path value to load the value of any config row.


Copy this code and paste it in your HTML
  1. // Get the logo from the current store config
  2. $logoSrc = Mage::getStoreConfig('design/header/logo_src');

URL: http://www.magthemes.com/magento-blog/retrive-magento-core-configuration-variables-magento-frontend/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.