Category Magento

How to Create Custom Product Type in Magento 2

Magento 2 supports 6 product types by default: Simple Product, Grouped Product Configurable Product, Bundle Product, Virtual Product, and Downloadable Product. These product types, each having its own features, enables Magento 2 to support a wide range of industries. However, owing…

What does unsafe-perm in npm actually do?

’ve routinely been directed to what feels like a magic fix to issues when installing items over NPM. The issue that I’ve most recently encountered occurs in two different OS’s; Windows and Elementary. When attempting to install Sindre Sorhus’ Pure ZSH…

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…

MAGENTO 2: CHANGING PRODUCT ATTRIBUTE TYPE

In Magento 2, once we create an attribute type, we cannot change it by configuring the admin, but it is possible to change the attribute type programmatically. For example, let us assume the following – an attribute called “size”, the input…