Quantcast
Channel: Amjath.com
Viewing all articles
Browse latest Browse all 14

Check whether a module is enabled or not in Magento

$
0
0

Use the below code to check whether a module is enabled or not


echo Mage::getConfig()->getModuleConfig('Module_Name')->is('active', 'true');

echo Mage::helper('core')->isModuleEnabled('Module_Name');

Cheers!

Amjath


Viewing all articles
Browse latest Browse all 14

Trending Articles