Product schema: Show your price, stock, and reviews in Google

Written by

in

,

Product schema is structured data that describes an item you sell, including its name, price, availability, brand, and ratings, in a format search engines read directly. Google uses it to show those details in search results, like a price, a star rating, and an “In stock” label under your link.

For an online store, that’s the difference between a plain blue link and a listing that answers a shopper’s first questions before they click.

This guide walks through what Product schema can show in Google and the properties that matter. It also shows a complete example you can copy, and how to add and test it on Shopify, WooCommerce, BigCommerce, or a custom store.

So, let’s get started.

Key takeaways

  • Product schema uses schema.org’s Product type to describe an item’s name, image, price, stock status, and ratings for search engines.
  • Google turns this structured data into merchant listings for pages where shoppers can buy and product snippets for pages that review or compare products.
  • Merchant listings need a name, an image, and an Offer with a price above zero and a currency. Shipping, returns, identifiers, and ratings make the listing richer.
  • Products sold in several sizes or colors belong in a ProductGroup, with each variant listed under hasVariant.
  • Shopify, WooCommerce, and BigCommerce add basic markup automatically, so most of the work is filling gaps and testing.

What is Product schema?

Product schema is the Product type from schema.org, the shared vocabulary that Google, Bing, and other search engines use for structured data. You’ll also see it called product schema markup or product structured data.

All three names describe the same thing: a block of code, usually JSON-LD, that sits in a product page’s HTML and labels the facts shoppers see on that page.

It is part of Google’s search experience, as it helps buyers decide what items to get without manually scraping every website.

For instance, if you search online for “XL T-shirt,” you’ll see plenty of results, with each merchant’s name, ratings, and product details.

Google search results for term 'XL T-shirt' showing merchant listings.

Just below the search bar, you can also see filters, like “Men’s, Women’s, Short Sleeve, Round Neck,” and color options for buyers to quickly narrow down their search. Google builds these options based on the Product schema uploaded and implemented by brands.

Shoppers never see this code, but search engines read every line of it.

Here’s an example of a stripped-down Product schema version for a “$34 kettle”:

{
“@context”: “https://schema.org”,
“@type”: “Product”,
“name”: “Gooseneck Pour-Over Kettle, Matte Black”,
“image”: “https://www.example.com/images/gooseneck-kettle-black.jpg”,
“offers”: {
“@type”: “Offer”,
“price”: 34.00,
“priceCurrency”: “USD”
}
}

The page says the kettle costs $34, and the markup states the same fact as a labeled value instead of text Google has to interpret. Real product pages carry a lot more, as the full example later in this guide shows.

What Product schema can show in Google?

Google turns Product markup into two kinds of rich results: merchant listings and product snippets.

Pages where shoppers can get merchant listings and where they can get product listings.

Merchant listings, for pages that sell

If a page has a buy button, it’s a merchant listing page. Google can show its price, availability, shipping cost, return window, and ratings in search results.

The “XL T-shirt” example is of a merchant listing, where price, availability, ratings, etc., are displayed from the seller’s page.

Product snippets, for pages that review

Review sites, buying guides, and affiliate pages talk about products without selling them. For those, Google often offers product snippets, often called product rich snippets, that contain star ratings, review counts, a price range, and sometimes a short list of pros and cons.

Take a look at this example below for the keyword “Running vest”:

A Google search result for term 'Running vest' showing product snippets.

You can see that iRunFar is also there in the top results, which is essentially a buying guide/affliate blog, not a direct merchant.

That being said, sellers like Amazon, Nike, and REI also got product snippets. This shows that merchants can get both a merchant listing and a product snippet, depending on whether they reviewed their own product, put up a page to sell it, or both.

The bar is lower here. A product snippet needs a name plus at least one of offers, review, or aggregateRating to appear in search results.

Does Product schema help SEO?

Not as a ranking factor.

Product schema helps Google understand a page and makes it eligible for rich results, but Google decides whether to show them or not. So, a valid Product markup is helpful for searchers, but never guarantees ranking on its own.

The payoff shows up in clicks rather than ranking.

In Google’s introduction to structured data, Nestlé reports that its pages shown as rich results earn an 82% higher click-through rate than pages without them.

Thus, for a store, a listing that already answers “how much?” and “is it in stock?” questions directly gives shoppers fewer reasons to scroll past their listing.

The properties Google looks for

