How To Get Magento Core Config Data Programmatically

How can I get Magento core config data via template or block

$configValue = Mage::getStoreConfig('sectionName/groupName/fieldName');

or get specific store config data

$storeId = 2; // ID of the store
$configValue = Mage::getStoreConfig('sectionName/groupName/fieldName', $storeId);
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments