How I can get fetch the welcome text of Configuration in Template file.

For e.g. welcome text : "Free shipping above $3"

It is located under System/Configuration/design/header


Please use below code in your template file :

<?php echo Mage::getStoreConfig('design/header/welcome') ?>
  • Didn't work for me in Magento2 :( – Omer Jun 10 '17 at 10:29

you can get with below code

reference location app/code/core/Mage/Page/Block/Html/Header.php check method getWelcome() line 95

echo Mage::getStoreConfig('design/header/welcome');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.