1

I want to remove some Magento 2 components like: Magento_Analytics, Magento_Braintree ... I just want to have just a product management system. How I can remove this modules completely, files and database tables.

Thank you

1 Answer 1

1

Caution: Removing Core Magento modules can stop your ability to update Magento in future.

Some modules can be removed directly, but others have dependencies in some other modules.

For example: Magento_Catalog module is dependent on Magento_Eav, Magento_Cms, Magento_Indexer, Magento_Customer etc.

Similarly, Magento_CatalogRule module is dependent on Magento_Rule, Magento_Catalog and Magento_Customer modules.

So, in my opinion you need to first disable modules one by one and test every functionality after removing particular feature.

Once everything has been tested after disabling particular feature, you can remove module files and related tables (You can get the related tables from the files under Setup folder)

Some features may not be important for you but indirectly those features can be important for running some other module. So be careful.

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.