Shopify doesn't require barcodes. You need them when a retailer wants to scan your product, when you sell on channels that ask for a GTIN, or when you want to scan for counting and receiving. For retail, buy GS1 barcodes (UPC in North America, EAN elsewhere), because they're unique worldwide. For your own scanning, internal codes printed on labels are enough. Either way, enter the number in each variant's Barcode field in Shopify, and keep every variant's barcode unique.
The short version
- Shopify's Barcode field takes UPC, EAN, ISBN or your own internal code.
- Retailers and many marketplaces want GS1 barcodes. Buy them from GS1, not resellers.
- Internal barcodes work for counting, receiving and POS in your own shop.
- Duplicate barcodes cause errors in stock counts. One code per variant.
- Shopify's Retail Barcode Labels app prints labels from the admin.
GS1 or internal?
| Need | Barcode |
|---|---|
| A grocery or gift shop will stock you | GS1 (UPC or EAN) |
| A marketplace asks for a GTIN | GS1 |
| Scanning in your own counts, receiving and POS | Internal is fine |
| Labels for ingredients and supplies | Internal |
A GS1 barcode is registered to your company prefix, so a store's system knows it's yours. A made-up code can collide with another company's product in a retailer's system, which is why retailers refuse them.
Adding barcodes in Shopify
- One variant: open the variant, Inventory section, Barcode.
- Many: the product CSV's barcode column. Format the column as text first, or the spreadsheet drops leading zeros and turns long numbers into scientific notation.
Using them
Barcodes can be scanned in stock counts, transfers, receiving and purchase orders, as well as at POS. In a stock count, Shopify's help center says scanning a barcode assigned to more than one product returns an error, so fix duplicates first. Shopify inventory barcode scanner covers setting up a scanner.
Printing labels
If the barcode isn't printed on your packaging, print it on a sticker. Shopify's own Retail Barcode Labels app prints product labels from the admin, with the barcode, name and price. A small thermal label printer is cheaper per label than sheets on an office printer, and doesn't smudge. Before printing a few hundred, print one, stick it on the real package, and scan it with the scanner you'll use: curved jars and glossy bags can stop a barcode reading if it's too small.
A made-up example
Pāʻia Pantry Granola is going into six island grocery stores. The buyer asks for UPCs. The owner buys a GS1 company prefix with room for 10 products, assigns a GTIN to each of 8 granolas, prints them on the bag artwork, and enters the same numbers in Shopify. For the storeroom, oats, honey and bags get internal codes on shelf labels, so counting is a scan, not a search.
Where this stops working
A product barcode identifies the product, not the batch. Every bag of Macadamia Crunch has the same UPC, whichever day it was made. A grocery buyer may also ask for a case label with the lot and date, and some will want a GS1-128 barcode carrying them, which Shopify doesn't produce. Shopify SKU vs barcode and Shopify lot numbers cover the difference.
How TaroStack does it
TaroStack for Shopify runs inside your Shopify admin and prints lot labels with GS1-128 barcodes that carry the lot code and dates, plus a ZPL file for Zebra printers. Each batch gets its own lot, and your Shopify products keep their UPCs. Free for 14 days.
