Giving codes to sizes, colors and other variants
A shirt that comes in five sizes and three colors isn't one product. It's fifteen. Each one needs its own code, because each one sits in a different spot on your shelf and sells on its own.
Beginners often give the shirt a single code and track "shirts" as a total. Then a customer asks for a large in green, and nobody can say whether one exists.
Why each variant gets its own code
Wikipedia says a business counting its inventory records the quantity it has of each unit, or SKU.1 A SKU covers everything that sets an item apart, and for a product that can include size and color.1
GS1 US makes the same point about clothing. A hoodie design in three colors and five sizes isn't one product. It's fifteen different products.2
You can see the problem with one code. Say you sold the last medium blue. Your count for "shirt" drops by one. But it can't tell you that blue mediums are gone while green mediums are full.
Count the boxes in the grid
Picture a table. Sizes run across the top and colors run down the side. Every box is a separate item. GS1 US advises counting the boxes in the grid, not the designs on your line sheet, when you're estimating how many codes you need.2
Its own example is a T-shirt style in four sizes and three colors, which needs 12 GTINs and 12 barcodes.2 Add a second way of selling it, like a single and a three-pack, and the grid doubles.
Which differences count? GS1 US says a new GTIN should be assigned for each product and variation such as size, color, style or package count.3 Your own SKUs can follow the same logic, since the same differences change what's on your shelf.
Keep the family visible in the code
Fifteen unrelated codes would be a headache to read. Build each from parts, so the family is obvious.
Here's a small example with sizes small to extra large, in blue, green and gray:
| Style | Color | Size | SKU |
|---|---|---|---|
| Tee | Blue | Medium | TEE-BLU-M |
| Tee | Blue | Large | TEE-BLU-L |
| Tee | Green | Medium | TEE-GRN-M |
| Tee | Gray | Small | TEE-GRY-S |
Search for "TEE" and you see the whole family. Search for "TEE-BLU" and you see every blue size. That's the payoff of a fixed order. The earlier page on making up a SKU pattern goes into picking one.
Which details need their own code, and which don't
Not everything you track belongs in the code. For things like season and factory, GS1 US points to your product data, not the identifier.2
The test is simple. Ask: would a customer, or you, count this version separately? If yes, give it a code. If it's only a note, put it in a product field.
For apparel, GS1 US says the differences commonly include style, color, size, fit and pack configuration. Material may need a new number when the change affects what a buyer is purchasing.2
In your own shop, that usually means these get codes:
- Size.
- Color or finish.
- Pack count, such as a single or a set.
Your SKU and an official number are separate jobs
If you also use official barcodes for some items, each variant needs its own official number too. GS1 US says each separately sold variation will generally require its own GTIN.2 Your SKU and that number can sit side by side. The standard numbers get their own page, about UPC and EAN.
A common slip
Don't leave out a size or color because you've only stocked one so far. Add the full pattern from the start. A code like TEE-BLU-M can take a new color or size later. A bare TEE has nowhere to put either one.
References
- Stock keeping unit, Wikipedia
- Barcodes for Clothing & Garment Labels, GS1 US
- Barcode FAQs, GS1 US