Shopify Schema Markup: How to Check Your Product Structured Data

What Shopify schema markup is, what your theme already adds, how to check it in five minutes, and how to fix duplicate or missing product schema.

Shopify schema markup: how to check product structured data

Short version: Schema markup is a block of JSON-LD code that tells search engines what’s on a page: this is a product, it costs $48, it’s in stock, here’s the barcode. Most current Shopify themes already add Product schema, so you rarely need an app for the basics. The real work is checking that it’s there, that it isn’t duplicated, and that the product data feeding it (price, stock, barcode, brand, reviews) is complete.

If you’ve read that Shopify stores “need schema markup” and you’re wondering whether to install another app, check what your theme already does first. You may be closer than you think, or you may have two apps fighting over the same job.

This guide covers what Shopify schema markup is, which types matter for a store, how to check yours in about five minutes, and the mistakes that stop it from working.

What is schema markup?

Schema markup (also called structured data) is a standard way of labelling the information on a page so machines don’t have to guess. It uses the shared vocabulary at schema.org, and on most sites it’s written as JSON-LD: a small script in the page’s HTML that shoppers never see.

A product page without schema says “Linen Shirt, $48, In stock” in plain text. Google can usually work that out. With schema, the page says it explicitly: "@type": "Product", "price": "48.00", "availability": "InStock". Less guessing means fewer mistakes, and it makes the page eligible for richer search results.

Why it matters for a Shopify store

  • Rich results in Google. Price, stock status, star ratings and shipping info can show directly in search results. Google treats these as two features: product snippets, and merchant listings for pages where people can buy.
  • Free listings in Google Shopping. Google can use structured data on your product pages alongside your Merchant Center feed. If the two disagree on price, you can get warnings or disapprovals.
  • AI search. Google’s AI Overviews and AI Mode draw on the same product data. Schema isn’t a magic switch for AI answers, but clean, consistent product facts make your store easier to quote correctly.

One honest caveat: for ChatGPT shopping, Shopify stores mostly reach ChatGPT through Shopify Catalog, which reads your product fields directly. There, your product data matters more than the code on the page. We explain that route in ChatGPT Instant Checkout and Shopify.

Does Shopify add schema markup automatically?

Usually, yes. Shopify’s free themes, including Dawn, output Product structured data on product pages using Shopify’s built-in structured_data Liquid filter. Many paid themes do something similar. Shopify also adds some site-level markup on the home page in many themes.

“Usually” is doing some work there, though:

  • Older or heavily customized themes may have hand-written schema that’s missing fields or out of date.
  • Some themes add Product schema but leave out things like brand, GTIN or review data.
  • Review apps and SEO apps often inject their own Product schema on top of the theme’s, so the page ends up with two products that don’t quite match.

So don’t assume. Check.

The schema types that matter for a store

Type Where it goes What it does
Product (with Offer) Product pages Name, image, price, currency, availability, brand, GTIN. The most important one by far.
AggregateRating / Review Product pages, inside Product Star ratings in search. Usually added by your reviews app.
Organization Home page Your store name, logo and social profiles.
BreadcrumbList Product and collection pages Shows the page’s place in your store, like Home › Shirts › Linen Shirt.
Article Blog posts Headline, author and date for your blog content.

You’ll also see advice about FAQ schema. Google limited FAQ rich results to well-known government and health sites in 2023, so for most stores it won’t produce a rich result anymore. It does no harm, but it isn’t worth paying for.

How to check your Shopify schema markup

  1. Run Google’s Rich Results Test. Paste in one of your product URLs. It shows which rich results the page qualifies for and lists any errors or warnings.
  2. Run the Schema Markup Validator (validator.schema.org) on the same URL. It shows every block of structured data on the page, which is the fastest way to spot duplicates.
  3. Count the Product blocks. If you see two Product items with different prices or names, one is coming from an app. Decide which one to keep.
  4. Check Search Console. Under Shopping or Enhancements, the Product snippets and Merchant listings reports show problems across all your product pages, not just the one you tested.
  5. Try a variant product. Test a product with several sizes or colors, since that’s where prices and availability most often go wrong.

For a quicker first look, our free Shopify AI readiness checker looks for Product schema on one of your product pages and checks the product data behind it.

Common Shopify schema problems (and fixes)

Duplicate Product schema

The theme outputs one Product block and an app outputs another. Google may pick either, and conflicting prices or ratings can cause warnings. Fix: keep one source. Most review apps let you turn off their own schema, or tell you how to merge their rating into the theme’s Product block.

Missing GTIN or brand

Google recommends a GTIN (UPC, EAN or ISBN) for branded products. In Shopify, that’s the Barcode field on each variant. If it’s empty, there’s nothing for the schema to output. Fill in real barcodes for branded goods. Don’t make them up: invented GTINs cause more problems than missing ones. The vendor field usually becomes the brand.

Price or stock doesn’t match

This usually comes from caching or from schema hard-coded into an old theme. Check that the price in the Rich Results Test matches what a shopper sees, including on sale items.

Missing shipping and return details

Merchant listings can show shipping costs and return windows. You can set these in Google Merchant Center rather than in code, which is easier for most stores.

No reviews in the markup

Star ratings only show if your reviews app outputs AggregateRating, and Google only shows them when it decides to. If you have reviews but no stars, check the app’s schema settings first.

Do you need a Shopify schema app?

If your theme is recent and the Rich Results Test is clean, probably not. An app is worth it when your theme has no Product schema at all, when you want Organization or breadcrumb markup the theme doesn’t add, or when you can’t edit theme code yourself. Whatever you use, test again after installing. Adding a second source of Product schema is the most common way stores break something that was working.

Schema only repeats your product data

This is the part most guides skip. Schema copies what’s already in your product: the title, price, barcode, images, vendor, and description. If the barcode is blank, the schema has no GTIN. If the image has no alt text and the description is two lines long, search engines and AI tools still have little to work with, however perfect the code is.

That’s where Xorrel AI comes in. It doesn’t edit your theme’s schema. It works on the product data underneath: it sets the correct Shopify product category, fills category attributes like color and material, writes alt text from the photo and expands thin descriptions using facts already in your product. Every change waits for your approval. For the attribute side, see Shopify metafields and product taxonomy.

FAQ

What is Shopify schema markup?

It’s structured data, usually JSON-LD, added to your Shopify pages so search engines can read details like product name, price, availability, brand and reviews without guessing.

Does Shopify have schema markup built in?

Most current Shopify themes, including Dawn, add Product schema to product pages automatically. Older or custom themes may not, and some leave out fields like GTIN or brand.

How do I check schema markup on my Shopify store?

Paste a product URL into Google’s Rich Results Test and the Schema Markup Validator. Then check the Product snippets and Merchant listings reports in Google Search Console for problems across all your products.

Where do I add a GTIN in Shopify?

In the Barcode field on each product variant. Use the real UPC, EAN or ISBN from the manufacturer. Leave it blank for handmade or own-brand products that don’t have one.

Can duplicate schema hurt my Shopify SEO?

It can cause warnings and confusing results, especially if the two Product blocks show different prices or ratings. Keep one source of Product schema per page.

Does schema markup help with ChatGPT and AI search?

It helps Google’s AI features read your product facts accurately. For ChatGPT, Shopify stores mostly appear through Shopify Catalog, which reads your product fields directly, so complete product data matters most.

Keep reading

Xorrel AI · Free plan, 25 AI fixes Install free