Search Console fix
No global identifier provided (e.g., gtin, mpn, isbn) on Shopify
What you’ll need
Your shipping and return details (costs, times, return window)
A duplicate of your theme to test on
How to get this: A duplicate of your theme to test on
- Online Store › Themes › … on your theme › Duplicate.
- Make the change on the copy, preview it, and publish only when it works.
The theme code editor (to paste a snippet)
How to get this: The theme code editor
- On the copy of your theme: … › Edit code.
- Hover the snippets folder, click New File…, name it as the tool says, paste and Save.
Where the identifier comes from
Shopify’s own structured_data output (Horizon, Dawn) doesn’t include the barcode, even for variants that have one.
- GTIN: UPC (12 digits), EAN (13), GTIN-14, or EAN-8. Enter it in the variant’s Barcode field.
- MPN: the manufacturer’s part number. Only use your SKU as MPN if it really is the maker’s part number.
- Don’t make up numbers. A fake GTIN is worse than none.
Is it still reported?
Google’s Rich Results Test doesn’t list this warning for a product without a GTIN; it lists only description, shipping and returns. Some Search Console reports still show it. Either way it’s non-critical.
Add barcodes in bulk
Export your products, fill the Variant Barcodes column with the Barcodes Builder, and import the file. The snippet then outputs them as gtin.
More guides
Based on Google’s merchant listing structured data docs, merchant return policy docs and merchant shipping policy docs.