Eren Labs JOURNAL TR
Store Operations

How to Print Barcode Labels for WooCommerce Products

WooCommerce stores a barcode number but prints no labels. Which number to put on the label, which barcode type, what to print on, and how to get labels that scan at the till first time.

In this article8 sections

To print barcode labels for WooCommerce products, give every product (and every variation) a code, choose the barcode type that fits that code, and print from a tool that reads your products and prints at your label size. WooCommerce itself stores the codes, in the SKU field and in its GTIN, UPC, EAN, or ISBN field, but it has no label printing. Most label problems at the till come from the first two decisions, not the printer. This guide goes through all three, with the WooCommerce details checked against its code (version 11.3.1).

You need labels when products don’t arrive with a barcode (handmade goods, your own brand, items you split from a bulk pack), when you sell variations the supplier’s barcode doesn’t distinguish, or when you want price stickers your till can scan. Yes, you can print your own; whether the number on them should be one you buy or one you make up depends on where the product will be sold.

Step 1: decide which number goes on the label#

A barcode is only a way of writing a number so a scanner can read it. The real decision is the number:

  • A GTIN (the EAN or UPC number) if the product leaves your shop. Retailers, marketplaces and Google Shopping expect a Global Trade Item Number that is registered to you. These are issued by GS1, through the GS1 office in your country, for a yearly fee. A made-up 13-digit number may scan at your own till and still be rejected, or clash with someone else’s product, anywhere else.
  • Your SKU if the product only sells in your shop. For your own till and stock counts, the barcode only has to be unique within your store. Your SKU already is, and printing it as the barcode means one code everywhere: on the label, in WooCommerce and in your stock reports.
  • The supplier’s barcode if the product already has one. Don’t relabel it; enter the existing number in WooCommerce so a scan finds the product.

GS1 also sets aside numbers starting with 2 (prefixes 20 to 29) for use inside one company, such as in-store codes, so an EAN-13 for internal use doesn’t collide with registered products. If you want EAN-13 labels without buying a range, that is the place to make them up.

Illustration: a retail barcode for goods sold through stores and marketplaces, an internal one for goods sold in your shop
Selling through retailers or marketplaces needs a registered GTIN. A barcode used only in your own shop can encode the SKU you already have.

Where the number lives in WooCommerce#

Open a product and go to Product data → Inventory. Two fields matter:

  • SKU: any text, unique across the store. WooCommerce refuses a duplicate with “Invalid or duplicated SKU”.
  • GTIN, UPC, EAN, or ISBN: WooCommerce’s own field for barcodes and marketplace identifiers, added in 2024. It is also unique per product, and it is strict about characters: WooCommerce’s product code keeps only digits, hyphens and a final X (for the ISBN-10 check digit) and drops everything else. A code like TS-RED-M cannot go here; it belongs in the SKU.

Each variation has both fields too, under its own settings on the Variations tab. Give every size and colour its own code: a barcode on the parent product tells the till “a T-shirt” but not which one, so the stock comes off the wrong row or the scan stops at a picker.

One thing WooCommerce doesn’t check is the check digit, the last digit of an EAN or UPC, calculated from the others. Type a number with one digit wrong and WooCommerce saves it; the label then prints a barcode that some scanners refuse. Run new numbers through our free GTIN check digit calculator first. If you have no SKUs yet, the SKU generator builds a consistent scheme from your attributes.

Step 2: choose the barcode type#

Barcode typeEncodesUse it for
EAN-1313 digits, the last one a check digitGTINs outside North America, and internal numbers starting with 2
UPC-A12 digits, the last one a check digitGTINs in the US and Canada
EAN-88 digitsVery small packs, with a number issued for it
Code 128Letters, digits and symbols, any lengthSKUs and other internal codes

The rule is simple: a GTIN is printed as EAN-13 or UPC-A, and anything else as Code 128. Code 128 gets wider as the code gets longer, so short SKUs make smaller, easier labels; TS-RED-M fits comfortably on a 40 mm label, a 24-character SKU struggles.

Step 3: choose what to print on#

  • A thermal label printer prints one label at a time from a roll, with no ink. Direct thermal labels are cheapest but fade and darken with heat and sunlight over months, which is fine for price stickers and shelf labels that change. Thermal transfer printers add a ribbon and last for years, for products that sit in stock or outdoors.
  • An office laser printer with sticker sheets (A4 or Letter, pre-cut into rows of labels) works well for a one-off batch, such as labelling the whole shop before you open the till. Inkjet works too, but smudges more easily.

