How to disable module in Magento?

We can disable the module in Magento by using the following two ways:

1. By navigating in the Magento backend to System > Configuration > Advanced > Disable modules output you can easily disable certain modules. You can even select the scope of the configuration (in the top left of the page) and there for disable specific modules only for specific Store Views. This works out fine in most of the cases, and this is actually the preferred way of disabling a module.

2. In the directory app/etc/modules you can find a bunch of XML-files. When you open up the XML-file for your module, you will find the following:

<config>
<modules>
<Your_ModuleName>
<active>true</active>
<codePool>community</codePool>
</Your_ModuleName>
</modules>
</config>

Now to disable this module, you would change the active-tag from true to false.

<active>false</active>

Now clear your Magento cache and check.

Join our Newsletter

Never miss the latest offers, voucher codes and useful articles delivered weekly in your inbox.