Do I need GTINs (barcodes) on my Shopify products for AI shopping assistants?Add one wherever the maker assigned one, and leave the field empty where none exists. Google says products with a missing or wrong GTIN may get limited visibility, and OpenAI lists GTIN as optional in its product feed. Never make one up: a custom, handmade or private label product often has no GTIN, and that's fine.
- 1.In Shopify, open a product. For a product without variants, enter the number in the Barcode field under Inventory. For variants, select them in the Variants section and choose Edit barcodes.
- 2.Use the number printed under the product's barcode, or ask the maker for it. Shopify accepts a GTIN of 8, 12, 13 or 14 digits.
- 3.Leave it empty for a product with no GTIN. Don't reuse another product's number, and don't invent one.
- 4.Keep any leading zeros. OpenAI's feed spec says to preserve them, and a number stored without them points to a different product.
- 5.Check a product page in Google's Rich Results Test to see whether the GTIN appears in its structured data.
A GTIN is the number behind a product's barcode: a UPC in North America, an EAN in Europe, a JAN in Japan, or an ISBN for books. It tells a shopping service that your listing and another seller's are the same product.
Google recommends a GTIN for every product the maker assigned one to, and says matching can't be assured without it. It also says products without one don't need one.
Used and vintage products may still carry the original GTIN, and Google asks for it where you can find it.
ChatGPT reads Shopify stores through Shopify Catalog, so it gets the barcode you entered in Shopify. Its feed spec lists GTIN as optional, not required.
Your theme decides whether the GTIN appears in each product page's structured data. Many themes print it from the barcode field, and some don't, which is why the last step is a test.
- Shopify: barcodes
- Google: the GTIN attribute
- OpenAI: product feed spec
- How Shopify products show up in ChatGPT shopping
- Run the free scan
- All answers
Free: scan your store and get a first draft of your agents.md.