How to make GS1 QR codes for your WooCommerce products
Each label you print without a GS1 QR code is a label you may reprint once stores scan 2D barcodes. WooCommerce 9.2 already stores your GTINs. This guide turns that export into print-ready codes for every product.
DLCode · Updated · 6 min read
What you need
- WooCommerce 9.2 or later. This version added the GTIN field to products.
- A GTIN from GS1 for each product you sell in stores. See How to get a GTIN.
- Access to WP Admin with permission to export products.
The GTIN is the number under your barcode, usually 12 or 13 digits. The QR code holds the same number, so you do not need a new one.
Add the GTIN to each product
WooCommerce 9.2 added a field called "GTIN, UPC, EAN, or ISBN" to the product editor.
- In WP Admin, go to Products > All Products and open a product.
- In the Product data box, click the Inventory tab.
- Enter the number in the "GTIN, UPC, EAN, or ISBN" field.
- Click Update.
For a variable product, each variation has its own field. Open the Variations tab and click a variation to expand it. Enter its number in the "GTIN, UPC, EAN, or ISBN" field, then click Save changes at the bottom of the variations list.
Export your products as a CSV
The built-in product exporter writes the GTIN to a column called "GTIN, UPC, EAN, or ISBN".
- In WP Admin, go to Products > All Products.
- Click Export at the top of the page.
- Keep the default, Export all columns.
- Keep the default product types and categories, so the file includes every product and variation.
- Click Generate CSV. Your browser downloads the file when the export is done.
Upload the file and get your codes
DLCode reads the "GTIN, UPC, EAN, or ISBN" column and makes one code for each product or variation with a GTIN. Rows with no GTIN are skipped.
- Sign in at dlcode.org and open Import.
- Choose the WooCommerce export file.
- In Your store address, enter your store's address, such as https://yourbrand.com.
- Click Import.
- Fix any rows listed under Check these rows.
- Click See products and download the print files.
DLCode checks each GTIN's check digit before it adds the product. Each print file is an SVG with the barcode and the QR code 4 mm apart at 1:1 scale.
For sizes and quiet zones, see Print specs for a QR code next to your UPC or EAN.
Where each scan goes
A phone scan opens the product page in your store. A checkout scanner reads the GTIN from the code and rings up the product.
The WooCommerce export has no product page column, so DLCode builds each link from your store address and the product ID, such as https://yourbrand.com/?post_type=product&p=123. WordPress opens the product page from this link, and it keeps working if you change the product's slug.
A variation's code opens its parent product page.
You can change where a scan goes at any time. The change applies from the next scan, and you do not reprint.
Sunrise 2027 for WooCommerce stores
Sunrise 2027 is the GS1 US name for the move from linear barcodes, such as the UPC, to 2D barcodes, such as QR codes, at retail checkouts. The target is the end of 2027, and the labels you print today can still be on shelves then.
Keep printing your UPC or EAN. Add the QR code within 50 mm of it. Checkouts that cannot read 2D barcodes still need the UPC. Every run you print without the QR code is a run you may have to redo.
See Sunrise 2027: how to add a GS1 Digital Link QR code to your packaging.
Checklist
- Update to WooCommerce 9.2 or later.
- Enter a GS1 GTIN in the "GTIN, UPC, EAN, or ISBN" field for each product and variation.
- Export all products with the default settings.
- Upload the CSV at dlcode.org with your store address.
- Check that each link opens the correct product page.
- Download the print files and place each QR code within 50 mm of its barcode.
- Print a proof and scan it with two or three phones.
Get it done this week with DLCode
Upload one CSV and get a print-ready barcode and GS1 QR code for every WooCommerce product and variation.
- DLCode reads the built-in "GTIN, UPC, EAN, or ISBN" column, so there is nothing to retype.
- Each GTIN check digit is checked before the product is added, so bad numbers never reach the printer.
- Each scan opens the right product page, and the link keeps working if you change a slug.
- Change where a code goes at any time without a reprint.
- Print files have no watermark and do not expire.
Start free for 10 products, with no card. When you need more, pay once from $249 for 25 products. Hosting and unlimited scans are included through December 31, 2030, with no subscription. Packs are $249 for 25 products, $499 for 100 and $1,490 for 1,000. New accounts can try the 25-product pack free for 30 days. See GS1 QR codes for WooCommerce.
Your codes can be ready before your next print run. Start free or See pricing.
Sources
- Product CSV Importer and Exporter · WooCommerce
- WooCommerce 9.2: A better experience for all users · WooCommerce Developer Blog
- Variable Products · WooCommerce
- class-wc-product-csv-exporter.php · WooCommerce on GitHub
- What is GS1 Sunrise 2027? · GS1 US
- 2D Barcodes at Retail Point-of-Sale Implementation Guideline, Release 1.0 · GS1
Get your QR code
Get a print-ready file with your barcode and a GS1 Digital Link QR code side by side. 10 products free, and pack features free for 30 days. No card. Then pay once from $249.