lcbrq/magento2-mage

Mage class emulation in Magento2

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 0

Open Issues: 0

Type:magento2-module

dev-master 2018-08-05 19:18 UTC

This package is not auto-updated.

Last update: 2024-04-22 13:40:09 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.

Donate