Categories: Magento 2 Tutorials

How to Create Configurable Product in Magento 2

Magento offers a large number of features. One of the most useful and common features is a Configurable Product. With this feature, you can allow multiple options like size, colors, and customization to users on your products, and on each option, you can set different prices. However, creating configurable products in Magento 2 is a long process and requires several steps.
This topic is a part of Product Management Series in Magento 2. You can jump on to the other parts here:
Today, however, I am going to teach you how to create configurable products in Magento 2, so just follow this guide and you’ll be able to do that in no time.

Add Attribute

Open the Admin Panel of your store and go to STORES → Product. Now click on Add New Attribute. Enter Color in Default Label text field, select Dropdown from Catalog Input Type for Store Owner and select Yes from Value Required. I will configure the product on color basis, i.e., White and Black, so I have added them. You can add more by clicking on Add Option. Now unfold the Advanced Attribute Properties section. Enter the color in the Attribute Code and select Global from Scope. You can further manage it according to your need. Now click on Storefront Properties from the left side of the page and set it according to your requirement. Click on Save Attribute from the top of the page.

Add Attribute Set

Go to STORES → Attribute Set. Click on Add Attribute Set. Enter the Name of the Attribute (Mobile) and click Save. Now drag the color from unassigned attribute to Product Details and click on Save.

Add Simple and Configurable Products in Magento 2

First, I will add two simple products (Samsung J5 White and Samsung J5 Black). Go to PRODUCTS→ Catalog. Click on Simple Product from Add Product button. Select Mobile from Attribute Set dropdown and enter all the required details. Make sure to select Not Visible Individually from the Visibility drop-down and select White from the Color dropdown. Now just click on Save from the top of the page. In the same way, you can add Samsung J5 Black by selecting Black from the Color dropdown. Click on Configurable Product from Add Product button. Select Mobile from the Attribute Set dropdown and then enter all the required details. In the price field, you have to add a price to progress, but this price will not be visible on the product front page. Now go to the Configuration section. By default, Magento 2 does not give the Add Product Manually option, so first click on Create Configuration and then complete all the steps. It will now show you new product combinations with the attributes options you have selected. Now remove it by clicking on Remove Product and the Add Products Manually option will become visible. Click on Add Products Manually Select the simple products that you added (Samsung J5 White and Samsung J5 Black), and click on Done. Now just click on Save from the top of the page. Go to your configurable product front page and you will see the updated result:

Wrapping Up

The thing about Magento is that it is powerful and full of features. You can sell your products with different options and with a different price for products that can be configured. After following this tutorial, you should be able to create configurable products in Magento 2. If you still have any confusion, leave a comment below and we’ll sort it out!
Syed Muneeb Ul Hasan

Syed Muneeb Ul Hasan is an expert in PHP and Magento, he prefers to educate users in implementing and learning Magento. When not working, he loves to watch cricket.

View Comments

  • I have made 4 single products in the Magento webstore and I would like to make a configurable product from those 4 products. I can add them but the product texts are not visible on the storefront. Could anyone explain me what goes wrong?

    • On your configure product storefront page you will see only the name of your configurable product and the options that you have set through attribute in your each products.

      • I've made configure product every thing working fine but the particular description of simple products is not showing on selection of attributes .

Share
Published by
Syed Muneeb Ul Hasan

Recent Posts

Building Employee Trust and Dedication – A Complete Guide

In the highly competitive modern workplace, trust, and employee loyalty are crucial factors for long-term… Read More

3 months ago

12 Winning Strategies for Small Businesses Marketing

In the ever-evolving world of small business developing and implementing effective marketing strategies is critical to… Read More

3 months ago

Top 10 App Development Companies in Dubai 2024

With one of the highest internet penetration rates, the UAE has set out to revolutionize… Read More

3 months ago

Transforming Industries: How Amazons GPT44X is Revolutionizing AI Technology

Artificial Intelligence (AI) has been continually evolving, leading to remarkable advancements in various industries. Among… Read More

8 months ago

Top Magento 2 Extensions for 2023

Extensions, extensions and lots of extensions. We all love extensions, don’t we? After all, extensions… Read More

11 months ago

Unleashing the Power of Software Testing: Cooperating with a Testing Firm

Software quality is crucial to a firm's success across industries in the quickly changing digital… Read More

12 months ago