Product variants are used to offer variations of the same product to your customers on the products page. It allows managing the product at the template level (for all variations) and at the variant level (specific attributes).
Before you can use product variants, you must first activate the product variants in the settings. To do so, you must go to the Sales app. In the menu Configuration ‣ Settings, tick the option Variants. After enabling this option we can configure attributes and create variants for products.