If your needs are simple, the default product type called Product that is installed for you, may be all that you require. However, if you wish to sell products with different attributes, such as sizes or colors, then you may need to create different product types.
Before creating a product type, if you need product attribute to be chosen in a list, like "colour", then you should create a vocabulary (thanks to core module Taxonomy). Click on Structure → Taxonomy → Add vocabulary
Then save, click on "Add terms" then type and save your terms one by one.
Add a product type
To add a product type (in case the default one is not enough for you), navigate to Add product type (Store > Products > Product type (tab) > Add product type, or
and enter a name such as "T-shirt" or "Coffee Table", then click Save and add fields.
Note: if you are using Commerce Back Office, the menu structure and wording is changed. To add a Product Type go to:
Store > Configuration > Product variation type > Add product variation type
Next we need to add fields to our new product type to represent the attributes of our products. You should be on the Manage Fields tab of your product type (Store > Products > Product type > Add product type > Manage Fields Tab, or
You will see that some default fields have already been added for you:
- Product SKU
- Price (if Price module is enabled)
Add new fields as needed, for example:
By clicking the Manage Display tab (Store > Products > Product type > Add product type > Manage Display Tab > Default Sub Tab, or
http://example.com/admin/commerce/products/types/[YourProductType]/display) we can change the way the fields for our product type will be displayed. You can use the "Custom Display Settings" to enable various custom display types. This allows you to define custom displays for nodes, teasers, line items (cart/checkout), and admin pages.