Skip to content
Technical SEO 6 min read By Lewis Jones Editorial policy

Shopify Product Schema: What Themes Output

What Product schema Shopify themes output, read from four live stores, what Google requires and recommends, and how to fill the gaps without duplicates.

Part of Technical SEO Guide: Crawl, Index, Speed

In short

  • Most Shopify themes already output Product schema as JSON-LD, built by Shopify's structured_data Liquid filter, and it covers the fields Google requires
  • Shopify outputs a Product for an item with no variants and a ProductGroup with a Product per variant when it has sizes or colours
  • The common gaps are recommended fields that depend on your data: GTINs from the Barcode field, the Vendor as brand, SKUs and ratings
  • Shipping and return policies can be set once in Search Console or Merchant Center instead of on every product
  • The usual fault is a second Product block added by an app, so count the blocks before adding any schema of your own

Most Shopify themes already output Product schema on every product page. It is JSON-LD built from the product's own data, usually by Shopify's structured_data Liquid filter, and it covers the fields Google requires: name, image, price and currency. So the question on most stores is not how to add product schema, but what is missing from the schema you already have, and whether an app has added a second copy.

This post shows what four live stores output on 19 November 2026, how Shopify chooses between Product and ProductGroup, which recommended fields are usually missing and where they come from, and how to check every product at once. For the rest of a Shopify audit, see the Shopify SEO audit.

What Shopify themes output

We read the structured data on one product page from each of four Shopify stores.

Every store covered what Google requires. Every gap was in the recommended fields that depend on the store's own data.

Each store had exactly one Product or ProductGroup block in JSON-LD and no microdata. All four gave price, currency, availability and brand. The differences were in SKUs, ratings, GTINs and shipping and returns, which are the fields that depend on data the store has to fill in or an app has to add.

Product or ProductGroup

Shopify's structured_data filter, documented on shopify.dev, outputs a Product for a product with no variants and a ProductGroup when it has variants.

In a ProductGroup each size has its own offer, so one sold-out size does not mark the whole product unavailable.

Both are valid for Google. A ProductGroup is the more accurate of the two for anything sold in sizes or colours, because each variant carries its own price and availability. If your theme outputs a single Product for a product with variants, it is probably building the JSON-LD by hand instead of using the filter. That is not an error, but it usually means the schema shows one variant's price and stock for all of them.

What Google requires, and what is usually missing

Google's merchant listing documentation separates required fields, without which the page is not eligible, from recommended ones, which make the listing richer.

Most gaps are fixed in the product data, not in the theme.
  • GTIN. None of the four stores output one. Shopify keeps it in each variant's Barcode field. Fill it in, then check whether your theme puts it in the JSON-LD; if not, the product template needs a small change, or Merchant Center can take it from your product feed.
  • Brand and SKU. These come from the product's Vendor field and each variant's SKU. An empty field means the property is missing from the schema.
  • Ratings. Only a reviews app can supply these, and only ratings shown on the page belong in the markup.
  • Shipping and returns. Google accepts these once, at site level, in Search Console or Merchant Center, or in Organization markup. You do not need them on every product unless one product's policy differs.

The usual fault: two Product blocks

None of the four stores had a duplicate, but it is the most common way Shopify product schema goes wrong. The theme outputs one Product, then a reviews or SEO app adds a second with its rating, and Google has two descriptions of one product that can disagree.

Count the Product blocks before you install anything that promises schema.

To check, open a product page's source, search for application/ld+json, and count the blocks whose @type is Product or ProductGroup. If there are two, turn one off. Most reviews apps have a setting to add their rating to the theme's block instead of creating their own, and SEO apps that output Product schema usually let you switch it off where the theme already does it.

Checking every product at once

Google's Rich Results Test checks one page at a time. A template fault affects every product, so the useful check reads all of them. Crawl Cove reads the JSON-LD on every page it crawls:

A theme bug shows as one finding per product page, so the size of the problem is visible at once.
  • JSON-LD that does not parse is reported with the parser's own message, because Google ignores a broken block entirely.
  • A Product with none of offers, review or aggregateRating is reported, at any depth, so variants inside a ProductGroup are checked too.
  • A property name that is almost a Schema.org term, such as one with a wrong capital, is reported with the term it probably meant.
  • Indexable products where every offer says OutOfStock, SoldOut or Discontinued are listed together as products nobody can buy, still in search.
  • A substantial indexable page with no structured data at all is reported, which on a store usually means a template that lost its schema in a theme update.

For the same check on WooCommerce, where the store's own code writes the Product block, see WooCommerce product schema.

For a quick check of one URL, the free schema markup validator reads a single page, and the structured data checker page covers the checks in the app. The Free plan of the app crawls up to 1,000 URLs a crawl. Download Crawl Cove and start from the store's home page.

Frequently asked questions

Does Shopify add product schema automatically?
Most themes do. Shopify's own themes output Product structured data as JSON-LD on every product page, usually through the structured_data Liquid filter. All four stores we checked had exactly one Product or ProductGroup block, with price and availability, and no microdata.
What is the difference between Product and ProductGroup on Shopify?
Shopify's structured_data filter outputs a Product for a product with no variants and a ProductGroup when it has variants. In a ProductGroup each variant is its own Product with its own offer, so price and availability are stated per size or colour.
Do I need a schema app on Shopify?
Usually not for the basics, because the theme already covers what Google requires. An app is worth it when you need something the theme does not output, such as review ratings, and then only if it adds to the theme's block or you turn the theme's off. Two Product blocks for one product is worse than one plain one.
How do I add GTINs to Shopify product schema?
Fill in each variant's Barcode field in the admin with the product's GTIN, then check whether your theme outputs it in the JSON-LD. If it does not, the theme's product template needs a small change, or Google Merchant Center can take the GTIN from your product feed instead.
How do I check my Shopify product schema?
Open a product page and run it through Google's Rich Results Test, which shows the Product or ProductGroup it found and any errors. To check every product at once, crawl the store with a tool that reads JSON-LD, so a template bug shows up on every product rather than on the one page you tested.

Audit your site the easy way

Crawl Cove finds these issues on your machine. Try the Structured Data Checker or see every feature.

Download free

Keep reading