O'Reilly logo

Magento 2 Development Cookbook by Bart Delvaux

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with product types

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.

Getting ready

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.

How to do it

In the following steps, we will create a product where we can specify a size on the product detail page:

  1. Navigate to Products | Catalog, click on the arrow ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required