Shopify Product Schema for Google Rich Results Explained
When a product shows its price, availability or star rating directly in Google's results, that extra detail usually comes from structured data on the product page. Most Shopify themes already output some of it. The trouble is that many stores have it half right: missing fields, wrong availability, or two conflicting copies added by different apps. This guide explains what Shopify gives you by default, what Google actually requires, how to test your pages, and how to fix duplicate schema.
Facts in this article come from Google Search Central's documentation on merchant listing structured data and product snippets, and Shopify's developer reference for the structured_data Liquid filter, checked on 19 November 2026. Shopify and Google change their documentation often, so check the linked pages before acting on a detail.
What is product schema, and why does it matter for a Shopify store?
Product schema is a block of code, usually JSON-LD, that describes a product in a format search engines can read without guessing: its name, images, price, currency, availability, brand and identifiers. It sits in the page's HTML. Shoppers never see it.
Google uses it for two kinds of product results. Merchant listings are for pages where people can buy from you, and can show details such as price, availability, shipping and returns. Product snippets are for pages where people cannot buy directly, such as review pages, and support extra review information. A normal Shopify product page is a merchant listing page.
Structured data does not guarantee a rich result, and it is not a ranking trick. It makes your page eligible and removes ambiguity. For a store selling in India, that means Google knows the price is Rs 1,499 in INR, not a number it has to guess from the page.
What structured data does a Shopify theme already output?
Shopify provides a Liquid filter called structured_data that converts a product or article into schema.org format. According to Shopify's developer documentation, products without variants are output as a Product, and products with one or more variants are output as a ProductGroup. Articles are output as Article.
Shopify's free Dawn theme uses this filter on its main product section, and it also prints a canonical tag on every page. Many newer themes follow the same pattern. Older or heavily customised themes may have hand-written JSON-LD instead, which can be outdated or incomplete.
To see what your store outputs, open a product page, view the page source, and search for application/ld+json. Count how many product blocks you find. One is right. Two or more is a problem we cover below.

Which product properties does Google require?
For merchant listings, Google's documentation lists three required properties on the Product: name, image and offers. Inside the offer, the price and the currency are required, and the price must be greater than zero. Google also specifies that offers must be an Offer, not an AggregateOffer, because the merchant must be the seller.
Recommended properties make your listing more complete. The most useful for Shopify stores are:
- availability, using one value such as InStock, OutOfStock, PreOrder, BackOrder or Discontinued. Google lists ten accepted values in total.
-
A GTIN (such as
gtin13) where your product has a barcode, plus brand and sku. - aggregateRating and review, if you show genuine customer reviews on the page.
-
shippingDetails and hasMerchantReturnPolicy, which Google recommends for merchant listings. Google also suggests return policy markup can be nested under your
Organization. -
Variant properties such as
size,colorandinProductGroupWithID, which help Google understand which products belong to one group.
For images, Google asks for several high-resolution images, ideally in 16x9, 4x3 and 1x1 aspect ratios, each at least 50,000 pixels in total (width multiplied by height).

What does a correct product block look like?
The example below is illustrative only, to show the shape of the data. Your theme should generate the real one from your product data, and you should not paste a fixed block like this into a theme, because the price and availability would never update.
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Handloom Cotton Kurta, Indigo",
"image": ["https://example.com/kurta-1x1.jpg"],
"sku": "KUR-IND-M",
"brand": { "@type": "Brand", "name": "Example Brand" },
"offers": {
"@type": "Offer",
"price": "1499.00",
"priceCurrency": "INR",
"availability": "https://schema.org/InStock",
"url": "https://example.com/products/handloom-cotton-kurta"
}
}
Note the currency code is the three-letter ISO code INR, the price is a plain number without the rupee symbol, and availability uses the full schema.org URL. If your theme outputs a ProductGroup with variants, each variant carries its own offer.
How do you test product schema on Shopify?
Google's documentation describes a simple sequence:
- Run the Rich Results Test on a live product URL. Fix any critical errors. Google says non-critical issues are optional for eligibility, but fixing them can improve quality.
- Use URL Inspection in Search Console on a few product pages, and confirm they are not blocked by robots.txt, a noindex tag or a password page.
- Allow several days for Google to crawl and process the change. Keep your sitemap submitted; Shopify generates it automatically.
- Watch the merchant listing reports in Search Console over the following weeks for errors that only show up across many pages.
Test a product with variants, a product that is out of stock and a product with reviews. Those three cases are where theme markup most often goes wrong.

Photo: WikiGrower1 via Wikimedia Commons, CC BY 4.0
Why do Shopify stores end up with duplicate product schema?
Because several pieces of software each try to be helpful. The theme outputs product markup. A reviews app adds its own product block so it can include ratings. An SEO app adds another one. Each may show a slightly different price, rating count or availability.
Google's documentation does not give a rule for conflicting duplicates, but conflicting data is never a good sign for a page you want to be trusted. Our recommendation is to have one source of product markup and let it include everything:
- Keep the theme's
structured_dataoutput as the base, since it updates with your product data. - Turn off the duplicate product schema option in review and SEO apps, if they offer one, and check that the review rating is still included in the main block.
- If an app was uninstalled, check that its snippet is gone from the theme. Our guide to leftover app code in Shopify themes shows where it hides.
Review markup also has rules. Google's guidelines say the reviewer name must be a real person or team, and pros and cons markup is only for editorial review pages, not merchant product pages or customer reviews. If reviews are becoming a bigger part of how you are found, our post on reviews as a discovery channel covers it in more depth.
Do you still need a Merchant Center feed if your schema is right?
They do different jobs, and Google recommends both. Its documentation says providing structured data on your pages and a Merchant Center feed together maximises eligibility, and some experiences combine the two sources. On Shopify, the Google & YouTube app keeps the feed in sync with your products. Our guide to Google Merchant Center for Shopify stores in India covers the feed side.
Keep the two consistent. If the page says Rs 1,499 and the feed says Rs 1,299, Google sees a mismatch, and shoppers who click through see a different price from the one they were shown.
One more source of trouble is variants. If a product has several sizes or colours at different prices, check that the schema on the page describes the variant the shopper is looking at, or lists each variant's price correctly. A page that shows one price while the structured data reports another is exactly the kind of mismatch Google flags in Search Console.
What should you fix first?
- Make sure every product page has exactly one product block.
- Check that price, currency and availability in the markup match the page for in-stock, sold-out and variant products.
- Add barcodes and brand in the Shopify admin where you have them, so the theme can output them.
- Run the Rich Results Test on your top ten products and fix critical errors.
Structured data sits alongside site structure, content and speed. Our guide to Shopify SEO services in India explains how that wider work is usually scoped.
Want us to check your product schema? Email hello@exactwhy.com with the subject "Product schema check" and three product URLs, ideally one simple product, one with variants and one with reviews. We will test them, look for duplicate or conflicting markup, and tell you exactly what to change in your theme or apps, free. If you want us to make the changes, we quote after the check, and ongoing SEO support is available on a monthly retainer. You can also reach us through our contact page. We reply within 4 hours.