In Magento 2, it is still possible to work with different types of products. The standard product is a simple product, which is used to sell basic products, but there are more types available, such as products, where you can choose a size and other options, or download products, virtual products (such as a license), and product combinations.
In this recipe, we will create a configurable product, for example, you want to buy a pair of shoes where you can choose their size and color. Open the Magento backend and navigate to Products | Catalog.
In the following steps, we will create a product where we can specify a size on the product detail page:
Navigate to Products | Catalog, click on the arrow near the Add Product button, and choose Configurable Product as shown in the following screenshot:
The next step is to decide the attribute on which we want to configure our product. Scroll down through the...