Before you begin adding products to your Drupal Commerce store, it is important to understand the product structure. Let's go through an example.
Let us say that your store sells t-shirts. Your t-shirts come in various sizes; such as small, medium, and large. Each shirt has a graphic but can come in different colors. Each graphic t-shirt is its own product but has variations of sizes and colors available.
How does that translate into Drupal Commerce?
The following table is an example of variations that could exist for a Drupal Commerce "Drupalcon" graphic t-shirt, corresponding to the above image.
Product | Size | Color |
---|---|---|
Drupalcon graphic | Large | Green |
Drupalcon graphic | Medium | Blue |
Drupalcon graphic | Medium | Orange |
Drupalcon graphic | Small | Green |
Drupalcon graphic | Small | Orange |
Drupalcon graphic | Small | Red |
Drupalcon graphic | Small | Blue |
How is this data represented in Drupal Commerce?
In the next section, we'll go through the Drupal Commerce product structure concepts and terminology in greater detail.
Found errors? Think you can improve this documentation?
edit this page