Eren Labs JOURNAL TR
Product Catalog

How to Create SKU Numbers: A System That Survives a Growing Catalogue

A good SKU tells your team what an item is without opening it up; a bad one causes picking errors for years. How to choose a pattern, which characters to avoid, examples for variations, and how to roll SKUs into WooCommerce without breaking anything.

In this article16 sections

To create SKU numbers that work, pick a fixed pattern of short segments, ordered from general to specific, such as product, colour and size: TEE-NVY-M. Use only capital letters, digits and hyphens, avoid characters that look alike, keep codes short, and never reuse a code for a different item. This guide shows how to design the pattern, what to leave out, examples for different shops, and how to apply new SKUs in WooCommerce without breaking anything.

What a SKU is, and what it isn’t#

A stock keeping unit is your internal code for one distinct item you stock and sell. Every size and colour you track separately needs its own. It is not a barcode: a GTIN is issued by the brand and is the same in every shop, while your SKU is yours alone. Many businesses use both, as our guide to the WooCommerce GTIN field explains. WooCommerce also requires each SKU to be unique, so two products can never share one.

How to create SKU numbers: choose the segments#

Illustration: a SKU label split into segments for product, colour and size
Build the code from segments your team already thinks in: product, then colour, then size.

Start with the questions your team asks at the shelf. Usually it is: what is it, which colour, which size. Put the most important first, so a sorted list groups related items together.

ShopPatternExample
ClothingStyle-Colour-SizeHOOD-BLK-XL
CoffeeOrigin-Grind-WeightETH-WHL-250
HardwareType-Size-MaterialBOLT-M8-SS
CosmeticsLine-Product-ShadeSKN-FND-03

Three segments are enough for most shops. Every extra segment makes codes longer to type, read aloud and fit on a label.

Rules that prevent errors#

  • Capitals, digits and hyphens only. Spaces, slashes and symbols break imports, URLs and some scanners.
  • Avoid look-alikes. The letter O and zero, I and 1, are misread on labels and screens.
  • Don’t start with a zero. Spreadsheets drop it.
  • Fixed lengths per segment, such as three letters for colour, keep columns tidy.
  • No supplier names. When you change supplier, the code shouldn’t have to change.
  • No prices or dates. Facts that change don’t belong in a permanent code.

Write a code list#

Before creating a single SKU, write the list of abbreviations: colours, sizes and product families with their codes. NVY for navy, GRN for green, GRY for grey. Without a list, one person writes BLU and another BL, and your sorting and searching fall apart. Add a new value to the list before using it. A one-page sheet shared with everyone who creates products is the most useful part of the whole system.

Smart codes or plain numbers?#

Some businesses prefer plain sequential numbers, such as 100231, and let the software hold the description. That never needs renaming and fits large catalogues with many one-off items. Meaningful codes help people who pick and shelve by reading labels. A middle path works well for many shops: a short meaningful prefix and a running number, such as TEE-0042, followed by colour and size for variations. Choose based on who reads the codes. If scanners do all the reading, meaning matters less; if people do, it matters a lot.

SKUs for variable products#

Give the parent product its own SKU, such as TEE, and extend it for each variation: TEE-NVY-S, TEE-NVY-M and so on. This makes imports easy, because variation rows point at the parent SKU, and it keeps a product’s variations together in any sorted list. Our guide to variation SKUs in WooCommerce shows where each one is stored. The free SKU generator builds codes from your attribute values, so you can check a pattern before committing to it.

Adding SKUs to existing products#

Renaming SKUs on a live shop needs care, because other systems may use them: accounting, a point of sale, marketplace listings, shipping tools and spreadsheets. List what reads your SKUs before changing anything. Then export your products, fill or change the SKU column, and import with “Update existing products” matching by ID, not by the SKU you’re changing. Keep the old codes in a column in your own spreadsheet, so you can translate old paperwork. Our guide to importing variable products explains the CSV rows.

Change codes at a quiet time, then print new shelf and product labels in the same week. A shop with new codes on screen and old codes on shelves makes more picking errors than before.

SKUs and barcodes together#

If items arrive without a barcode, you can print your SKU as a barcode, so scanners work with your own codes. Code 128 handles letters, digits and hyphens. Keep codes short, because long barcodes need wider labels. Items that already carry a manufacturer barcode are best scanned by that number, with your SKU printed in text for people. Our guide to printing barcode labels covers the label side.

