- $USD
- English (United States)
- Hire an Expert
- Get Support
Product barcodes tell you what an item is. Order barcodes tell you whose parcel it is, whether it has been packed, and whether the customer standing in front of you has actually paid. For stores that ship, offer pickup, or sell tickets, they are one of the simplest ways to cut mistakes in fulfillment.
In this guide, you will learn how to add a barcode to every WooCommerce order, show it where your team and customers need it, print order labels, and scan orders to update their status, verify pickups, or check in tickets.
What Are WooCommerce Order Barcodes?
An order barcode is a scannable code linked to a single WooCommerce order. When it is scanned, the store finds that order instantly, without anyone typing an order number or searching by customer name.
Order barcodes are commonly used for:
- Packing and shipping: Scan the label on a box to confirm the right order and mark it complete.
- Click and collect: Customers show the barcode from their confirmation email, and staff scan it to find the order.
- Event and booking tickets: Scan at the door to check the ticket in.
- Returns: Scan the original order label to update the order when the parcel comes back.
- Paperwork: Put a scannable code on order labels so anyone in the warehouse can look up the order.
WooCommerce does not generate order barcodes on its own. This guide uses Barcode and QR Code for WooCommerce, which handles product and order barcodes, label printing, and scanning in one plugin.
How to Add Barcodes to WooCommerce Orders
Go to WooCommerce > Settings > Bar and QR Codes > Order Barcodes and set up the following.
1. Choose the Barcode Protocol
Order barcodes have their own protocol setting, separate from your product barcodes. For most stores, one of these works best:
- Code 128: A compact linear barcode that handheld scanners read quickly. Ideal for packing slips and shipping labels.
- QR Code: Easy to scan with a phone camera and works well in emails and on printed tickets.
Other formats, including Data Matrix, PDF 417, and Aztec Code, are also available if your scanning equipment or partners need them.
2. Choose What the Barcode Contains
The Barcode Generation Method decides the value encoded in each order barcode:
| Method | What It Uses | Best For |
|---|---|---|
| Order ID | WooCommerce's internal order ID | Simple internal fulfillment |
| Order Number | The order number customers see, including custom numbering | Stores that use sequential or custom order numbers |
| Custom Field | Any value stored on the order, such as a reference from another system | Stores connected to an ERP, 3PL, or shipping system |
| Random Token | A unique code that cannot be guessed | Tickets, pickups, and anything that grants access |
Why Random Token matters: order IDs and order numbers are sequential, so anyone who knows one can guess the next. If a barcode lets someone collect goods or enter an event, use a random token. It works with the QR Code and Code 128 protocols.
3. Generate Barcodes for Existing Orders
Click Generate Order Barcodes to add codes to all existing orders. Turn on Enable Missing Barcodes Only first if some orders already have codes you want to keep. Save your settings before generating, as the button is disabled until you do.
4. Add Barcodes to New Orders Automatically
Turn on Auto Apply on New Order so every new order gets a barcode the moment it is placed. Without this, you would need to generate codes again for each new batch of orders.
5. Choose Where Order Barcodes Appear
- Show Barcode in Admin Order Page: Display the code on the order details screen in your dashboard.
- Show Barcode in Order Emails: Include the code in order confirmation emails, so customers have it ready for pickup or event entry.
For every option, see the order barcode documentation.
How to Print WooCommerce Order Labels
Once orders have barcodes, you can print labels for boxes, bags, or paperwork. Under Barcode Printing > Label Fields, choose what each order label shows. You can include:
- Order number and order date
- Customer name and billing phone
- Shipping address and shipping method
- Order total, item count, and order status
- A reorder QR code
Drag the fields into the order you want them printed from the top of the label. Then print in one of two ways:
- By order range: On the Print tab, enter the first and last order ID and download a PDF or print directly.
- From the Orders list: Select orders in WooCommerce > Orders and choose Print barcode labels from the Bulk actions menu.
The same Bulk actions menu has a Print item labels option, which prints product labels for the items in the selected orders. It is handy when pickers need to label items as they pack them.
Labels can be printed on A4 or Letter sheets or on thermal label printers, using the layout you set under Label Design.
How to Scan WooCommerce Order Barcodes
Add the [fme_order_barcode] shortcode to a page that only your staff can access, then set up the order scanner under Bar and QR Codes > Scanning > Order Scanner.
Change the Order Status on Scan
Choose what happens to an order when it is scanned. You can move it to Pending Payment, Processing, On Hold, Completed, Cancelled, Refunded, or Failed, or leave the status unchanged and use the scan only to look the order up. You can also show Processing and Complete buttons on the scanner for manual changes.
Common setups:
- Packing station: Set to Completed, so each boxed order is completed with one scan.
- Warehouse intake: Set to Processing when picking starts.
- Returns desk: Set to Refunded or On Hold.
Check In Tickets with Order Barcodes
If your orders are tickets, turn on Check-in mode. A scan then validates the ticket instead of changing the order status. You can also:
- Set tickets to never expire, expire a set number of hours after payment, or expire on a date saved on the order.
- Choose which order statuses can be checked in, such as Processing and Completed, so unpaid or refunded orders are refused.
Use Random Token order codes with check-in, so nobody can create a valid ticket by guessing an order number. See the check-in documentation for every setting.
Keep a Record of Every Order Scan
Turn on the scan log under Scanning > General to record every scan that changes an order status, including who scanned it, when, and the status before and after. Filter the log and export it to CSV whenever you need an audit trail.
Find Orders by Barcode in the Admin
The WooCommerce Orders list shows a Barcode column, and you can search the list by barcode. Scan or paste a code into the search box to jump straight to the matching order. See barcodes in the Orders list for details.
Add a Reorder QR Code to Orders
Order barcodes are not only for your team. A reorder QR code on order labels and emails lets customers scan it to add every item from that order straight back into their cart. You choose whether they land on the cart or go straight to checkout, and whether the QR code replaces their current cart or adds to it. It works well for consumables and supplies that customers buy again and again.
Look Up Orders by Barcode from Other Systems
If your warehouse, POS, or mobile app scans barcodes outside WordPress, the plugin's order lookup REST API endpoint returns matching orders with their number, status, total, currency, customer ID, and creation date. Requests are authenticated with a WooCommerce REST API key, so order data stays protected. Endpoint details are in the order lookup documentation.
Order Barcode Best Practices
- Turn on auto-apply so no new order is missed.
- Use Random Token codes for pickups and tickets.
- Use QR codes in emails because customers will scan them from a phone screen.
- Use Code 128 on shipping labels if your team uses handheld scanners.
- Limit scanner access to staff roles only.
- Review the scan log when an order status looks wrong.
Get Started with Order Barcodes
Order barcodes take only a few minutes to set up and pay off from the first busy shipping day. Generate codes for your existing orders, turn on auto-apply, add them to emails, and set up a scanner page for your packing station.
Get Barcode and QR Code for WooCommerce to add, print, and scan order barcodes, and follow the documentation to set it up step by step.
Want the bigger picture on product barcodes, labels, and scanning? Read our complete guide to WooCommerce barcodes.
Frequently Asked Questions
How do I add a barcode to a WooCommerce order?
Install a barcode plugin, go to the order barcode settings, choose a protocol and generation method, and click Generate Order Barcodes. Turn on Auto Apply on New Order so every new order gets a barcode automatically.
Can customers see their order barcode?
Yes. Turn on Show Barcode in Order Emails to include the barcode in order confirmation emails.
Which barcode type is best for WooCommerce orders?
QR Code is best for emails and tickets scanned with a phone. Code 128 is best for packing slips and shipping labels scanned with handheld scanners.
Can I use order barcodes as event tickets?
Yes. Use Random Token order codes, include them in order emails, and turn on check-in mode for the order scanner. Each scan validates the ticket, with optional expiry rules and allowed order statuses.
Can I print barcode labels for multiple orders at once?
Yes. Select orders in the Orders list and choose Print barcode labels from Bulk actions, or print a range of order IDs from the Barcode Printing settings.
Can scanning an order barcode change its status?
Yes. Set the order scanner to move scanned orders to any status, such as Processing, Completed, On Hold, or Refunded.

