What Google requires for product structured data on a Shopify store, what Shopify’s structured_data filter outputs, and a step-by-step audit.
Quick answer: Shopify gives theme developers a Liquid filter, structured_data, that converts a product into schema.org markup: a Product if it has no variants and a ProductGroup if it has one or more. Whether your theme uses it correctly is something to test, not assume. For a store page that sells a product, Google’s merchant listing guidance requires a product name, an image, and an offers block with a price greater than zero and a priceCurrency. Valid markup is necessary but not sufficient: Google does not guarantee that structured data will appear as a rich result.
This guide shows how to audit the product markup on a Shopify store, what Google requires and recommends, and the mistakes worth checking for. It is written for store owners and developers; if you want the wider technical picture, start with the Shopify SEO checklist.
Product snippets vs merchant listings: which one is your store?
Google describes two classes of product structured data:
- Product snippets are for product pages where people can’t directly purchase the product, such as editorial review pages.
- Merchant listings are for pages where customers can buy the product from you, and support extra detail such as shipping and return information.
A Shopify product page that sells the item is a merchant-listing page. Google also notes that adding the required merchant listing properties means the page can be eligible for product snippets too. Source: Google Search Central, Product structured data.
What Shopify outputs: the documented behavior
Shopify’s developer documentation for the structured_data filter says it “converts an object into a schema.org structured data format”, that it can be used on the product and article objects, and that products are output as a schema.org Product when they have no variants and a ProductGroup when they have variants. The documented usage looks like this:
<script type="application/ld+json">
{{ product | structured_data }}
</script>
What the documentation does not tell you is which theme or app on your store calls the filter, or whether something else outputs competing markup. That is why the audit below starts from the live page, not from the theme code.
Required and recommended properties (Google)
| Property |
Status for merchant listings |
Notes from Google |
name |
Required |
The name of the product. |
image |
Required |
A product photo URL; image URLs must be crawlable and indexable. |
offers.price |
Required |
The current active price. Merchant listings require a price greater than zero. |
offers.priceCurrency |
Required with price |
Three-letter ISO 4217 code, for example INR. |
offers.availability |
Recommended |
One value only, such as InStock or OutOfStock. |
description |
Recommended |
Not mandatory, but strongly recommended. |
| GTIN / identifiers |
Recommended |
Include all applicable global identifiers. |
aggregateRating |
Recommended |
Only where you have real ratings that follow Google’s review guidelines. |
| Return policy |
Recommended |
Google recommends a global return policy under Organization markup rather than repeating it per offer. |
Source: Google Search Central, Merchant listing structured data. A minimal example for an INR-priced product, with placeholder values, looks like this:
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Product",
"name": "Block print cotton kurta",
"image": [
"https://example.com/photos/kurta-1x1.jpg",
"https://example.com/photos/kurta-4x3.jpg"
],
"description": "Hand block printed cotton kurta, regular fit.",
"sku": "KURTA-001",
"offers": {
"@type": "Offer",
"url": "https://example.com/products/block-print-cotton-kurta",
"priceCurrency": "INR",
"price": 1499,
"availability": "https://schema.org/InStock",
"itemCondition": "https://schema.org/NewCondition"
}
}
</script>
I checked that this JSON parses, but I have not run it through Google’s tools because it uses placeholder URLs. Always test your own live page.
How to audit a Shopify product page, step by step
- Test the live URL. Paste a public product URL into Google’s Rich Results Test and see which items it detects. Google recommends fixing critical errors and says non-critical issues are worth fixing for quality, though that is not required for eligibility.
- Compare markup with the visible page. The price, currency and availability in the markup must match what a shopper sees. Google’s general guidelines say not to mark up content that is not visible to readers of the page.
- Check variants. A product with sizes or colors should come out as a
ProductGroup with its variants, as Shopify’s filter documents. Google says variant structured data helps it understand which products are variations of the same parent.
- Look for duplicate blocks. If the Rich Results Test shows more than one product item for a single page, find out whether the theme and an app are both outputting markup. This one is my own advice rather than a Google rule: if two sources disagree on price or availability, keep one.
- Check what Googlebot sees. After you deploy a change, use the URL Inspection tool in Search Console to see how Google renders the page, then allow time for re-crawling and re-indexing before judging the result.
- Confirm Googlebot is not blocked. Google says not to block pages that carry structured data with robots.txt,
noindex or other access controls.
Common mistakes to check for
- Price of zero or missing currency. Both fail the merchant listing requirements.
- Stale availability. If a product sells out and the markup still says InStock, the markup and the page disagree.
- Review markup without real reviews. Google warns against marking up fake or misleading reviews, and says that if you include multiple reviews you should include all those visible on the page.
- Using JSON-LD to claim things the page does not show. Google says not to use structured data to deceive or mislead users.
- Repeating return policy on every product. Google recommends one global policy under Organization markup unless some products differ.
- Assuming a green test means a rich result. Google states it does not guarantee structured data will show up in search results even when it is marked up correctly.
Frequently Asked Questions
Does Shopify add product schema automatically?
Shopify provides the structured_data Liquid filter that outputs Product or ProductGroup markup for products. Whether your theme calls it, and whether an app adds more markup, depends on your store, so test a live product page in the Rich Results Test.
Which fields does Google require for a Shopify product page?
For merchant listings: name, image, and an offer with price (greater than zero) and priceCurrency. Availability, description, identifiers, ratings and return information are recommended.
Do I need aggregateRating?
No. It is recommended, not required, and should only be used with real ratings that follow Google’s review guidelines. Do not add it just to get stars.
Will product schema improve my rankings?
Google says structured data helps it understand a page and can make a page eligible for rich results, but it does not guarantee that a rich result will appear. I would treat it as eligibility and clarity, not a ranking lever.
What happens if my markup breaks Google’s guidelines?
Google says a structured data manual action means the page loses eligibility for rich result appearance, and that this does not affect how the page ranks in regular web search. You can check the Manual Actions report in Search Console.
Next step
If you would like your product, collection and organization markup reviewed against Google’s current requirements, see my Shopify SEO services or send me your store link for a free audit. Google’s documentation was checked on 2 December 2026 and can change.