How to Check and Fix Product Schema on Shopify
Product structured data decides whether Google can show your price, stock and rating. How to check your store and fill in missing fields on Shopify.
Product structured data is a block of code on a product page (usually JSON-LD) that spells out the product name, price, currency, availability and rating in a format machines read directly. It's what lets Google show prices and stars in search results, and it helps AI state accurately what you sell and for how much. Most official Shopify themes already include it — your job is to confirm it hasn't been broken and that the fields are complete.
Why do product pages need Product schema?
- Richer search results. Google may show price, availability and rating, which usually lifts click-through.
- Shopping surfaces. Google's product snippets and shopping-related results draw on this data.
- More accurate AI answers. When ChatGPT or Gemini answer "how much is it" or "is it in stock", clean data is easier to quote correctly.
How to check your product pages
- Open Google's Rich Results Test and paste a product URL.
- Look for Product snippets or Merchant listings in the detected items.
- Open the warnings. Common ones: missing
aggregateRating,review,brandorshippingDetails.
Check at least three pages: a simple product, one with several variants, and a recently added one.
Which fields should complete Product schema include?
| Field | Required? | Notes |
|---|---|---|
| name | Required | Product name |
| image | Required | Product image URL |
| offers.price / priceCurrency | Required | e.g. 24 and USD |
| offers.availability | Recommended | In stock / out of stock |
| brand | Recommended | Brand name |
| aggregateRating / review | Recommended | Needs real reviews |
| sku / gtin | Recommended | Fill in a barcode if you have one |
A product is only eligible for rich results when Google's required fields are present; the more recommended fields you add, the more can be shown.
How to fill in missing fields on Shopify
Start with your theme. Official Shopify themes such as Dawn output Product data automatically through Liquid's structured_data filter. Third-party themes, or themes a developer has edited, may have removed or broken it.
Common fixes:
- Theme outputs it but fields are missing: ask your theme developer, or check the product template (usually files named like
main-product) under Online Store → Themes → Edit code forstructured_dataor a JSON-LD block. If you're not comfortable with code, hand it to a developer. - No rating: install a reviews app that outputs rating markup (most major ones do). Once you have real reviews it adds
aggregateRating. - No brand: fill in Vendor on the product page; many themes output it as the brand.
- Two copies of Product data: if both your theme and an SEO app output it, Google may see conflicting prices. Keep one.
After any change, run the Rich Results Test again to confirm there are no errors.
FAQ
Will Google always show price and stars once I add schema?
No. Structured data makes you eligible; Google decides what to show based on page quality and the search.
Can I enter the rating myself?
No. Ratings must come from real reviews visible on the page. Made-up ratings break Google's structured data policies and can lose you rich results.
How long until changes show in search?
Google updates once it recrawls the page, usually within days to a few weeks. You can request indexing with URL Inspection in Google Search Console to speed it up.