How do variants, SKUs and barcodes work?
ForMerchants with a WooCommerce site; support
Updated
Outcome
You understand how an item with options at the register becomes a product with variations on the website, what the website uses as the SKU, and why one barcode can only belong to one product.
What it does
- A POS item with options (size, colour, flavour, a part number under a parent) becomes one WooCommerce product with variations. Each option carries its own price, SKU, stock and barcode.
- The POS barcode becomes the website SKU. That is what the website search uses when a customer types a part number.
- A variation removed in the POS is made private on the website, not deleted.
- The POS owns all of this. Options, prices, SKUs and stock on variations are rewritten on every sync.
How it works day to day
| You do this at the POS | The website does this within 15 minutes |
|---|---|
| Add a new option to an existing item | A new variation appears under the product |
| Change an option's price or count | The variation updates |
| Delete an option | The variation is made private (hidden from shoppers) |
| Create a brand-new item with options | One new product with its variations |
| Enter a part under its parent as a variant (variations catalog) | It shows as an option on the parent's page |
Behind the scenes
- One barcode, one product. The website can give a barcode to only one product. If a second POS item carries the same barcode, the second one lands on the website without it, under a placeholder part number that starts with POS-. Searching the website by that part number will miss it. The fix is at the POS: keep the original, move its shelf count onto it, delete the copy. See POS errors explained.
- A variant that briefly looks like its own product. When a register creates a new item with options, the 15-minute sync can meet one of the options before the item itself. The option then shows as a separate product with no barcode and no stock. The plugin recognises these pairs and folds the extra page into the real option: barcode, stock, open pickup holds and photo move across, the extra page is hidden, and History records a merge naming both. Nothing for you to do.
- Chains. In a multi-store chain the main location owns the products and the other stores add their own stock to them, matched by SKU. Shoppers see one product page with per-store availability.
Common problems and related articles
- "The same part shows twice on the website, one in stock and one sold out." Two POS items share one barcode. See POS errors explained: duplicate barcodes and the others.
- "Searching by part number finds nothing." That product has a placeholder POS-… SKU because another product holds its barcode. Fix the duplicate at the POS; the website follows.
- "An option disappeared from the website." It was removed at the POS, so it is private on the website. Add it back at the POS if that was a mistake.
- "Shipping weight on a variation is wrong." The POS has no sizes or weights. Add them on the website variation; the sync never overwrites them.