A barcode scanner is the cheapest speed upgrade a shop can buy. It turns a four-second product search into a beep. The good news for anyone running a WooCommerce POS is that setting one up is far less technical than people expect — most scanners need no driver, no software and no configuration at all.

This guide covers choosing a scanner, getting barcodes onto your WooCommerce products, and the two or three things that actually go wrong.

How a barcode scanner really works

The mental model that saves you hours: a barcode scanner is a keyboard. It reads a barcode, types the digits very fast, and presses Enter. That is the whole trick. It is called HID or “keyboard wedge” mode, and it is the default on virtually every scanner sold.

Which means the POS does not need a driver. It needs to notice that a burst of characters arrived far too quickly to have come from human fingers, and treat that as a scan rather than a search. OpenPOS auto-detects hardware scanners on this basis, so plugging one in generally just works.

Choosing a scanner

Wired USB

Cheapest, most reliable, no batteries. Perfect for a fixed counter. If your register is a desktop or a laptop, buy this and stop reading.

Bluetooth

Necessary if your register is a tablet, or if you need to scan items in a queue or on shelves. Pair it as a keyboard, not as a serial device. The trade-off is a battery to charge and an occasional re-pair.

1D vs 2D

A 1D laser scanner reads the striped barcodes on retail packaging (EAN-13, UPC, Code 128). A 2D imager reads those plus QR codes and DataMatrix, and reads them off a phone screen — which matters if you accept digital gift cards or loyalty QR codes. 2D costs a little more and is the safer buy in 2025.

The device camera

OpenPOS can scan barcodes and QR codes with the camera of the phone or tablet running the register. This is genuinely useful for a market stall, a pop-up or a stock count in the back room. It is slower than a hardware scanner and it will annoy you at a busy counter.

One requirement people trip over: browsers only grant camera access over HTTPS. If your site still runs on plain HTTP, camera scanning will silently do nothing. Install an SSL certificate first.

Getting barcodes into WooCommerce

The POS matches a scanned code against a field on the product. The two sensible choices:

  • Use the SKU field. If you are not already using SKU for something else, put the barcode there. It is built into WooCommerce, it is indexed, and it needs no extra plugin.
  • Use a dedicated barcode field. Better when SKU is your own internal code and the barcode is the manufacturer’s EAN. OpenPOS reads a separate barcode meta field for exactly this case.

Whichever you pick, be consistent, and remember that variations need their own barcodes. A t-shirt in three sizes is three different scannable products, and the barcode belongs on each variation rather than on the parent.

Bulk import

For an existing catalogue, export products to CSV with WooCommerce’s built-in exporter, add a barcode column, and re-import matching on ID. Do not type four hundred barcodes by hand — scan them into a spreadsheet. The scanner is a keyboard, remember; open a spreadsheet, click a cell, and scan. It fills the column for you, one row per beep.

Products with no barcode

Loose produce, baked goods, handmade items. Print your own labels: OpenPOS generates barcode labels from your products, so you can assign a code, print a sheet and stick them on. Any thermal or sheet label printer will do.

Weighed items and decimal quantities

If you sell cheese by the kilo, a quantity of “1” is meaningless. Two things have to be true: the POS must accept decimal quantities such as 0.375, and it should read a digital scale rather than trusting the cashier’s typing. OpenPOS supports both, which is what makes it viable for grocers, delis and zero-waste shops.

Many supermarket scales also print an embedded barcode that encodes the weight or the price into the digits. If yours does, check the format it uses before you commit to it — the layout varies by country and by scale vendor.

Troubleshooting the three common failures

The scan types into the search box instead of adding the product

The scanner is not sending an Enter key at the end. Almost every scanner ships with a manual containing configuration barcodes; scan the one labelled “add suffix CR” or “enable terminator”. You configure the scanner by scanning a barcode at it, which is the most satisfying thing in retail technology.

Digits are wrong or letters appear

The scanner’s keyboard layout does not match the computer’s. A scanner set to US layout typing into a machine set to AZERTY produces nonsense. Fix it with the layout configuration barcode in the scanner manual, not by changing your operating system.

Nothing is found, but the barcode is correct

Usually a leading zero. EAN-13 and UPC-A differ by exactly one digit, and a spreadsheet cheerfully strips leading zeros from any column it decides is a number. Import barcode columns as text.

Frequently asked questions

Do I need a special driver for WooCommerce?

No. In keyboard wedge mode the scanner needs no driver on Windows, macOS, Android or iOS.

Can I scan while offline?

Yes. The catalogue is cached on the device, so scanning matches against local data and works during an internet outage.

Can one barcode add a quantity of more than one?

Scanning the same product twice adds two. For a case of twelve, create a separate product for the case with its own barcode.

Which scanner brand should I buy?

Any HID-mode scanner works. Honeywell, Zebra and Datalogic are the durable options; a generic 2D USB imager is fine for a low-volume counter.


Test scanning yourself on the live demo (admin / admin123), or read the knowledge base for hardware-specific notes. OpenPOS includes scanner support, camera scanning, label printing and scale integration in the one-time price.

Related Post