There is a field on every Shopify variant that most stores leave blank, and on commodity products it quietly decides whether you compete for a sale or get skipped. It is the Barcode field, and what goes in it is a GTIN.
This is the unglamorous half of AI shopping. Everyone talks about Product schema, prices, and ratings. Fewer people talk about identity: how an AI agent and Shopify's own catalog decide that your "Stanley 40oz Quencher" and the one in three other stores are the same product. That decision runs on identifiers, and getting them right is mechanical, not creative.
What the three identifiers actually are
- GTIN (Global Trade Item Number) is the number inside a retail barcode. It goes by regional names: UPC (12 digits, North America), EAN (13 digits, Europe and most of the world), ISBN (books). They are all GTINs. One product, one GTIN, the same across every seller on earth.
- MPN (Manufacturer Part Number) identifies a product within a single manufacturer's catalog. It is the fallback when a product has no GTIN, common for parts, components, and some made-to-order goods.
- SKU (Stock Keeping Unit) is your own internal code. It means something to your warehouse and nothing to anyone else. It is not a public identity signal, and it never matches another store's catalog.
The distinction matters because AI shopping and Shopify's catalog only use the shared ones. A GTIN says "this is the same product the rest of the internet already knows." A SKU says "this is item 4471-B in my back room."
Where they live on Shopify
Open any product, expand a variant, and look under the Inventory section:
- Barcode (ISBN, UPC, GTIN, etc.) is the variant field that holds your GTIN. Shopify labels it generically, but this is the GTIN field. It is per-variant, so a shirt in three sizes carries three barcodes, one per size.
- SKU sits right next to it. Different purpose, do not confuse them.
There is no native dedicated MPN field on standard Shopify variants. When you need an MPN (no GTIN exists), it is typically carried in a metafield and mapped into structured data from there.
The barcode field is also what feeds the gtin property in the Product schema your theme or schema app publishes. Fill the field, and the identifier flows into the JSON-LD an agent reads. Leave it blank, and the gtin is simply absent from your structured data, no matter how good the rest of it is.
Why a blank barcode strands your product
Shopify's global catalog groups identical products from different stores under a shared Universal Product ID, so an AI agent can line up every seller of the same item and pick between them. That clustering is how the agentic buy box decides who gets the sale on a product that ten stores carry.
A GTIN or barcode is one of the strongest signals Shopify uses to decide two listings are the same product. With it, your "Hydro Flask 32oz Wide Mouth" joins the cluster for that exact bottle and competes on price, availability, and shipping. Without it, Shopify is more likely to treat your listing as its own thing, a cluster of one, where there is no comparison to win and an agent comparing sellers never sees you.
For unique products you manufacture and only you sell, there is no cluster to join, so a missing GTIN costs you nothing. The identity gap only bites on branded and resold goods, which is exactly where the blank field is most common, because nobody thought to copy the number off the box.
How to check and fix it, fast
- Filter for the gap. In the Shopify admin, the products list lets you spot variants with no barcode. For a quick read, export your products to CSV and check the
Variant Barcodecolumn; empty cells on branded or resold items are your hit list. - Source the numbers. For resold goods, the GTIN is on the product packaging and in your supplier's data feed. For products you make, you can buy GTINs from GS1 if you want to list in marketplaces and price-comparison surfaces that require them.
- Backfill the field. Bulk-edit the Barcode field in the admin, or update the
Variant Barcodecolumn in a CSV import. One pass per variant. - Confirm it reaches your schema. A barcode in the admin only helps AI shopping if it shows up in the published Product schema's
gtin. Run your store through the AI-readiness checker to see whether the identifier is actually in the structured data an agent reads, not just sitting in the admin.
The order of operations
Identifiers are necessary, not sufficient. A GTIN gets you into the right cluster; it does not win the cluster. Once you are matched to the correct product, the fields that decide your rank take over: price, availability, category, and attributes. And the cluster only forms correctly if your product taxonomy is right in the first place, so the agent is comparing water bottles to water bottles.
Think of it as a sequence. Taxonomy puts you in the right aisle. The GTIN matches you to the exact product on the shelf. The product fields decide whether the agent picks you off it. Skip the middle step on resold goods and the other two cannot save you, because you are not even in the running.
For the full picture of how Shopify's catalog finds, clusters, and ranks products, see The Shopify Global Catalog guide. When you are ready to check what your store actually publishes, the AI-readiness checker is free.

Comments
Every comment here comes from a verified email. Write yours, confirm from your inbox, and it's live.
Loading comments…