By In Magento

How to disable module in Magento

One of the true powers of Magento platform is a great number of available extensions. And with Magento Connect as official marketplace and built-in Connect Manager it is easy to install and manage various plug-ins.

It is quite common that extensions are not compatible with each other and can create various conflicts. In some cases extensions overwrite each other and only the output of one of them can be seen on the front end. That is minor conflict and will have no impact on the functionality of your store. However, it is possible that the conflicts between extensions can cause a larger issue and crash your Magento store completely. In such cases, you will need to disable the modules and turn them off, one by one, until you find which one is causing issue.

Modules in Magento can be disabled using several methods, it is important to use an appropriate one according to the situation:

– If the module has administration settings then you should check there first. This is the easiest way to turn off the module but in most cases it will continue to load some files, so this method isn’t the most reliable. This method should be used when you want to turn OFF the extension at that particular moment and have plans to enable it later.

Go to System >> Configuration section, then in the left sidebar menu click on ‘Advanced’ tab (it should be located on the very bottom of the side menu) and there you will see a list of all installed modules with ‘enable/disable’ drop-down option. Be careful not to turn off Magento core modules since they are also listed there. They usually start with ‘Mage’ prefix. If you disable the module using this method it can happen that some parts of the plug-in stay active.

– There is one more way to disable the module from administration, this method can be useful if you can’t access Magneto admin for some reason or in the case when you want to disable the module completely. You will need an access to the files and a simple text editor. Connect to server using FTP/File manager, navigate to Magento`s root folder and from there go to app/etc/modules/ sub-folder. There the configuration files for all modules should be located (same list as in System >> Configuration >> Advanced section). Open the module config XML file, find the code ‘active’ nod and change value from ‘true’ to ‘false’, this will turn off module completely.

Tip:

Be sure to turn off Magento caching under System >> Cache Management tab, otherwise changes you make will not be visible.

Trick:

In the current version of Magento 1.7, it’s possible to disable Magento core modules, of which the settings are saved in file app/etc/module/Mage_All.xml. By changing this file you can disable the core module but be sure that you know what you are doing since your store might stop working after those changes.

Read more