A worked example from start to finish#

A shop sells hoodies and tees in black, navy and grey, sizes S to XL. It chooses Style-Colour-Size, with HOOD and TEE as styles, BLK, NVY and GRY as colours. That gives 2 styles × 3 colours × 4 sizes = 24 variation SKUs, from HOOD-BLK-S to TEE-GRY-XL, plus the two parent codes. Next season a heavyweight hoodie arrives; it gets its own style code, HOODH, instead of a suffix on every variation. The code list gains one line, and nothing existing changes.

Keep the system healthy#

  • One person approves new abbreviations.
  • Check new products for empty or malformed SKUs weekly.
  • Never recycle a retired code; old orders still refer to it.
  • Export your SKU list occasionally and sort it to spot inconsistencies.

Test the pattern before you commit#

Before creating hundreds of codes, test the pattern on your messiest products: the one with the most options, the one that comes in a multipack, the one with a long name and a seasonal version. If the pattern copes with those, it will cope with everything else. Say a few codes aloud to a colleague and ask them to type them. If they hesitate or get one wrong, shorten the segment or replace the confusing characters.

Print one label at the size you will actually use. A code that looks fine on screen may not fit a small price label, or its barcode may become too narrow to scan reliably.

Bundles, multipacks and seasonal lines#

Bundles need their own SKU, because they are a separate thing you sell. A suffix such as BND or the number of units works: TEE-NVY-M-3PK for a three pack. Decide whether stock is tracked on the bundle or on the single items inside it, and keep that consistent, because mixing the two is a common reason for stock figures that never add up.

For seasonal or limited versions, resist adding the year to every code. If a product returns next year unchanged, it is the same item and should keep its SKU. Give a new code only when something a customer would notice changes, such as the fabric, the recipe or the size.

SKUs across several channels#

If you sell in your own shop, on marketplaces and at a counter, use the same SKU everywhere. Channel-specific codes force someone to maintain a translation table, and orders imported from a marketplace then fail to match your stock. Where a marketplace generates its own identifier, map it to your SKU in the integration rather than renaming your product.

The same applies to your supplier’s codes: store them in a separate field next to your SKU. Purchase orders can then show the supplier’s code, while your team keeps using yours.

Common SKU mistakes#

The same handful of problems appear in most catalogues: descriptions typed as SKUs, spaces at the end that stop two identical-looking codes from matching, mixed separators such as underscores in some codes and hyphens in others, and codes copied from a previous product and never changed. A monthly look at the export, sorted by SKU, exposes all of these in minutes. Fix them in one import rather than one product at a time, and note in your code list how to avoid repeating the mistake.

Creating SKUs with Quick Variable Products#

Quick Variable Products, free on WordPress.org, creates variable products in one grid. Type your attribute values, generate every combination, and fill the empty SKUs for all rows with one click or type your own, with stock, price and one image per value on the same screen. For products you already have, Quick Variable Products Pro can bulk edit SKUs with a preview and undo.

Quick Variable Products: fill empty SKUs in one click while entering every variation in one grid
Quick Variable Products (free): fill the empty SKUs for a whole grid in one click, or type your own.

How to create SKU numbers: frequently asked questions#


How do I create SKU numbers for my products?

Choose a few segments such as product, colour and size, write an abbreviation list, use capital letters, digits and hyphens, and give every item you stock separately its own unique code.


How long should a SKU be?

Short enough to read aloud and fit on a label. Around eight to twelve characters suits most shops. Longer codes lead to typing mistakes and wider barcodes.


Can two products have the same SKU?

No. A SKU identifies one item, and WooCommerce rejects duplicates. Every size and colour you count separately needs a different code, including variations of the same product.


Should I use the manufacturer's code as my SKU?

You can, but changing supplier or brand then forces new codes. Keeping the manufacturer code and barcode in their own fields and using your own SKU is usually more durable.


Can I change SKUs later?

Yes, but check every system that uses them first, keep a list of old and new codes, update labels at the same time, and import changes matched by product ID.


More in Product Catalog

Keep exploring

All articles
Before you go Let Quick Variable Products do this in WooCommerce

Create product variations, stock, SKUs and prices on one screen. Pro adds bulk editing of existing variations with a preview and undo.

Explore Quick Variable Products Get the free version

Free version on WordPress.org · Pro from $59/year