Guide
Product schema markup, done right.
Structured data helps search engines understand your products and can make them eligible for richer results. Here is what to include, the mistakes we see most and how to test.
Contents

What Product structured data is
Product structured data is code, usually in JSON-LD format, that describes a product in a way machines can read: its name, images, price, availability, brand and reviews. Google uses it to show product information in search results and in shopping surfaces. It does not guarantee a rich result, but without it most product enhancements are out of reach.
The properties that matter
Name and image: the product name as shown on the page, and at least one high-quality image URL.
Offers: price, priceCurrency and availability, inside an Offer object. These must match the visible page exactly.
Brand, SKU and GTIN when you have them: they help search engines match your product to the same item elsewhere.
Reviews and aggregateRating: only for genuine reviews shown on the page.
Shipping details and return policy: Google supports properties for shipping costs, delivery times and returns, which can appear in merchant listings.
The most common mistakes
Price or availability in the markup that differs from the page, often because of caching or variants.
Marking up reviews that are not visible to users, or reviews written by the merchant.
Missing currency, or prices formatted with symbols instead of numbers.
Several conflicting Product blocks on the same page, one from the theme and one from a plugin or app.
How to test
Use Google’s Rich Results Test on a few product URLs, then monitor the Merchant listings and Product snippets reports in Search Console, which show errors across the whole site.
Test after every theme update, plugin change or app installation, since these often add or break markup.
Shopify, WooCommerce and others
Most platforms output basic Product markup out of the box, but it is often incomplete: missing GTIN, brand, shipping or return information. The fix is usually to edit the product template or replace overlapping apps and plugins with a single, complete source.
Getting product schema markup right
Search engines can read a product page without structured data, but they cannot be sure which number is the price or whether the item is in stock. Product schema markup removes that doubt.
Follow Google’s documentation
Google lists the required and recommended properties in its product structured data documentation, and the full vocabulary is on schema.org. Name, image, offers with price and currency, and availability are the minimum.
Match what users see
Markup must describe what is visible on the page. A price in the markup that differs from the displayed price, or reviews that do not exist on the page, can lead to rich results being removed.
Test after every theme change
Run key templates through the Rich Results Test and check the enhancement reports in Search Console. Product schema markup breaks more often than people think, usually after a theme or app update.
Need help? Our ecommerce SEO agency audits and fixes structured data for Shopify and WooCommerce stores.
Correct product schema markup will not fix a weak product page, but it makes a good one far more visible in search.
This section goes deeper into product schema markup for store owners and developers who want more than the basics above: which Google experiences your markup can unlock, a complete JSON-LD example, how to handle variants, shipping and returns, the rules for reviews and ratings, and how to keep your markup consistent with your pages and your Merchant Center feed over time.
Key takeaways
- Product schema markup can support two kinds of results: product snippets and merchant listing experiences.
- The core properties are name, image, description and an Offer with price, currency and availability.
- Shipping and return policies, variants and identifiers such as GTIN help merchant listings.
- Markup must match what users see. Price or stock mismatches can make results disappear.
- Monitor the product reports in Search Console and retest templates after every change.
Product snippets and merchant listings
Google’s documentation separates two uses of product schema markup. Product snippets can show price, availability and ratings on pages that talk about products, including review pages. Merchant listing experiences apply to pages where people can actually buy, and can appear in shopping-oriented results.
| Product snippet | Merchant listing | |
|---|---|---|
| Page type | Product page or review page | Page where the product can be purchased |
| Main goal | Richer organic result | Shopping-style experiences |
| Key data | Name, review, rating, offer | Offer with price, availability, shipping, returns |
| Who should use it | Stores, publishers, review sites | Online stores |

