Improved Import & Export major update - full Google Sheets & Drive integration. Fixed price Magento 1 > Magento 2 migration service! EXPLORE


Magento 2 ObjectManager Use Cases

- Magento 2

Magento 2 Development; Magento 2 tutorial

The biggest problem regarding ObjectManager in Magento 2 is that you can fully leverage the useful technology, but it is not recommended to do so. Although the direct use of the ObjectManager in classes/templates is possible (popular) and Magento 2 core files often call the ObjectManager directly, Alan Kent asks the community members not to do so. Below, you can find several reasons to avoid using ObjectManager in Magento 2 as well as a few exceptions. Continue Reading