Posted By

TioSolid on 10/29/10


Tagged

magento


Versions (?)

Retrieve Magento Core Configuration variables on the Magento frontend


 / Published in: PHP
 

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

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

  1. // Get the logo from the current store config
  2. $logoSrc = Mage::getStoreConfig('design/header/logo_src');

Report this snippet  

You need to login to post a comment.