Google’s product schema requirements are short. Most of the value sits in the recommended properties, which fill in the details shoppers compare before they choose where to buy.

Here’s how they map onto a typical product page:

A product page mapped to Product schema properties: image, brand, name, aggregateRating, price, availability, shipping, returns, and SKU.

An accurately filled and implemented Product schema is a powerful click-stopper, especially in highly competitive e-commerce niches, like beauty and healthcare, pet products, and household equipment.

What every product page needs

For merchant listings, Google requires these properties:

PropertyWhat it holds
nameThe product name as shoppers see it on the page
imageAt least one URL of a real product photo
offersAn Offer that describes the deal (more on this below)
offers.priceThe price, which must be above zero
offers.priceCurrencyThe three-letter currency code, like USD or EUR

That’s the entry ticket. Skipping a recommended property won’t block eligibility, but it leaves Google with one less detail to show.

Offer schema, the part that holds the price

Offer is a separate schema.org type that sits inside Product under the offers property. Product describes the item, and Offer describes the deal, such as what it costs, whether it’s available, and on what terms. These are the properties worth filling in for the Offer schema:

  • availability: One value from schema.org’s list, like InStock, OutOfStock, BackOrder, or PreOrder.
  • itemCondition: NewCondition, UsedCondition, or RefurbishedCondition.
  • url: The page where shoppers can buy that exact item.
  • priceValidUntil: The date a sale price ends, if it ends.
  • shippingDetails: Shipping cost, destination, and delivery time, written as OfferShippingDetails.
  • hasMerchantReturnPolicy: The return window, method, and fees, written as MerchantReturnPolicy.

You can include shipping and returns on every Offer, or describe them once for the whole store, as the e-commerce schema section below covers.

You may also come across AggregateOffer, which gives a price range with lowPrice and highPrice. It suits comparison pages that list several sellers, and Google accepts it for product snippets. It doesn’t work for merchant listings, though, and Google says not to use it for product variants.

Details that make a listing richer

Below are the details that aren’t crucial for the Product schema, but you can add them to make your listing feel richer.

PropertyWhat it adds
brandThe maker, written as a Brand with a name
descriptionThe product description from the page
gtinThe barcode number (UPC, EAN, or ISBN), which helps Google identify the exact product
sku and mpnYour own stock code and the manufacturer’s part number
aggregateRatingThe average rating and how many people rated the product
reviewIndividual customer reviews
color, size, material, and patternThe attributes shoppers filter by

One rule covers all of them: only mark up what the page shows. A star rating in the code that shoppers can’t see on your site, or a price that differs from the one on the page, breaks Google’s guidelines and can cost you the rich result.

Product schema example

Here’s complete markup for the kettle from the illustration above. Hollowmere is a made-up brand selling directly from its own store, with free US shipping and 30-day returns. For other types, side by side, browse our schema markup examples.

{
“@context”: “https://schema.org”,
“@type”: “Product”,
“name”: “Gooseneck Pour-Over Kettle, Matte Black”,
“image”: [
“https://www.example.com/images/gooseneck-kettle-black-1×1.jpg”,
“https://www.example.com/images/gooseneck-kettle-black-4×3.jpg”,
“https://www.example.com/images/gooseneck-kettle-black-16×9.jpg”
],
“description”: “A 1-liter stainless steel gooseneck kettle with a slim spout for slow, even pour-over brewing. Works on gas, electric, and induction stoves.”,
“sku”: “HM-GK-BLK”,
“brand”: {
“@type”: “Brand”,
“name”: “Hollowmere”
},
“color”: “Matte Black”,
“material”: “Stainless steel”,
“aggregateRating”: {
“@type”: “AggregateRating”,
“ratingValue”: 4.7,
“reviewCount”: 128
},
“offers”: {
“@type”: “Offer”,
“url”: “https://www.example.com/products/gooseneck-kettle?color=black”,
“price”: 34.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”
},
“deliveryTime”: {
“@type”: “ShippingDeliveryTime”,
“handlingTime”: {
“@type”: “QuantitativeValue”,
“minValue”: 1,
“maxValue”: 1,
“unitCode”: “DAY”
},
“transitTime”: {
“@type”: “QuantitativeValue”,
“minValue”: 2,
“maxValue”: 4,
“unitCode”: “DAY”
}
}
},
“hasMerchantReturnPolicy”: {
“@type”: “MerchantReturnPolicy”,
“applicableCountry”: “US”,
“returnPolicyCategory”: “https://schema.org/MerchantReturnFiniteReturnWindow”,
“merchantReturnDays”: 30,
“returnMethod”: “https://schema.org/ReturnByMail”,
“returnFees”: “https://schema.org/FreeReturn”
}
}
}

