How do I add product schema (JSON-LD) to my Shopify store?
Your store probably has some product schema already: Shopify's free themes print it with Liquid's structured_data filter. To add the rest, view a product page's source, compare its JSON-LD with the fields Google documents for products (name, image, an offer with price, currency and availability, plus brand, GTIN and rating), then fill the gaps by editing the theme or with a schema app. Test the result in Google's Rich Results Test, and make sure each page ends up with one Product block, not two.
What is product schema?
A block of JSON-LD in the page's HTML that tells search engines what the page sells.
It sits in a <script type="application/ld+json"> tag and describes the product's name, price, currency and stock, and if you have them, its barcode, brand and rating. Shoppers never see it. Google reads it for product results and merchant listings.
Does my Shopify theme already print product schema?
Probably, if it's one of Shopify's free themes; paid and older themes vary.
Shopify's Liquid reference says the structured_data filter "can be used on the product and article objects", and that "Product objects are output as a schema.org Product if they have no variants and a ProductGroup if they have one or more variants" (Shopify: structured_data filter). Dawn and other free themes use it. Some paid themes print a hand-written Product block, and some print nothing.
How do I check?
Open a product page, view its source and search for application/ld+json.
Each match is one block. Note the @type of each (Product, ProductGroup, BreadcrumbList, Organization). A faster way is Google's Rich Results Test: paste a product URL and it lists every item it found, with errors and warnings. Our free product schema checker does the same field checks on JSON-LD you paste, without fetching anything.
What does Google need in product schema?
A name, and at least one of offers, a review or a rating; for merchant listings, also an image and an offer with price and currency.
Google documents two kinds of product results:
- Product snippets need a
nameand one ofoffers,revieworaggregateRating. In Google's words: "You only need to provide one ofreview,aggregateRating, andoffers" (Google: product snippets). - Merchant listings, for pages where shoppers can buy, need
name,imageandoffers, and each Offer needs apriceandpriceCurrency. Google adds that "merchant listing experiences require a price greater than zero" (Google: merchant listings).
Recommended fields include availability, brand, a GTIN (gtin, gtin13 and so on), sku, description, aggregateRating, hasMerchantReturnPolicy and shippingDetails.
What rules should I know before adding anything?
Only mark up what shoppers can see, and don't expect markup to guarantee a rich result.
Google's general policies say: "Don't mark up content that is not visible to readers of the page", and "Google does not guarantee that your structured data will show up in search results" (Google: structured data policies). So a rating in the markup should match the rating on the page, and markup makes a page eligible for a rich result without promising one.
How should the price be written?
As digits with a dot for decimals, with the currency in its own field.
Schema.org's notes on price say: "Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point", and to use priceCurrency "instead of including ambiguous symbols such as '$' in the value" (schema.org: price). So "price": "89.00", "priceCurrency": "USD", not "price": "$89,00".
What do Shopify stores usually miss?
Ratings, a valid GTIN, the brand and breadcrumbs.
- Ratings. Review apps keep ratings in product metafields, and the theme's Product block often doesn't include them. Some review apps print their own Product block to carry the rating, which can give you two (see how to fix duplicate Product schema).
- GTIN. Shopify keeps it in the variant's Barcode field. An internal code or a typo there isn't a GTIN; it's better left out than sent wrong. A GTIN's last digit is a check digit, so a wrong one can be spotted.
- Brand. Usually the product's Vendor.
- Breadcrumbs, Organization and WebSite. Not product schema, but they help Google show the page path, your site name and logo. Many themes skip them.
How do I add it myself, without an app?
Edit the theme's product section, or replace its block with your own JSON-LD.
- In Online Store → Themes, duplicate your live theme first.
- Open Edit code and search for
structured_dataorld+json. The product one is often insections/main-product.liquid. - Either add the fields you're missing in a JSON-LD block of your own and remove the theme's, or keep the theme's block as it is if it's complete. Don't leave both.
- Pass every value through Liquid's
jsonfilter, so a quote or a</script>in a product title can't break the page. - Test the page in the Rich Results Test.
The downside: a theme update can overwrite your edits, and you maintain them by hand.
How does an app add product schema?
Through a theme app embed, which adds the JSON-LD without changing the theme's code.
Turn the embed on in the theme editor under App embeds; uninstalling the app removes it. Before you pick one, check two things: whether its free plan covers ratings and every variant, and whether it tells you about the markup your theme already prints, so you don't end up with two blocks.
Fizz SEO Schema is one of these. Its embed prints a Product with an offer per variant (price, currency, stock, SKU, brand from the vendor, and the GTIN only when the barcode's check digit is right), the rating from your review app's metafields, breadcrumbs, Organization, WebSite and BlogPosting, all in Liquid with no JavaScript. Its home page lists the structured data your live theme prints and which switch to turn off. It's free to install while it launches. Webrex and Tapita also have free plans with product schema; see how they compare.
Do FAQ rich results still work?
No. Google stopped showing them on 7 May 2026.
Google's documentation updates say the FAQ rich result "will no longer appear in Google Search starting May 7, 2026", and the feature's documentation was removed in June 2026 (Google Search Central: documentation updates). FAQPage markup still describes the content, but it won't earn the expandable questions under your listing. Be wary of an app or guide that still promises them.
How do I test it and keep it working?
Run three pages through the Rich Results Test now, and watch Search Console after.
- Test a product with variants, a product with reviews, and the home page. Google's own advice: "Validate your code using the Rich Results Test and fix any critical errors" (Google: merchant listings).
- Fix errors first. Warnings for optional fields can wait.
- In Search Console, watch the Merchant listings and Product snippets reports. After a fix, use Validate fix so Google recrawls.
- Test again after every theme update or new app.
Quick checklist
- One Product (or ProductGroup) block per product page.
- Price, currency and availability on every offer.
- A GTIN only where the barcode is a real one.
- A rating in the markup only when shoppers can see it on the page.