- $USD
- English (United States)
- Hire an Expert
- Get Support
QR codes connect the physical side of your store to the online one. A QR code on a shelf tag, a box, or an invoice can open a product page, rebuild a past order, or check a customer in at an event, and any smartphone camera can read it.
WooCommerce does not generate QR codes on its own, but with the right plugin you can create them for every product and order in a few clicks. This guide shows you how to set up a WooCommerce QR code generator, choose what each code links to, display codes on your store, and print them on labels.
Why Use QR Codes in WooCommerce?
QR codes are 2D codes, so they can store much more than a traditional barcode, including full web addresses. That makes them useful in places where linear barcodes are not:
- Phone scanning: Customers and staff can scan them with any phone camera, no special scanner required.
- Links: A QR code can open a product page, a setup guide, a warranty form, or any other URL.
- Small spaces: They hold a lot of data in a small square, which suits tags and packaging.
- Damage tolerance: QR codes include error correction, so they often still scan when partly scratched or creased.
This guide uses Barcode and QR Code for WooCommerce, which generates QR codes and 12 other barcode formats for both products and orders.
Step 1: Choose QR Code as the Protocol
Go to WooCommerce > Settings > Bar and QR Codes > Product Barcodes and set Product Barcode Protocol to QR Code.
Not sure QR Code is right for you? Here is how it compares with the other 2D formats the plugin supports:
| Format | Strengths | Choose It When |
|---|---|---|
| QR Code | Read by every phone camera, holds full URLs | Customers will scan it, or it needs to open a web page |
| Data Matrix | Very small footprint | Labelling tiny items like electronics or components |
| Aztec Code | Scans well even when damaged, no quiet zone needed | Tickets and passes shown on screens |
| PDF 417 | Stores large amounts of data | Documents and shipping paperwork |
For most stores, QR Code is the right choice because customers already know how to scan it.
Step 2: Decide What the QR Code Links To
The Barcode Generation Method controls what is encoded in each QR code. These options work especially well with QR codes:
- Product Page URL: Each product gets a QR code that opens its own product page. Perfect for shelf tags, catalogs, trade show stands, and packaging inserts.
- Custom URL: Point the code at any address you choose, such as a setup video, a manual, a warranty registration form, or a landing page.
- Product SKU or Product ID: Encode the identifier instead of a link, so staff can scan the QR code to find the product in your store.
- WooCommerce GTIN: Encode the product's GTIN, UPC, EAN, or ISBN value.
The Product Page URL and Custom URL methods are designed for the QR Code protocol, because linear barcodes cannot hold long web addresses reliably.
Step 3: Generate QR Codes for Your Products
When you use the SKU or product ID, you can limit generation to all products, specific products, or selected categories, and include or exclude items. Then:
- Turn on Enable Missing Barcodes Only if some products already have codes you want to keep.
- Save your settings.
- Click Generate Barcodes to create QR codes for every matching product.
- Turn on Auto Apply on New Product so new products get a QR code automatically.
Give Individual Products Their Own QR Code
Some products need a different code from the rest of the catalog, such as a product with its own setup video. Open the product, go to Product Data > Product Barcode, and enable a product-specific barcode. You can choose a different protocol and generation method for that product, such as QR Code with a Custom URL, and generate, print, or delete its code right there.
See the product level settings documentation for details.
Step 4: Show QR Codes on Your Store
Back on the Product Barcodes tab, you can display each product's QR code on its single product page. Choose where it appears:
- Before the Add to Cart button
- After the Add to Cart button
- After the product meta
You can also include product codes in order confirmation emails and show the encoded value as readable text under the code.
Step 5: Generate QR Codes for Orders
Order QR codes are ideal for pickups, tickets, and packing. Go to Bar and QR Codes > Order Barcodes, set the protocol to QR Code, and choose a generation method:
- Order ID or Order Number for internal fulfillment.
- Custom Field for a reference from another system.
- Random Token for a code that cannot be guessed. Use this for tickets and pickups.
Turn on Auto Apply on New Order, and show the QR code on the admin order page and in order emails so customers have it on their phone when they arrive.
Add a Reorder QR Code
On the same tab, you can add a reorder QR code to order emails and labels. When a customer scans it, every item from that order is added to their cart, and they land on the cart or checkout. It is a simple way to make repeat purchases effortless.
Full details are in the order barcode documentation.
Step 6: Print QR Code Labels
To put QR codes on shelves, boxes, and products, go to Bar and QR Codes > Barcode Printing:
- Label Design: Choose a preset for A4 sheets, US Letter sheets, or roll and thermal labels, then set the QR Code Size in millimeters under Label Content Style.
- Label Fields: Choose what prints next to the QR code, such as the product title, price, or SKU.
- Preview: Check a product's label and print a test page on plain paper.
- Print: Print labels for all products, selected products, or a range of orders, or select products in the Products list and choose Print barcode labels from Bulk actions.
Tips for QR Codes That Always Scan
- Print them large enough: Aim for at least 2 cm (about 0.8 in) square for codes scanned with a phone, and bigger for codes scanned from a distance.
- Keep a margin: Leave empty space around the code. Codes that touch text or the label edge often fail.
- Use dark on light: Black on white scans best. Avoid low-contrast colors.
- Keep URLs short: Shorter links create simpler QR codes that are easier to scan at small sizes.
- Test before printing in bulk: Scan the test page with a couple of different phones.
- Never change a URL after printing: If a printed code points to a page, keep that page live or redirect it.
Start Generating QR Codes
A WooCommerce QR code generator turns every product and order into something customers and staff can scan with a phone. Start with Product Page URL codes on your shelf tags or packaging, then add order QR codes for pickups and tickets.
Get the QR code generator for WooCommerce and follow the product barcode documentation to set it up.
For the full picture on barcodes, labels, and scanning, read our complete guide to WooCommerce barcodes.
Frequently Asked Questions
Can WooCommerce generate QR codes without a plugin?
No. WooCommerce can store a GTIN value for each product, but it cannot create QR code images. You need a QR code generator plugin.
Can a QR code open a WooCommerce product page?
Yes. Choose the Product Page URL generation method with the QR Code protocol, and each product's QR code opens its own product page when scanned.
Can I create QR codes for WooCommerce orders?
Yes. Set the order barcode protocol to QR Code and choose a generation method such as Order Number or Random Token. Order QR codes can be shown in order emails and on the admin order page.
Can I use a different QR code for one product?
Yes. Enable a product-specific barcode in the product's barcode settings and choose its own protocol and generation method, such as a Custom URL.
What size should a printed QR code be?
For phone scanning, print QR codes at least 2 cm (about 0.8 in) square, with a clear margin around them. Increase the size if the code will be scanned from further away.
Can I print QR codes on a thermal label printer?
Yes. Choose the roll or thermal print mode and set the QR code size in the label design settings.

