How to make GS1 QR codes for your Shopware 6 products
Packaging without a QR code may need a reprint as stores switch to 2D scanners. This guide shows where Shopware 6 keeps your GTIN, how to export it, and how to get a barcode and GS1 QR code for every product from one file.
DLCode · Updated · 6 min read
The GTIN/EAN field holds your barcode number
Shopware 6 stores the GTIN in the GTIN/EAN field of each product. A GTIN is the number printed under your UPC or EAN barcode.
- In your Shopware Administration, go to Catalogues > Products and open the product.
- On the General tab, find the Labelling section.
- Enter the GTIN in the GTIN/EAN field.
- Click Save.
Each variant has its own GTIN/EAN field. Open the Variants tab and click a variant name to open it. A variant inherits the GTIN of its main product until you click the chain symbol next to the field. Then enter the number for that variant.
Give every variant its own GTIN. Each size or flavor you sell needs a separate number. A GTIN has 8, 12, 13 or 14 digits.
Use GTINs licensed to your company by GS1. See How to get a GTIN for your products in the US.
Sunrise 2027: why your Shopware products need a QR code now
Sunrise 2027 is the GS1 US push for US retail checkouts to read 2D barcodes, such as GS1 QR codes, by the end of 2027. Retailers are upgrading scanners now.
GS1 guidance is to print both the UPC or EAN and the QR code, with the QR code within 50 mm of the barcode. Packaging you print today will still be on shelves in 2027. Add the QR code on this run and you skip a reprint later. See Sunrise 2027: how to add a GS1 Digital Link QR code to your packaging.
Export your products with the GTIN column
The built-in Default product profile does not export the GTIN. Its file has columns for the name, product number, prices and manufacturer, and no EAN column.
Make a copy of that profile and add the EAN field to it. You do this once.
- Go to Settings > Automation > Import/Export.
- Open the Profiles tab.
- Click the three dots next to Default product and select Duplicate.
- In the new window, change the profile name to one you will know, such as Products with EAN.
- Switch to the Mappings tab and click Add new mapping.
- In CSV name, type ean. In Database entry, select ean.
- Save the profile.
Now export the file with your new profile.
- In Import/Export, open the Export tab.
- In Select profile, choose the profile you made.
- Click Start export.
- When the export is done, open the context menu at the end of its line in Export activity and download the CSV file.
The file uses a semicolon between columns and UTF-8 text. Each variant is its own row, with the ID of its main product in the parent_id column. Your header row ends with the new column.
id;parent_id;product_number;active;stock;name;...;manufacturer_name;categories;sales_channel;propertyIds;optionIds;eanUpload the file and get a barcode and QR code for each product
In DLCode, open Import and upload the CSV file from Shopware. DLCode reads the ean column and adds each row with a valid GTIN as a product, up to the product limit of your plan.
Rows with no GTIN are not added. Fill the GTIN/EAN field in Shopware, export again, and upload the new file to add them. If a product has variants, leave the GTIN/EAN field of the main product empty unless you sell it on its own.
Each product gets one print file with the barcode and the GS1 QR code side by side. Files come as SVG, PDF, EPS and PNG with no watermark. Give the files to your designer or printer. See Print specs for a QR code next to your UPC or EAN.
Send each scan to the product page in your store
A GS1 QR code holds a web address with the GTIN in it. A checkout scanner that reads 2D barcodes takes the GTIN from the code. A phone opens the address, and DLCode sends the shopper on to the page you choose.
When you upload the file, enter your store address in Your store address, such as https://yourstore.com. DLCode links each row to yourstore.com/detail/ followed by the product ID from the id column. Shopware shows the product page at that address.
To use the SEO address of a product instead, open the product in your storefront, copy the address from the browser and paste it into the product in DLCode. With the default Shopware settings, it has the form yourstore.com/Product-Name/SW10001, where the last part is the product number.
You can change where a code goes at any time. The printed code stays the same. See How to make a QR code you can change after printing.
Checklist
- Every product and variant you print has its own GS1 GTIN in the GTIN/EAN field.
- You have a custom Import/Export profile that maps ean to a column named ean.
- You exported the CSV with that profile and kept the leading zeros.
- You uploaded the file to DLCode and checked the skipped rows.
- Each product in DLCode links to its page in your store.
- You printed a proof and scanned it with more than one phone.
Get print-ready codes this week with DLCode
Upload one file and send print-ready codes to your printer today.
- Upload the CSV from your Products with EAN profile and get a code for every product and variant at once.
- Each product gets one print file with the barcode and GS1 QR code side by side, in SVG, PDF, EPS and PNG, with no watermark.
- Each code opens the product page in your Shopware store, built from the id column.
- Change where any code goes at any time. The printed label stays the same.
- Recall one lot and only shoppers holding that lot see your warning, with a paid pack.
- Put every code on a free domain for your brand, included with each paid pack.
Start free with 10 products, no card needed. When you need more, buy a one-time pack from $249 for 25 products. Hosting and unlimited scans are included through December 31, 2030, with no subscription. Every new account also gets the 25-product pack free for 30 days. See DLCode for Shopware.
Export your products now and upload the file before your next print run. Start free or See pricing.
Sources
- Products · Shopware Documentation
- Import/Export · Shopware Documentation
- ProductMappingProfile.php (Default product profile) · Shopware on GitHub
- Migration1584002637NewImportExport.php (CSV delimiter) · Shopware on GitHub
- ProductDefinition.php (ean field) · Shopware on GitHub
- ProductPageSeoUrlRoute.php (default product URL template) · Shopware on GitHub
- GS1 Digital Link · GS1
- ProductController.php (/detail/{productId} route) · Shopware on GitHub
- 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.