Pick the label size before anything else, and set the same size everywhere: in the printer settings, in your operating system’s paper size, and in the label tool. Most printing problems are a mismatch between those three.

Getting labels that scan first time#

  • Print at 100%. In the browser’s print dialog, set Scale to 100% (or “Actual size”) and margins to none. “Fit to page” squeezes the bars and the scanner reads nothing.
  • Don’t shrink retail barcodes too far. An EAN-13 is about 37 mm wide at its standard size, and GS1 allows it to be scaled down only to 80% of that. Below it, cheap scanners struggle.
  • Leave blank space either side. Scanners need a clear margin (the “quiet zone”) before the first bar and after the last. Don’t let text or the label’s edge touch the bars.
  • Print the digits under the bars, so a cashier can type the code when a label is creased.
  • Test before the batch. Print one label, scan it at the till or with your phone, and check the right variation comes up. Our guide to using your phone camera as a barcode scanner shows a quick way to test without a scanner gun.

If a label scans but the till says the product isn’t found, the barcode is fine and the lookup is not: the code on the label is in a field the till doesn’t search. Our guide to the barcode scanner “product not found” error covers the three fields to check.

Printing labels from WooCommerce with Retail POS#

Retail POS is our point of sale plugin for WooCommerce, and its free version on WordPress.org includes a Labels screen. You scan or search products into a queue, set how many copies of each, check the preview and print from the browser to whatever printer you use.

Retail POS Labels screen: products scanned into a label queue with copies, and a preview of the printed labels
Retail POS (free): scan or search products into the queue, set the copies, check the preview at your label size, and print.

The label width and height are set in millimetres in the settings, along with what goes on the label: store name, product name, variant, price, the barcode and its digits. The barcode is taken from the product’s barcode field, WooCommerce’s GTIN field or the SKU. EAN-13 and EAN-8 numbers are recognised and printed as such, and anything else is printed as Code 128, which matches the rule above. There is also an option to keep a product’s barcode in step with its SKU when you save it, for shops that use the SKU as the barcode.

The same plugin then reads those labels at the counter: a scan is matched against the barcode field, then the GTIN, then the SKU, and a variation always wins over its parent. To be clear about the limits: it prints through the browser, so it works with any printer your computer can print to, and the paper size you set in the print dialog has to match the label size in the settings. Retail POS Pro, from $99 a year, adds split payments, cash drawer reconciliation and exchanges at the till.

A labelling routine that keeps working#

  1. Give every product and variation a code when you create it, not when it reaches the till.
  2. Label new stock as it is received, so nothing reaches the shelf without a code.
  3. Reprint price labels in the same session as a price change.
  4. Use the labels for stock counts too: a scanned count is faster and more accurate than a typed one, as our guide to barcode inventory in WooCommerce explains.

Printing barcode labels for WooCommerce: frequently asked questions#


Can WooCommerce print barcode labels?

No. WooCommerce stores codes in the SKU field and in its GTIN, UPC, EAN, or ISBN field, on products and on variations, but it has no label printing. You need a plugin or a label tool that reads your products and prints the barcode at your label size, through the browser or a label printer.


Can I print my own barcode labels?

Yes. For products sold only in your own shop, print your SKU as a Code 128 barcode, or an EAN-13 starting with 2, the range GS1 keeps for in-store use. For products sold through retailers, marketplaces or Google Shopping, you need GTINs registered to you through GS1; you can still print those labels yourself.


Which barcode type should I use for WooCommerce products?

Print a GTIN as EAN-13, or UPC-A in the US and Canada, and print SKUs and other internal codes as Code 128, which accepts letters and hyphens. Keep SKUs short, because Code 128 gets wider as the code gets longer.


Why won't my printed barcode scan?

Most often it was printed scaled down: set the print scale to 100% and margins to none. Other causes are a barcode squeezed below its minimum size, no blank margin either side of the bars, a faded direct thermal label, or a wrong check digit, which WooCommerce does not validate when you save the number.


Does each variation need its own barcode?

Yes, if you scan at the till or count stock by scanning. A barcode on the parent product doesn’t say which size or colour was sold, so the stock comes off the wrong row or the till has to ask. Each variation has its own SKU and GTIN fields on the Variations tab.


More in Store Operations

Keep exploring

All articles
Before you go Let Retail POS do this in WooCommerce

Run your shop counter on the products and stock already in WooCommerce. Scan items, take payment and keep in-store sales in the same system.

Explore Retail POS Get the free version

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