2

What is the best way to remove an extension from Magento? I thought doing it via Magento Connect was the best way however the extension that I am trying to remove I do not see in my Magento connect area. Any ideas?

1 Answer 1

2

If you have the site under version control, take a look back to see what needs to be reverted. If not (and I'm assuming this is the case) then I would take a look into the packaged module and included installation instructions to find a list of files to remove etc. When you remove them, you will want to flush all caches afterwards. Also beware that in some cases removing a module can cause a site to break, a good example being where the module creates custom product attribute with custom attr models. If the database had alterations made by the module when it was installed, you'll want to determine whether or not those should be cleaned up or left around.

7
  • Hi davidalger thanks for the response. I was afraid to remove all the files for that reason. How would I determine if the site would break if I did this? Oct 24, 2013 at 3:04
  • 1
    To determine if the site would break you should demo your change on the staging site. In many cases you only need to remove the module definition file from app/etc/modules to deactivate the module itself. Removing all of the files could be tedious if you don't have the code base under version control.
    – philwinkle
    Oct 24, 2013 at 3:09
  • Philwinkle thanks for the response. I don't mind removing all the files, I just don't want to break anything. Is there an easy way to set up a staging site? Oct 24, 2013 at 3:30
  • So what I ended up doing was just deleting all the files I uploaded for that extension and then flushed the cache. All worked fine! Thank you for all the help! Oct 24, 2013 at 4:06
  • Removing the files does not remove the database entries the extension might have created. To see if the extension did add/change anything the scripts in the extension's sql folder should be examined. Oct 24, 2013 at 4:45

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.