An online store usually needs the merchant listing version on its product pages, which also covers what product snippets need. A blog reviewing products uses the product snippet version, without pretending to sell.
A complete product schema markup example
Here is a typical JSON-LD block for a single product with one offer, shipping and a return policy. Adapt the values to your page; every value must match what the visitor sees.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Insulated Steel Water Bottle 24 oz",
"image": ["https://example.com/img/bottle-front.jpg"],
"description": "Double-wall insulated bottle that keeps drinks cold for hours.",
"sku": "BTL-24-BLK",
"gtin13": "0123456789012",
"brand": {"@type": "Brand", "name": "ExampleBrand"},
"offers": {
"@type": "Offer",
"url": "https://example.com/products/insulated-bottle-24oz",
"price": "29.00",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock",
"itemCondition": "https://schema.org/NewCondition",
"shippingDetails": {
"@type": "OfferShippingDetails",
"shippingRate": {"@type": "MonetaryAmount", "value": "0", "currency": "USD"},
"shippingDestination": {"@type": "DefinedRegion", "addressCountry": "US"}
},
"hasMerchantReturnPolicy": {
"@type": "MerchantReturnPolicy",
"applicableCountry": "US",
"returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
"merchantReturnDays": 30
}
}
}
</script>
This product schema markup uses example values only. The vocabulary is defined on schema.org/Product, but Google supports only part of it: always check the required and recommended properties in its documentation before adding fields.
Required and recommended properties
| Property | Status for merchant listings | Practical note |
|---|---|---|
| name | Required | Same as the product title on the page |
| image | Required | Crawlable, high-quality images of the actual product |
| offers.price + priceCurrency | Required | The current selling price, not a list price |
| offers.availability | Recommended | InStock, OutOfStock, PreOrder… updated with stock |
| gtin / mpn / sku | Recommended | Identifiers help match your product with others |
| brand | Recommended | The manufacturer or your own brand |
| shippingDetails | Recommended | Cost and destination, or set in Merchant Center |
| hasMerchantReturnPolicy | Recommended | Return window and conditions |
| aggregateRating / review | Recommended | Only real reviews visible on the page |
Google’s list changes over time, so treat this table as a summary and confirm details in the official documentation for product structured data.
Product schema markup for variants
Products sold in several sizes or colors are a common source of errors. Google supports product variant structured data with a ProductGroup that contains each variant as its own Product.
- Use one ProductGroup for the parent product, with a productGroupID.
- List each variant with hasVariant, each with its own sku, gtin, image and offer.
- Declare which properties change with variesBy, for example size or color.
- Make sure each variant can be selected on the page, ideally with its own URL or URL parameter.
- Keep price and availability per variant, not one price for all.

Many store themes output a single Product with the lowest price and ignore variants. If your catalog relies on sizes and colors, check what your theme or app actually outputs before assuming your product schema markup is complete.
Reviews and ratings: what is allowed
Star ratings are the most visible part of product rich results, and also the most abused. Google’s structured data policies require that markup reflects content visible to users.
- Mark up only reviews that are displayed on the product page.
- Do not copy ratings from another site, a marketplace or a third-party aggregator into your markup.
- Do not mark up a rating for the whole store on every product page.
- Keep the review count and average consistent with what the page shows.
- Never write or buy fake reviews. The FTC has rules against fake reviews and testimonials in the United States.
Markup that misrepresents the page can lead to a structured data manual action, which removes rich results for the site. It is not worth the risk.
Keeping markup, page and Merchant Center in sync
The most frequent real-world problem is not missing product schema markup but inconsistent data. The price on the page changes during a sale, but the markup keeps the old price; a product goes out of stock, but the markup still says InStock; the Merchant Center feed says something else again.
| Data | Where it lives | How to keep it in sync |
|---|---|---|
| Price | Page, markup, feed | Generate all three from the same product database |
| Availability | Page, markup, feed | Update markup automatically with stock levels |
| Identifiers | Markup, feed | Same GTIN and SKU everywhere |
| Shipping and returns | Page, markup or Merchant Center | Define once, reuse the same values |