We’ve shown the JSON-LD alone. On a live page, a script tag of type application/ld+json wraps it, and your platform or plugin adds that tag when it generates the markup.

What this markup tells Google

  • name, image, and description: The kettle, three crops of its main photo (square, 4:3, and 16:9, the same set Google uses in its examples), and the description shoppers read.
  • sku, brand, color, and material: The store’s stock code, the maker, and the details shoppers filter by. If your product has a barcode, add it here as GTIN.
  • aggregateRating: 4.7 stars from 128 reviews, the same numbers printed on the page.
  • offers: $34.00 in US dollars, new, in stock, at the page’s own URL.
  • shippingDetails: Free shipping within the US, with one day to pack and two to four days in transit, which adds up to the “3 to 5 days” on the page.
  • hasMerchantReturnPolicy: 30 days to return by mail, at no cost to the shopper.

Every value comes from something visible on the page. Keep it that way as prices and stock change, and the markup keeps working for you instead of against you.

Product variant schema with ProductGroup

Most stores sell at least some products in more than one size or color. How can you mark up all those product variants?

Google’s answer is the ProductGroup property. It is one parent that holds the shared details, with each variant described as its own Product inside it.

ProductGroup property for a kettle in three colors, linked by hasVariant to Matte Black, Sage, and Cream variants with their own SKU, price, and stock.

Three properties hold the structure together:

  • productGroupID: The parent’s ID, often your parent SKU.
  • variesBy: What changes between variants, written as schema.org URLs like https://schema.org/color or https://schema.org/size.
  • hasVariant: The list of variants, each a full Product with its own SKU, name, image, and Offer.

Here’s the kettle example again, this time in all three colors on one page:

