June 12, 2020 Yogesh Khasturi

How to Add New Product Type in Magento 2?

In this blog post, we will see how to add our own product type in Magento 2. There are 6 types of products in Magento 2 namely Simple product, Grouped product, Bundle product, Configurable product, virtual product, and Downloadable product.

But in some cases, everyone is not satisfied with these products so you can create a new Magento 2 product type follow the given below steps. Let’s Create It.

Steps to Create a New Product Type in Magento 2.

Step 1: Create ‘product_types.xml’ file in location Webiators/CustomProductType/etc.

Step 2: Create NewProductType.php file in location

Webiators\CustomProductType\Model\Product\Type\NewProductType

After completing the above steps, you will see a new product type in the admin.

If you have any doubts about this topic please mention them in the comment section below.

Thank you.