Support & Downloads

Quisque actraqum nunc no dolor sit ametaugue dolor. Lorem ipsum dolor sit amet, consyect etur adipiscing elit.

s f

Contact Info
198 West 21th Street, Suite 721
New York, NY 10010
[email protected]
+88 (0) 101 0000 000

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 to diverse Magento areas, the need may arise to create custom product type in Magento 2 to satisfy the requirements of the store to implement specific features.

Magento 2 allows customization to create your own complete new Magento 2 product type! Isn’t it a powerful feature for the developer? ?

No worries now when a client comes with weird requirements that the default product types can’t fulfill because now you are going to learn the easy method to create custom product type in Magento 2. Yaay! ?

Method to Create Custom Product Type In Magento 2:

1.create a product_types.xml file in etc folder

2.create Generic.php at Model/Product/Type/ directory

3.create catalog_product_view_type_generic.xml file at view/frontend/layout/ folder

With the above method, you no longer need to turn down the client with limited product types! You can always create one for yourself ?

Get started today! If you face any doubts midway, I’m here to help you out. Just post your doubts in the Comments section below.?

Reward the post with 5 stars if it helped you create your custom product type! ?

Thank You!

Sagar Doshi

CEO / Managing Partner

[email protected]

Post a Comment