WooCommerce Barcode Inventory: Codes, Labels, Scanners and Counts
Choose the right codes, print labels that scan, and sell, receive and count WooCommerce stock by barcode.
WooCommerce barcode inventory means giving every product and variation a unique scannable code, storing it on the product (in the SKU, the GTIN field or a POS barcode field), and using scans to sell, receive and count stock. Use the manufacturer’s GTIN where one exists, print in-store Code 128 labels for everything else, and test every code once before you rely on it.
This guide is for WooCommerce shop owners who want to sell at a counter, receive deliveries and count stock by scanning instead of typing. It is written by the team behind choPOS, a point of sale plugin for WooCommerce, and it says plainly where other tools fit better.
Key takeaways
- A barcode is only a fast way to type a code. The work is choosing one unique code per sellable item and storing it where your POS and stock tools look for it.
- Use the manufacturer’s GTIN (UPC or EAN) when the product already has one. Only buy GS1 codes if you make products that other retailers or marketplaces will sell.
- For your own items, in-store codes printed as Code 128 labels are fine. Keep them inside your shop.
- WooCommerce has no native scan-to-count screen. Stock takes need a counting add-on or a spreadsheet plus careful stock edits.
- Most scanning problems come from three things: duplicate codes, scanner suffix settings and labels stuck on the wrong variation.
What is barcode inventory in WooCommerce?
Barcode inventory means every sellable item carries a scannable code, and every stock movement (a sale, a delivery, a count) starts with a scan. In WooCommerce the code lives on the product or variation, and the scan looks that product up.
A typical USB or Bluetooth scanner behaves like a keyboard: it types the code into whatever field has focus and presses Enter. It knows nothing about your shop. Your POS or inventory plugin does the matching against the product fields it was built to search. So barcode projects succeed or fail on data, not hardware. You need three things:
- One unique code per sellable item. A T-shirt in three sizes and two colours is six items, so six codes.
- The code stored where your tools look. If your POS matches the SKU but your codes sit in a different field, scans will find nothing.
- A label on every item that does not already carry a readable code.
Get those right and the rest is ordinary setup. If you are still choosing a till system, our guide to choosing a WooCommerce POS covers the wider decision.
GTIN, SKU or in-store code: which should you use?
Use the manufacturer’s GTIN when the product already has one, use your own in-store code when it does not, and keep the SKU as your internal product reference. You only need to buy GS1 barcodes if you are the brand owner and other retailers, marketplaces or wholesalers will sell your product.
- GTIN (Global Trade Item Number): the number behind retail barcodes, issued by the brand owner from a GS1 Company Prefix. UPC (12 digits, North America), EAN (13 digits, elsewhere) and ISBN are GTINs.
- SKU (stock keeping unit): your own product code, in the SKU field on every WooCommerce product and variation. It can be any text, such as
TEE-BLU-M. - In-store code: a code you create and print yourself for items with no manufacturer barcode.
- Restricted circulation number (RCN): a GS1 term for numbers reserved for closed environments. GS1’s prefix list reserves 040 to 049 for numbers used within a company, and 020 to 029 and 200 to 299 for restricted circulation numbers whose rules each national GS1 organisation sets (often used for weighed or price-embedded items).
GS1 codes become necessary when someone else needs to recognise your product: a stockist’s till, a wholesale buyer, or a marketplace that asks for GTINs. Google’s product data rules, for example, say to submit a GTIN when the manufacturer assigned one, to never guess or make one up, and to leave it out for custom-made items (Google Merchant Center GTIN help). Never copy a barcode from the internet onto your own product. It belongs to another company.
The “which code to use” decision table, one row per type of product you sell:
| Your situation | Code to scan | Where to store it | Buy GS1 codes? |
|---|---|---|---|
| You resell branded goods that arrive with a barcode | The manufacturer’s UPC or EAN, as printed | Your POS barcode field or SKU; also the WooCommerce GTIN field if you feed marketplaces | No |
| You make your own products and sell only in your shop and website | An in-store code (for example a 04 prefix number or a Code 128 SKU) | SKU or POS barcode field | No |
| You make products that stockists or marketplaces will sell | Your own GTIN from your GS1 Company Prefix | WooCommerce GTIN field, plus wherever your POS matches | Yes, from your national GS1 office |
| Variations of a branded product (sizes, colours) | Each variation’s own manufacturer code | On the variation, never only on the parent | No |
| Second-hand, one-off or repacked items | An in-store code printed on a label | SKU or POS barcode field | No |
| Weighed or price-embedded items (deli, bulk foods) | A variable measure code from the 02 or 20 to 29 ranges | Needs a POS that decodes weight or price from the barcode; check before you commit | No, but follow your national GS1 rules |
Which barcode type should you print?
For in-store labels, print Code 128: it holds letters and numbers, so it can encode your existing SKUs, and common scanners read it. Keep EAN-13 and UPC-A for real GTINs. Use QR codes for links and information, not as your main price label. (A symbology is the visual language of the bars.)
| Symbology | What it holds | Best for | Watch out for |
|---|---|---|---|
| EAN-13 | 13 digits, the last is a check digit | Retail GTINs outside North America, books (ISBN) | Numbers only; the check digit must be correct |
| UPC-A | 12 digits, the last is a check digit | Retail GTINs in the US and Canada | Some scanners send it as 13 digits with a leading zero; match what your products store |
| EAN-8 / UPC-E | Short forms of the above | Very small packs | Issued sparingly; you rarely create these yourself |
| Code 128 | Letters, numbers and symbols, variable length | In-store labels, SKUs, shelf and bin labels | Long codes print wide; keep SKUs short for small labels |
| QR code | Text or a web address, in two dimensions | Links to product pages, care instructions, staff lookups | Needs a 2D imager or camera; older laser scanners cannot read it |
GS1 US describes Sunrise 2027 as a transition from 1D UPC barcodes to 2D barcodes such as QR codes. The practical point for a small shop: if you buy a scanner now, pick a 2D imager, which reads both kinds.
How do you add barcodes to WooCommerce products?
Open each product (or each variation), go to the Inventory section, and enter the code in the field your POS matches: the SKU, the core “GTIN, UPC, EAN or ISBN” field, or a POS plugin’s own barcode field. For variable products, enter a code on every variation, not only on the parent product.
WooCommerce 9.2 added a core field, stored as global_unique_id and labelled “GTIN, UPC, EAN or ISBN”, to the classic product editor for products and variations. It behaves like the SKU and checks that the value is unique across products (WooCommerce 9.2 pre-release notes). It is the natural home for real GTINs, especially for marketplace feeds. The catch is that each plugin decides which fields it searches, so a code can live in up to three places:
- SKU: searched by almost every POS and inventory plugin, but an EAN in the SKU replaces your readable internal reference.
- Core GTIN field: the standard place for manufacturer codes. Check that your POS searches it.
- A plugin’s barcode field: choPOS, for example, matches a scan against the SKU or its own dedicated barcode field on products and variations. Do not assume it reads the core GTIN field: if your codes are only there, copy them into the choPOS barcode field or the SKU (see the choPOS barcode scanner documentation).
A setup that works for most shops:
- Keep your own short SKU on every product and variation (for example
MUG-01,TEE-BLU-M). - Put the manufacturer code, where there is one, in the field your POS scans, and in the GTIN field too if you use product feeds.
- For items with no manufacturer code, let your SKU be the barcode and print it as Code 128.
- For large catalogues, export products to CSV, fill in the column, re-import, then scan-test a sample.
- Scan one item of every product type at the till before you open.
How do you print barcode labels for WooCommerce?
You need label software, label stock that suits your items, and a printer. An office laser printer with A4 or Letter label sheets is enough for most small shops; a direct thermal label printer is faster if you label every delivery.
For software, there are dedicated WooCommerce label plugins, inventory suites such as ATUM sell a barcode add-on, and some POS plugins include label printing. choPOS Pro does:
- Prints Code 128 labels for products and variations.
- Layouts for A4 sheets of 21, 24, 40 or 65 labels, Letter sheets of 30 or 80, label printer rolls, or a custom size.
- You choose the fields on the label: name, variation, price, barcode, SKU and store name.
- One click creates in-store barcodes for products that have no barcode or SKU.
- “Match stock” prints one label per item in stock, handy when you first label a shop.
Its labels are Code 128, so for EAN-13 or UPC-A symbols on products you supply to other retailers, use a dedicated label tool or your GS1 office’s barcode service. The barcode label documentation covers the settings.
| Option | Good for | Trade-offs |
|---|---|---|
| A4 or Letter label sheets on an office laser printer | Occasional labelling, small catalogues, shelf labels | Cheap to start; part-used sheets waste labels; test alignment on plain paper first |
| Direct thermal label printer with rolls | Labelling every delivery, price tags, short-life items | No ink; labels fade with heat and sunlight over time |
| Thermal transfer label printer (with ribbon) | Labels that must last: stock in storage, items handled often | Needs ribbons; more setup |
| Removable adhesive labels | Gifts and items where the customer will peel the label off | Can fall off in cold or damp storage |
Two tips matter more than the printer: print at 100% scale (turn off “fit to page”), and leave blank space either side of the bars, because a shrunk barcode or text too close to the bars causes failed scans. The WooCommerce POS hardware guide compares printers and scanners in more depth.
Which barcode scanner works with WooCommerce?
Any scanner that works as a keyboard (often called HID or keyboard wedge mode) works with browser-based WooCommerce tools, because it simply types the code. Choose USB for a fixed till, Bluetooth if you move around, and a 2D imager to read QR codes or phone screens.
| Scanner type | Best for | Limits |
|---|---|---|
| USB corded, 1D laser or linear imager | A fixed counter, lowest cost | Cannot read QR codes or most phone screens |
| USB corded, 2D imager | Fixed counters; reads 1D, QR and screen codes | Costs a little more |
| Bluetooth 2D imager | Tablets, receiving deliveries, stock counts away from the till | Needs charging; pair it in keyboard mode |
| Phone or tablet camera | Occasional scans, market stalls, a backup | Slower than a dedicated scanner; depends on browser support |
At the counter: scan, the item lands in the cart, scan the next. In choPOS, USB and Bluetooth keyboard-style scanners work straight away, with adjustable timing, minimum code length and prefix/suffix settings for scanners that add extra characters, and camera scanning is available in browsers that support it. Wiring, pairing and driver details are in our receipt printer and barcode scanner setup guide.
Scan products at your WooCommerce counter
choPOS Free runs in your WordPress dashboard, works with USB, Bluetooth and camera scanning, and sells from the same WooCommerce stock as your website.
How do you receive stock by barcode?
Receiving by barcode means checking a delivery against your order, adding the quantities to stock, and labelling anything without a readable code before it reaches the shelf. In WooCommerce you do this with a purchasing tool, or by editing stock by hand after checking the delivery note. A routine that holds up:
- Match the paperwork. Compare the delivery note with your order and note shortages and substitutes.
- Check codes on arrival. Scan one unit of each line. New products or new packaging often bring barcodes your system does not know yet.
- Add the stock. Receive quantities into the branch that physically has the goods.
- Label what needs it. Print labels for items with no code, or with codes that do not scan well.
- Spot-check. Scan a few shelved items to confirm product and price.
choPOS Pro covers the purchasing side: a vendor directory, purchase orders, receiving stock into a store (reversible if you make a mistake), updating cost prices (it works with WooCommerce Cost of Goods), vendor payments, and printable purchase orders and goods received notes. You can also send a purchase’s products straight to label printing. If you need to check every carton by scanning against the order, look at a dedicated warehouse or fulfilment plugin as well. Details are in the purchases and vendors documentation, and branch stock is covered in the WooCommerce multi-location inventory guide.
How do you do a barcode stock count in WooCommerce?
WooCommerce has no built-in scan-to-count screen, so a barcode stock count needs either a counting add-on or a scanner, a spreadsheet and careful stock edits afterwards. Count one section at a time (a cycle count) rather than the whole shop at once. There are three honest options:
- A stock-take add-on. ATUM’s Stock Takes add-on builds a list of products to count, and when a stock take is completed, the counted products are updated and stock amounts reconciled (ATUM Stock Takes). Check its current scanning support before you buy.
- A barcode scanner plugin with stock actions. The Barcode Scanner (+Mobile App) plugin by UkrSolution finds products by ID, SKU or name in its free version; at the time of writing (November 2026) its listing puts the mobile app, automatic quantity changes on scan, and searching by fields such as UPC or EAN in the premium version.
- Scanner plus spreadsheet. Scan each item into a spreadsheet column (one code per row), count occurrences per code, compare with a WooCommerce stock export and correct the differences.
choPOS does not have a stock-count mode. You can edit products in the POS to correct a few items, but use one of the options above for a real count. A cycle count workflow for any of them:
- Pick a section. One shelf, category or supplier per session; count high-value and fast sellers more often.
- Freeze movement. Count before opening or after closing, or enter each section’s result immediately.
- Scan every unit. One scan per unit, unless items sit in sealed cases with a case barcode.
- Compare. Export the expected quantities for that section and compare with your count.
- Investigate big gaps before you correct them. Check for unfulfilled online orders, items held in open carts, returns not put back, and mislabelled variations.
- Adjust and record. Update stock and note the date, section and differences.
If your website and counter share stock, there is only one number to correct. Our guide to stopping overselling between your website and counter explains why a single stock source matters.
What are the most common barcode errors?
Most scanning failures come from duplicate codes, the wrong scanner suffix, codes on the parent product instead of the variation, labels printed at the wrong scale, or leading zeros that differ between UPC and EAN.
| Symptom | Likely cause | Fix |
|---|---|---|
| A scan adds the wrong product, or asks you to choose between two | The same code on two products or variations | Search the code in your products and make it unique |
| Scan types the code but nothing happens | Scanner does not send Enter, or sends a Tab or other suffix | Set the suffix to Enter with the setup barcodes in the scanner manual, or match it in your POS settings |
| Extra characters appear before or after the code | A prefix, or a keyboard layout mismatch between scanner and computer | Remove the prefix in the scanner settings, and set the scanner to the same keyboard language as the device. |
| Scanning a T-shirt adds the parent product, not the size | Code stored on the parent product, not on each variation | Give each variation its own code and clear the parent’s. |
| UPC labels do not match stored codes | Scanner sends 13 digits with a leading 0, products store 12 (or the reverse) | Pick one format, store it consistently, and set the scanner to match. |
| Labels scan slowly or not at all | Printed scaled down, too little blank margin, or faded thermal labels | Print at 100% scale, keep a margin around the bars, and reprint old direct thermal labels. |
One more mix-up: returns relabelled with the wrong variation’s label. Scan returns against the order before they go back on the shelf.
The barcode readiness checklist
The barcode readiness checklist is a ten-point test of whether your data, labels and hardware are ready for scanning. Score one point for each “yes”. At 10 you are ready; at 7 to 9, fix the gaps in your first week; below 7, fix the data before you buy more hardware.
| # | Check | How to test it |
|---|---|---|
| 1 | Every sellable product and variation has a code | Export products and filter for an empty SKU or barcode column |
| 2 | No code is used twice | Sort the export by code and look for repeats |
| 3 | Codes are stored in a field your POS actually searches | Scan five random items at the till |
| 4 | Variable products have codes on each variation | Scan two sizes of the same item and check the cart line |
| 5 | Manufacturer codes are used where they exist, and nothing is copied from another brand | Spot-check ten branded items against their packaging |
| 6 | Items without a code have a printed label | Walk one aisle and look for unlabelled stock |
| 7 | The scanner sends Enter and no unwanted prefix | Scan into a plain text editor and look at the output |
| 8 | Labels print at full scale and scan first time | Print a test sheet and scan every label on it |
| 9 | Deliveries have a receiving routine that checks new codes | Walk through the last delivery with the steps above |
| 10 | You have a written stock count method and schedule | Name the tool, the section and the date of your next count |
Setting up the counter at the same time? Work through our WooCommerce in-person POS setup guide alongside this checklist. Shops that sell the same stock on the website and in person should also read how to sell online and in store with WooCommerce, and card payments at the counter are covered in the WooCommerce in-person payments guide.
Related guides
Frequently asked questions
Does WooCommerce support barcodes natively?
WooCommerce stores codes but does not scan them on its own. Since version 9.2 it has a core “GTIN, UPC, EAN or ISBN” field on products and variations, alongside the SKU field. To scan at a counter, receive deliveries or count stock, you need a POS or inventory plugin that searches those fields, plus a keyboard-style scanner or camera scanning.
Do I need to buy GS1 barcodes to sell in my own shop?
No. If you only sell your own products in your shop and on your website, in-store codes printed as Code 128 labels work fine. You need GS1 barcodes when you are the brand owner and other retailers, wholesalers or marketplaces will sell or list your products, because their systems need a globally unique GTIN. Never reuse a barcode that belongs to another company.
Should the barcode go in the SKU field or the GTIN field?
Put it where your scanning tool looks. Many POS plugins search the SKU, some have their own barcode field, and not all read the core GTIN field. A common setup is a short internal SKU, the manufacturer code in the POS barcode field, and the same code in the GTIN field for product feeds. Test by scanning a few items before you go live.
How do I add barcodes to WooCommerce variations?
Open the variable product, go to the Variations tab, expand each variation and enter its code in the SKU, GTIN or POS barcode field. Every size and colour needs its own unique code. If the code sits only on the parent product, a scan cannot tell which variation was sold, and stock will drift on the wrong sizes.
Can I do a stock take by scanning in WooCommerce?
Not with WooCommerce alone, because it has no scan-to-count screen. You can use a stock-take add-on such as ATUM Stock Takes, a barcode scanner plugin with stock actions, or scan into a spreadsheet and then correct stock quantities in WooCommerce. Count one section at a time, before opening or after closing, and investigate large differences before adjusting.
Why does my barcode scanner type the code but nothing happens?
Usually the scanner is not sending Enter after the code, or it is sending a Tab or another suffix. Scan into a plain text editor to see exactly what it types. Then set the suffix to Enter using the configuration barcodes in the scanner manual, or set the matching prefix and suffix in your POS scanner settings.
Run your counter and your stock from one WooCommerce store
Start with choPOS Free for scanning and selling from your shared WooCommerce stock. Add Pro when you need barcode labels, purchase orders or more than one store.