WordPress 5 min read
Updated By Adam Dawson

How to Print Product Barcode Labels in WooCommerce

Print WooCommerce product barcode labels from order items. Set up SKU bindings, choose Code128 or EAN and check your labels before printing a batch.

How to Print Product Barcode Labels in WooCommerce

Checked with Free version 1.2.0. Screenshots use a local demo shop and fictional customer details. Your order numbers and product names will differ.

A barcode label can help you match a physical item to its WooCommerce record when picking, packing or checking stock. The useful part is a consistent identifier that your scanner and stock process recognise. Printing a barcode does not create an inventory process or assign a retail barcode number for you.

This guide prints labels using products already present in a WooCommerce order. There is no separate product-catalogue batch picker in the current plugin. If you need thousands of shelf labels straight from your catalogue, check that limitation before choosing this workflow.

Before you start

  • A working WooCommerce shop, WordPress 6.8 or later and PHP 8.1 or later with mbstring.
  • Permission to manage WooCommerce and install plugins.
  • An existing order containing the products you want to label. Start on staging with fictional data.
  • A unique SKU on each relevant product or variation, or a valid EAN identifier if that is what your stock process uses.
  • A printer, suitable stock and the scanner you will actually use.

WooCommerce explains the product fields in its official product management guide. Check the variation SKU as well as the parent product when selling variations.

1. Install the Free designer

  1. Open Plugins → Add Plugin in WordPress and search for DawsonyWeb Label and Document Designer.
  2. Check the author is DawsonyWeb and the directory slug is dawsony-print-label-designer. You can also download the ZIP from the official Free listing, then use Upload Plugin.
  3. Install and activate it with WooCommerce active. Open Labels & Docs in the sidebar.

2. Open the product barcode starter

  1. Choose Product barcode · 100 × 50 from your templates. The size is in millimetres.
  2. Select your test order under Preview order. If it is not listed, use Find an order with its order ID.
  3. Select the product under Current item. Order only does not provide a product context.
  4. Check the preview shows the real product name and SKU, rather than a fallback or an empty value.
Free label designer with a product barcode template and a fictional order item selected
The product starter uses the selected order item. Sample data is fictional.

3. Bind the information you need

  1. Select a text element or add one with Text.
  2. In Live order data, search for the product or item field you need. Clicking a field binds it to the selected element.
  3. Use the product SKU for the barcode and a separate text element for a readable SKU. Product names can use the item name field.
  4. Inspect the selected element's Data binding panel. A fallback can help ordinary text, but do not use a shared placeholder barcode for products missing identifiers.

The starter's barcode already binds to product.sku. If that product has no SKU, fix the product first. The designer does not allocate identifiers or guarantee their uniqueness.

4. Choose a barcode format and arrange the label

  1. Select the barcode and check Barcode format. Code128 suits an internal alphanumeric SKU such as DEMO-101.
  2. Use EAN-13 or EAN-8 only with the correct digit count and valid check digit. Do not pad or invent a retail identifier to make an error disappear.
  3. Keep clear white space around the code. Avoid logos, borders or text touching its edges.
  4. Move and resize the name and SKU elements. Keep long names within their boxes; use the text fitting controls or increase the box height.
  5. Choose Once per line item for one label per order line, or Once per quantity for one per whole item quantity. Fractional quantities are not supported in quantity mode.
  6. Save the template under a name that describes the stock and purpose.

Code128 accepts printable ASCII values up to 80 characters. A smaller barcode is not always a better label: dense values need more physical space, and unreadable code sizes are rejected.

5. Generate, print and scan a sample

  1. Choose Generate PDF and download the file. Free manual batches allow up to 20 orders and 100 labels.
  2. Open it in your PDF viewer. Choose the matching paper size and Actual size or 100%. Turn off Fit to page.
  3. Print one sample on the intended printer and stock.
  4. Scan the printed barcode into a plain text field. Check the result exactly matches the SKU, including leading zeroes and punctuation.
  5. Check that the scanned value identifies the intended item in your own stock workflow before printing a batch.

The plugin generates a PDF. It does not silently print, talk directly to your scanner or automatically update stock when a barcode is scanned. For sheets, use the A4 sticker alignment guide.

Common problems

  • Blank barcode: select a Current item and check that item's product or variation SKU. Previewing an order alone is not enough.
  • Wrong product: check Current item, label iteration and the actual order line. Do not assume the first preview represents every label in a batch.
  • EAN validation fails: check the original identifier, length and check digit. Use Code128 for ordinary internal SKUs.
  • Scanner cannot read it: increase the code size, restore clear space, use actual-size printing and check printer quality. A readable screen preview is not a physical scan test.
  • Text will not fit: enlarge the box, reduce the font or enable shrink to fit with a sensible minimum. Generation stops when text cannot fit rather than silently dropping it.

Related guides

Read the full setup guide and Free/Pro limits or see the plugin features and examples.

Share this article

Back to Blog