If you use Google Merchant Center, read its product data specification. Structured data on your pages and your feed should tell the same story. Google can also use structured data to update some product information automatically.
Platform notes beyond the basics
Most platforms output some product schema markup by default, but rarely all of it.
- Shopify: most themes include basic Product markup; check variants, GTIN and shipping. Our Shopify SEO guide covers the rest of the store.
- WooCommerce: core output is basic; SEO plugins usually extend it. Avoid running two plugins that both output Product markup.
- Custom stores: generate JSON-LD server-side from the product database so it always matches the page.
- Headless builds: make sure the markup is present in the HTML Google renders, not only after client-side interactions.
Marketplaces such as Amazon or eBay use their own catalogs and do not read your website markup, but keeping the same identifiers and titles everywhere still helps shoppers and search engines recognize the same product.
Duplicate markup is a common issue after installing a new app or plugin. Test a product page and check that only one Product entity describes the item.
Common product schema markup errors and how to fix them
These are the errors and warnings we meet most often when auditing product schema markup on US stores, with the usual cause behind each one.
| Error or warning | Usual cause | Fix |
|---|---|---|
| Missing field “price” | Offer without price, or price only in a variant | Output a price on every Offer |
| Invalid availability value | Plain text such as “in stock” instead of a schema.org URL | Use https://schema.org/InStock and similar values |
| Missing field “image” | Image loaded only by JavaScript or blocked | Provide crawlable image URLs in the markup |
| Duplicate Product items | Theme and plugin both output markup | Keep one source, disable the other |
| Review has multiple aggregate ratings | Store-wide rating added to every product | Mark up only the product’s own reviews |
| Price mismatch reported | Sale price shown on page, old price in markup | Generate markup from the live price |
When an error appears suddenly on many products at once, look for a recent change: a theme update, a new review app, a currency switcher or a catalog import. Rolling back or adjusting that single change usually fixes hundreds of items in one go, which is much faster than editing products one by one.
Fix errors before warnings, and start with your best-selling products. An error can make an item ineligible for rich results; a warning usually means a recommended field is missing and the result may be less complete.
Prices, sales and special offers
Pricing is where product schema markup most often drifts from reality. A few rules keep it accurate.
- Mark up the price a shopper actually pays today, including an active sale price.
- If you show a strikethrough price, Google documents specific properties for sale and member pricing; use them rather than inventing your own.
- For products sold in several currencies, output the currency that matches the page the visitor sees.
- For subscriptions or bundles, describe the offer the page actually sells and keep it consistent with the checkout.
- Remove expired promotions from the markup at the same time as from the page.
If your prices change often, automate. Product schema markup generated by hand in a page builder is almost guaranteed to be outdated within a few weeks.
Out-of-stock and discontinued products
How you handle availability matters for both shoppers and search. A product that is temporarily unavailable should keep its page, with product schema markup that says OutOfStock or BackOrder, and ideally a date or an alternative. A product that will never return can redirect to its closest replacement or category, or remain as an archive page if it still attracts useful searches.
| Situation | Page | Markup |
|---|---|---|
| Temporarily out of stock | Keep the page live, show alternatives | availability: OutOfStock or BackOrder |
| Pre-order | Keep the page, explain the release date | availability: PreOrder |
| Discontinued, replacement exists | 301 redirect to the replacement | Markup on the new page only |
| Discontinued, no replacement | Keep with clear notice, or remove with a 404/410 | Remove the Offer, or remove markup |
Product schema markup and AI shopping answers
Search engines and AI assistants increasingly answer shopping questions directly, comparing products, prices and features. Clean, consistent product data makes it easier for these systems to understand your catalog, but there is no special markup that guarantees inclusion in an AI answer. The best preparation is the same as for classic search: accurate product schema markup, complete product pages with real specifications, and consistent information across your site, your feed and the marketplaces where you sell.
If you want to see how assistants currently describe your brand, our AI visibility checker gives a quick first view.
A brief for your developer
If someone else builds or maintains your store, give them a short written brief. It avoids the usual back-and-forth and makes the result easy to verify.
- Output one JSON-LD block per product page, generated from the product database.
- Include name, images, description, brand, SKU and GTIN when available.
- Include an Offer per variant with price, currency, availability and URL.
- Add shipping and return information that matches the store policies page.
- Include ratings only when reviews are displayed on the same page.
- Remove any other plugin or app output that duplicates the Product entity.
- Provide three test URLs: a simple product, a product with variants, an out-of-stock product.
Ask for the Rich Results Test output of the three test URLs as part of the delivery. It takes minutes and proves the work is done.
Validation workflow before a launch or theme change
Before you publish a new theme, a new app or a catalog import, run a short validation routine on a staging copy. Test the three representative product pages, compare the JSON-LD with the visible page, and check that prices and availability are identical. After launch, repeat the test on the live site and watch the Search Console reports for the following weeks. Most problems are caught this way long before they affect sales.
Monitoring product schema markup over time
Markup breaks silently when a theme is updated or an app changes. Build monitoring into your routine.
- Check the product snippet and merchant listing reports in Search Console every month.
- Run the Rich Results Test on a few product templates after every theme or app change.
- Fix errors first, then warnings on your best-selling products.
- Compare clicks on product pages before and after major fixes in the Performance report.

Google’s guide to structured data for e-commerce lists the other types that help stores, such as breadcrumbs and organization markup, which complement product schema markup.
Product schema markup checklist
Core
- One Product entity per product page
- Name, image and description match the page
- Offer with price, currency and availability
Merchant data
- GTIN, SKU and brand where available
- Shipping details and return policy
- Variants as ProductGroup with hasVariant
Quality
- Ratings only from visible, genuine reviews
- Price and stock synced with the page and the feed
- No duplicate Product markup from plugins
Monitoring
- Search Console product reports checked monthly
- Templates retested after changes
Frequently asked questions
Does product schema markup improve rankings?
Not directly. It helps Google understand your products and can make your results richer, which can improve clicks. Rankings still depend on content and relevance.
Is product schema markup required for Google Shopping?
The Shopping tab mainly relies on Merchant Center data, but structured data supports free listings and keeps your information consistent.
Should I use JSON-LD or microdata?
Google supports both, but recommends JSON-LD because it is easier to maintain and less likely to break with design changes.
Why do my stars not show in search results?
Rich results are never guaranteed. Check for errors, make sure reviews are visible on the page, and remember that Google decides when to show them.
Can I add product markup to a category page?
Product markup describes a single product. Category pages should not mark up every product as if it were the main item of the page.
How often should I check my markup?
Monthly in Search Console, and immediately after any theme, plugin or app change on product templates.
Related resources: free schema markup generator, free SEO tools and our e-commerce SEO services.
Not sure your markup is right?
Our audit checks structured data across your catalog and gives your developers ready-to-use fixes.
