lcbrq / magento2-mage
Mage class emulation in Magento2
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: >=5.5.0
- magento/framework: >=100.0.0
- magento/magento-composer-installer: *
This package is not auto-updated.
Last update: 2025-03-24 18:30:56 UTC
README
The purpose of the plugin is to emulate Mage class allowing easier Magento 1 themes port into Magento 2.
Such pattern is obviously wrong as well object manager usage, but well... customers and their budget. Good for some pages preview anyway.
This module can be as well good opportunity for Magento 2 introduction for Magento 1 developers.
Sample usage in any phtml:
$product = Mage::getModel('catalog/product')->load(1);
echo $product->getName();
Remember, Magento is Satan! If you like the plugin concept you can buy me a beer through PayPal.