How to make GS1 QR codes for your Ecwid by Lightspeed products
Every label you print without a GS1 QR code misses the move to 2D barcodes at US checkouts. Ecwid by Lightspeed already keeps your GTIN in the UPC attribute. This guide shows how to export it and get a print-ready barcode and QR code for every product.
DLCode · Updated · 5 min read
Your GTIN goes in the UPC attribute
Ecwid by Lightspeed stores the GTIN in a built-in attribute called UPC. In the CSV file, the column is product_upc. A GTIN is the number printed under your UPC or EAN barcode.
Ecwid says the UPC attribute is also called EAN in Europe, JAN in Japan and ISBN for books. You can rename it in Settings → Product Types. The CSV column stays product_upc.
A product variation, such as a size or color, can have its own UPC value. Every variation you sell needs its own GTIN from GS1. See How to get a GTIN for your products in the US.
Add a GTIN to a product
- In your Ecwid admin, go to Catalog → Products.
- Choose a product.
- Go to the Attributes tab.
- Enter the GTIN in the UPC field.
- Click Save.
To fill the UPC field for many products at once, use the Bulk Product Editor. You can also import a CSV file with a product_upc column.
Export your catalog as a CSV file
Catalog export is available on the Venture, Business and Unlimited plans.
- In your Ecwid admin, go to Catalog → Data Import & Export.
- Scroll down to the Export data block.
- Click Export Catalog.
A CSV file of all your products and categories downloads to your device. Do not edit it before you upload it.
To export only some products, go to Catalog → Products. Click Filter, tick the products and click Export Selected. You can also search the product list and click Export All Found.
The file uses commas between values. If you set a comma as the decimal separator in Settings → General → Regional Settings → Price display format, the file uses semicolons. DLCode reads both.
What DLCode reads from the file
Each row in the export has a type column, such as product, product_variation or category. DLCode makes a code for each row with a value in product_upc. Rows without one, such as categories, get no code.
| Column | What DLCode uses it for |
|---|---|
| product_upc | The GTIN in the QR code and the barcode |
| product_name | The product name |
| product_variation_option_{Option name} | The variation name, such as Size or Color |
| product_brand | The brand |
| url | The product page where a scan opens |
Variation rows carry the product_internal_id of their product. A variation without its own name, brand or link uses the values from its product.
Upload the file and download your print files
- Sign in at dlcode.org and open Import.
- Upload the CSV file from Ecwid.
- Leave Your store address blank. The file already has full product links.
- Review any rows that DLCode lists under Check these rows.
- Download one print-ready SVG for each product.
DLCode checks each GTIN's check digit before it makes the file. Each SVG has the barcode and the QR code 4 mm apart at 1:1 scale.
See DLCode for Ecwid by Lightspeed for more on the import.
Each scan opens the product page
The url column holds the address of the product in your storefront. DLCode uses it as the link for each code. A shopper who scans the QR code with a phone lands on that page.
A checkout scanner reads the GTIN from the code and rings up the product. It does not open the page.
You can change where a scan goes at any time in DLCode. The change applies from the next scan, and you do not reprint the label.
Sunrise 2027 and your labels
Sunrise 2027 is the GS1 US name for the retail move from 1D barcodes, such as the UPC, to 2D barcodes, such as QR codes. Labels you print this year will still be on shelves in 2027. Add the QR code now and you skip a second print run.
Keep printing your UPC or EAN barcode. Print the QR code within 50 mm of it. See Sunrise 2027: how to add a GS1 Digital Link QR code to your packaging.
Get it done this week with DLCode
Upload your Ecwid catalog export once and download print-ready codes for every product today.
- DLCode reads product_upc and the url column, so every code opens the right product page with no extra setup.
- Comma or semicolon files both work. Upload the export exactly as Ecwid made it.
- Each SVG has the barcode and QR code 4 mm apart at 1:1 scale, with no watermark.
- Change where a scan goes any time with no reprint. Packs add lot codes, batch recalls, country pages and a free domain.
Start free for 10 products, with no card. When you need more, pay once: $249 for 25 products, $499 for 100, or $1,490 for 1,000. Hosting and unlimited scans are included through December 31, 2030. No subscription.
Get your Ecwid products ready for 2D checkouts now. Start free, or see pricing.
Checklist
- Every product and variation you sell has its own GTIN from GS1.
- Each GTIN is in the UPC attribute of its product or variation.
- You exported the catalog from Catalog → Data Import & Export.
- You uploaded the CSV file to DLCode without editing it.
- Each product links to the right page in your store.
- You printed a proof and scanned it with two or three phones.
- The QR code sits within 50 mm of the barcode on the label.
Sources
- Exporting your store catalog · Ecwid by Lightspeed
- List of supported CSV columns · Ecwid by Lightspeed
- Product types and attributes · Ecwid by Lightspeed
- Format guidelines for the CSV file · Ecwid by Lightspeed
- Sunrise 2027 · GS1 US
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.