Default Magento 2 provides 6 product types including simple, grouped, configurable, virtual, bundled and downloadable having unique behaviors and attributes. These standard product types covers majority of the Ecommerce needs by supporting wide range of industry and store owner requirements.

But with the diversity of Ecommerce, there may arise a requirement of unique feature that cannot be served by default product types. Luckily you can extend the default product types with the high level of customization. Sometimes it makes complex to work on and still cannot fulfill the business needs where there arises the need to create custom product type in Magento 2.

Here, I’m going to present complete guide on creating custom product in Magento 2:

  1. Go to App/code/NameSpace/ModuleName/etc and create product_types.xml file and paste the code below.
  2. Now go to App/code/NameSpace/ModuleName/ Model/Product/Type/ and create file Externaltype
Click to rate this post!
[Total: 4 Average: 4]