No, it’s not April Fools’ Day, it’s November, no Inchoo pranks. We played with something new this time. You all heard that Magento is modular platform a hundred times. It just needs a little push sometimes, so we pushed it 🙂 First of all ..
Don’t use in production environments, this is only an experiment!
We wanted to show what can be done and how great Magento really is. We don’t have any plans other than use some of the code presented here for our custom projects and learning purposes, so no updates guaranteed.
Magento Lite is extension that compensates module dependency and makes Magento truly modular.
By default it fully disables over 35 default Magento modules, there are over 120 DB tables less and over 2000 files can be safely deleted from Magento.
Any single disabled module can be enabled and restored again.
It removes “system” flag from most not needed attributes and creates optional Lite product attribute set.
It hides non-active modules in “Disable Modules Output”.
It optionally hides Recurrent Billing, Billing Agreements, Related, Upsell, Crosssell products from system (WIP).
To have only basic e-commerce functionalities like catalog, cart, checkout, etc. in Magento.
To have fully upgradable platform ideal for custom projects and learning purposes.
Magento CE >= 220.127.116.11. Tested on 18.104.22.168 and 22.214.171.124.
Download Magento and unpack, copy/paste Weiler_Lite module in it, install Magento.
It’s tested only on fresh/clean installations. In theory it should work on already set store, but then database has unneeded tables and attributes since this module doesn’t remove them and probably never will. It’s not tested with sample data, but it probably works.
To enable any disabled module edit app/etc/modules/Weiler_Lite.xml and set its <active> to true.
Mage_CatalogRule and Mage_Rule can also be safely disabled/removed, but there is no way to do that without touching Mage_All.xml since there is no way to rewrite <depends> definitions. There is Mage_All.xml.lite file if someone wants to experiment.
Mage_Dataflow can also be disabled this way, but that module shouldn’t be deleted since Eav is extending few classes from there.
I also wanted to disable Mage_Reports and Mage_Log but 30% of Magento is broken then.
Rss, Weee, Wishlist and GiftMessage helpers are rewritten to avoid changing tons of theme phtml files.
It was just easier this way, method is highly questionable. Otherwise we need lite frontend theme.
Current frontend lite theme is just experimental, it can be removed.
Some block are deliberately rewritten instead of using hooks, it’s easier to maintain updates that way.
Make sure to comment, thx!