Category PHP

How to Print Log in Magento 2

Logs in Magento 2 consist of system information records for the analysis in the future. One of the most common examples of such events is the error log. Developers know the pain of errors and the process to deliver a…

How to Instantiate a Model in Magento 2

We all know that in Magento 1 We can easily instantiate model using Mage::getModel and Mage::getSingleton methods. But instantiate a model in Magento 2 something different. In Magento 2 we can instantiate a model using Object Manager. Yes, you heard it correctly, ObjectManager is a…