Those eye-catching search results with a star rating, price and “In stock” label under a product listing are not automatic, they are powered by product schema markup. Adding this structured data to your product pages tells Google exactly what you are selling and can earn you rich results that stand out and lift click-through. This guide explains what product schema is, the properties that matter, the rules to follow, and how to generate it correctly.
What product schema is
Product schema is a block of structured data (usually JSON-LD) that describes a product on a page in a format search engines understand, its name, price, availability, brand, reviews and more. It follows the Schema.org Product vocabulary. When Google reads valid product markup, it can display a rich result: the enhanced listing with price, rating stars and stock status that draws the eye in a crowded results page.
The properties that matter
Some properties are required for rich results, others strongly recommended:
| Property | Role |
|---|---|
| name | The product’s name (required) |
| image | Product image URL (required) |
| offers (price, priceCurrency, availability) | Pricing and stock, drives the price/availability display |
| aggregateRating | Star rating and review count |
| brand, sku, gtin | Identifiers that improve matching |
The offers and aggregateRating blocks are what produce the price and star display most merchants want, so they deserve special care.
The rules you must follow
Google is strict about product markup because it directly affects shopping results. The core rules:
- Mark up real, visible content. The price, rating and availability in your schema must match what a user sees on the page. Mismatches are a violation.
- No fake or self-serving reviews. Ratings must come from genuine reviews, not invented ones.
- One product per markup block on a product page (use different types for category pages).
- Keep it current. Out-of-date prices or stock status can get your rich results suppressed.
Why it is worth doing
Product rich results take up more space and carry more information than a plain blue link, which tends to lift click-through, and they can qualify your products for Google’s shopping experiences. For an e-commerce site, that is free visibility and a competitive edge over listings that show only a title and URL. Because the markup also removes ambiguity about price, brand and availability, it helps Google (and increasingly AI shopping assistants) represent your products accurately.
Common product schema mistakes
A few errors trip merchants up repeatedly. Marking up a price that differs from the displayed price, a frequent cause of manual actions. Leaving availability stale so it says “In stock” on a sold-out item. Adding aggregateRating to a product with no visible reviews on the page. Using Product markup on a category listing page rather than the individual product. And forgetting to update the markup when a price changes, if your schema is hard-coded rather than generated from live data, it drifts out of sync. Each of these either fails validation or, worse, passes validation but violates Google’s guidelines and risks a penalty.
Generate and validate your product schema
Hand-writing JSON-LD is error-prone, one missing bracket and the whole block fails. Our free product schema generator builds valid Product markup from your fields, name, price, currency, availability, rating, brand, ready to paste into your page. After you add it, always confirm it parses: run the page through our schema validator to catch errors before Google does. For an overview of structured data in general, see our guide to what schema markup is.
The takeaway
Product schema turns a plain listing into a rich result with price, stars and stock status, valuable free visibility for any e-commerce page. Include the required name, image and offers, add aggregateRating where you have genuine reviews, and, above all, keep the markup matching the visible page and up to date. Generate valid markup with our product schema generator, validate it with the schema validator, and explore the rest of our free SEO tools.