{
“@context”: “https://schema.org”,
“@type”: “ProductGroup”,
“name”: “Gooseneck Pour-Over Kettle”,
“url”: “https://www.example.com/products/gooseneck-kettle”,
“brand”: {
“@type”: “Brand”,
“name”: “Hollowmere”
},
“productGroupID”: “HM-GK”,
“variesBy”: [“https://schema.org/color”],
“hasVariant”: [
{
“@type”: “Product”,
“sku”: “HM-GK-BLK”,
“name”: “Gooseneck Pour-Over Kettle, Matte Black”,
“color”: “Matte Black”,
“image”: “https://www.example.com/images/gooseneck-kettle-black.jpg”,
“offers”: {
“@type”: “Offer”,
“url”: “https://www.example.com/products/gooseneck-kettle?color=black”,
“price”: 34.00,
“priceCurrency”: “USD”,
“availability”: “https://schema.org/InStock”
}
},
{
“@type”: “Product”,
“sku”: “HM-GK-SGE”,
“name”: “Gooseneck Pour-Over Kettle, Sage”,
“color”: “Sage”,
“image”: “https://www.example.com/images/gooseneck-kettle-sage.jpg”,
“offers”: {
“@type”: “Offer”,
“url”: “https://www.example.com/products/gooseneck-kettle?color=sage”,
“price”: 34.00,
“priceCurrency”: “USD”,
“availability”: “https://schema.org/InStock”
}
},
{
“@type”: “Product”,
“sku”: “HM-GK-CRM”,
“name”: “Gooseneck Pour-Over Kettle, Cream”,
“color”: “Cream”,
“image”: “https://www.example.com/images/gooseneck-kettle-cream.jpg”,
“offers”: {
“@type”: “Offer”,
“url”: “https://www.example.com/products/gooseneck-kettle?color=cream”,
“price”: 36.00,
“priceCurrency”: “USD”,
“availability”: “https://schema.org/OutOfStock”
}
}
]
}

Look at the Cream variant. It costs $2 more and is out of stock, and its markup says so.

Each variant also gets a URL that opens the page with that color selected, and shipping and return details work the same way as in the single-product example.

If each color lives on its own page instead, Google supports that layout too, as long as every page points to the same product group.

How to add Product schema to your store

On most e-commerce platforms, you won’t write Product schema from scratch. The platform already outputs basic markup from your catalog, so the job is to check what’s there, fill the gaps, and remove duplicates.

Shopify product schema

Shopify themes generate markup with a Liquid filter called structured_data. It outputs a Product for items with no variants and a ProductGroup for items that have them, so themes that use it cover the basics without any setup.

Older or heavily customized themes may hand-code their markup or skip it, so run one product URL through Google’s Rich Results Test to see which you have.

WooCommerce product schema

WooCommerce adds Product markup to every product page out of the box, built from the item’s name, description, image, SKU, GTIN, price, stock status, and reviews. SEO plugins like Yoast WooCommerce SEO and Rank Math can extend it further.

Variable products need a closer look. When a product’s variations have different prices, WooCommerce describes it as a single product with a price range, using AggregateOffer. That works for product snippets but not for merchant listings.

If variants drive your sales, check whether your SEO plugin outputs ProductGroup, or have a developer add it.

BigCommerce product schema

On BigCommerce, Product markup comes from your theme’s product page template, so what you get depends on the theme.

Test a product URL to see what yours outputs. If properties are missing, a developer can extend the template, or an app from the BigCommerce App Marketplace can add them.

Custom and headless stores

For custom sites, generate the JSON-LD on the server, from the same product data that renders the page, and include it in the initial HTML.

Google says markup injected by JavaScript can make its Shopping crawls less frequent and less reliable, which hurts when prices and stock change daily.

A product schema generator works for a one-off landing page or a first draft, but its output doesn’t update when your price does. Use one to learn the pattern of the schema, then turn it into a template your store fills in automatically.

Test your Product schema

No single product schema checker does everything, but two free tools and two Search Console reports cover it adequately.

Check a single page

Paste a product URL or a block of code into Google’s Rich Results Test. A store page should show Merchant listings and Product snippets as detected items, each with its own errors and warnings. It’s also the quickest way to find out what markup your store already outputs.

You can also use the Schema Markup Validator to check the same code against schema.org’s vocabulary itself. Use it when you want to see every property on the page, including ones Google doesn’t use for rich results.

Here’s our kettle example tested with Google’s Rich Results Test:

Google Rich Results Test detecting Merchant listings, Product snippets, and Review snippets for the Hollowmere kettle example.

We got 3 valid items detected: ‘Product snippets’, ‘Merchant listings’, and ‘Review snippets’.

Monitor your catalog in Search Console

Once Google crawls your store, you can see a list of errors and warnings for your pages. Knowing about them helps you fix or avoid them with ease:

MessageWhat it meansHow to fix it
Either “offers”, “review”, or “aggregateRating” should be specifiedAn error. The Product has no price, rating, or review attached.Add an Offer, or real ratings if the page doesn’t sell.
Missing field “shippingDetails”A warning. Google has no shipping information for the item.Add OfferShippingDetails, or set shipping in Search Console or Merchant Center.
Missing field “hasMerchantReturnPolicy”A warning. Google has no return policy for the item.Add MerchantReturnPolicy to the Offer or to your Organization markup.

Fix errors first, because they make an item ineligible. Warnings don’t block rich results, but each one marks a detail Google could have shown and didn’t.

Mistakes the testing tools won’t catch

A clean test result means the code is valid, not that it’s right. These problems pass validation and still cost stores their rich results:

  • Markup on category pages: Product schema belongs on a page about one product or its variants, not on a collection or search results page.
  • Prices that drift: The page shows a $29 sale price while the markup still says $34.
  • Two blocks for one product: The theme and an app each output a Product schema, often with different values.
  • An expired sale date: Google may not show the result once priceValidUntil is in the past.
  • Ratings nobody can see: Review stars in the code with no reviews on the page.

Most of these share one fix. You have to generate markup from live product data, then compare it with the page so that nothing outdated is left on both the site and your code.

How Product schema works with Merchant Center

Product schema and a Google Merchant Center (GMC) feed describe the same products from two directions.

Markup lives on your pages, and Google reads it when it crawls them. A GMC feed is product data you send Google directly, through a file, an API, or a platform app (shopping ads run on the feed, not on your markup).

Google Merchant Center landing page.

Google recommends using both, and says that providing structured data and a Merchant Center feed together maximizes your eligibility for its shopping experiences.

The two also keep each other honest. Merchant Center’s automatic item updates can use your page markup to correct a feed’s price, sale price, availability, and condition when they fall out of date. That means fewer disapproved products in Shopping ads and free listings, as long as your markup matches what shoppers see.

Product schema and AI shopping answers

More shoppers now start with a question, like “best running shoes for men” or “Mascara liner for girls” and get an AI answer with products in it.

Google’s guide to its AI features says those responses can include product listings and product information, and that Merchant Center feeds can help your catalog show up in them.

Google hasn’t said that Product schema alone earns a spot in AI answers. What it does is keep your product facts identical everywhere Google looks: the page, the markup, and the feed.

Consistent data gives any system less to second-guess. Outside Google, OpenAI publishes a product feed spec for merchants who want their catalogs discovered in ChatGPT, and the same discipline applies there.

AI tools also weigh the words around your markup: specific descriptions, honest reviews, and content that answers buying questions. Our guide to schema markup for AI search covers the wider strategy, and our guide to AI Overviews explains how Google picks its sources.

Before you change anything, find out where you stand. Use an AI visibility tool, like Contentpen, to see whether ChatGPT, Gemini, Perplexity, and Google’s AI Mode mention your products when shoppers ask, and which competitors they recommend instead.

Find your brand in AI search

check

Track AI citations, share of voice, and brand sentiment

check

Find the top sources driving citations

Try AI Visibility →
AI SEO Interface

E-commerce schema beyond product pages

Product pages carry most of the weight, but a store has other pages Google needs to understand. A complete schema setup for e-commerce usually covers these:

Schema typeWhere it goesWhat it does
Organization schemaHomepage or About pageNames your store, logo, and contact details, and can hold store-wide shipping and return policies
Breadcrumb schemaProduct and category pagesDescribes the category path, like Home > Kitchen > Kettles
LocalBusiness schemaStore location pages, if you have a physical shopGives local searchers your address, hours, and phone number to contact
Article schemaBlog posts and buying guidesLabels the headline, author, and publish dates

Organization is the one most stores skip. If one return policy covers your whole catalog, you can describe it once there and keep product-level markup for the exceptions.

The last row is where many stores fall behind. Buying guides and how-to posts answer the questions shoppers ask before they know which product they want, and they give AI tools something worth quoting. These e-commerce blog examples show what that looks like in practice.

If writing them is the bottleneck, Contentpen’s AI agents can help you create SEO- and GEO-optimized articles on autopilot, then send them out with one-click publishing to Shopify, BigCommerce, WordPress, Wix, Webflow, and Ghost.

Publish content directly to your CMS, without copy-pasting

Move from draft to live post in a single step. No hassle, no errors!

Try One-click Publishing →
AI SEO Interface

Running a custom storefront? Webhooks and the public API deliver articles wherever your stack needs them, and the MCP server lets you run it all from a Claude or a ChatGPT window.

Final thoughts

Think about the last time you bought something after a search. You probably skimmed the results for a price you liked, a rating you trusted, then clicked the listing that showed all three. You never thought about schema. You just picked the result that answered first.

That’s the job Product schema does for your store.

Start with your best sellers and check what your platform outputs. Add shipping, returns, and identifiers, test the result, and let Search Console flag what slips.

Then build content around those pages with Contentpen, the SEO and AEO tool that helps your team spend time on the products themselves, rather than creating and publishing guides.

Frequently asked questions

Can Product schema show a sale price?

Yes. Put the price shoppers pay now in price, then add the original price inside priceSpecification with the priceType StrikethroughPrice. If the sale ends on a set date, add that date as priceValidUntil.

What should Product schema say when an item sells out?

Set availability to OutOfStock, or to BackOrder or PreOrder if shoppers can still order it. Keep the page and its markup live if the item is coming back, and use only one availability value at a time.

Can I use my store’s own customer reviews for star ratings?

Yes. Ratings that customers leave on your product pages can power review stars, as long as the page shows them. Google’s rule against self-serving reviews applies to reviews about your business in LocalBusiness or Organization markup, not to reviews of the products you sell.

Should I use JSON-LD or microdata for Product schema?

Use JSON-LD. Google reads JSON-LD, microdata, and RDFa, but recommends JSON-LD because the whole block sits in one place and is easier to maintain. If an older theme uses microdata, replace it rather than adding JSON-LD on top for the same product.

How long does it take for product rich results to show up?

It depends on when Google recrawls your pages, which can take anywhere from a few days to a few weeks. To speed things up for key products, request indexing with the URL Inspection tool in Search Console.