3

I have overridden core file in my custom module extension.

Disabling this module using magento admin panel is not working.

system -> configuration -> Advanced
Module Name (drop down option - disable)

Thanks in advance.

3
  • What is the error you are getting. Not working can mean anything. Commented Jun 7, 2013 at 10:04
  • possible duplicate of Why I can not disable module using system config advanced? Commented Jun 8, 2013 at 12:23
  • He means disabling it isn't working ... he's right of course disabling only disables the output. Commented Apr 18, 2014 at 18:05

2 Answers 2

5

When we disable module from admin, it only disables html output on frontend.

Module config file still loads when module is disable from admin, so your override functionality is still loaded with this module, so try to disable that module from config file.

Try <active>false</active> in your module etc .xml file.

Sign up to request clarification or add additional context in comments.

5 Comments

Are there any caches to refresh, scripts to run? What I see is that the module is still active despite the XML file (in my case it's an _all.xml with many module defs at once) the module is set to false.
Yes you need to refresh cache from backend if cache is enable
I have the cache disabled in the backend already. Still it's not getting deactivated.
@hakre Can you share your xml code or ask as new question
Run bin/magento module:disable Vendor_ModuleName and then execute bin/magento setup:upgrade
0

I would prefer to disable the module via terminal

bin/magento module:disable ${MODULE_NAME}

If it says there is no such module, try listing all enabled ones to find yours

bin/magento module:status --enabled

Reference to official dosc

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.