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
    1. Online Store › Themes › … on your theme › Duplicate.
    2. Make the change on the copy, preview it, and publish only when it works.

    Step-by-step guide (opens in a new tab)

  • The theme code editor (to paste a snippet)

    How to get this: The theme code editor
    1. On the copy of your theme: … › Edit code.
    2. Hover the snippets folder, click New File…, name it as the tool says, paste and Save.

    Step-by-step guide (opens in a new tab)

Generate the fix

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.