Free SEO extension ๐Ÿ”ฅ
Ecommerce SEO โ€ข SeoSpidie Editorial Team โ€ข โ€ข 4 views

Product Schema Markup for Ecommerce: Show Price and Stock in Google

The Product schema fields that can show price, availability and ratings in Google, with common errors to avoid.

Product schema tells search engines the facts of a product page in a format they can read directly: the name, price, currency, availability, brand, identifiers and โ€” if you have genuine reviews โ€” the rating. It can make your products eligible for richer results in Google Search, Images and Shopping.

What Product schema can show

  • Price and currency
  • In stock or out of stock
  • Star ratings and review counts (from real customer reviews)
  • Shipping and return information

Google decides when to show these. Valid markup makes a page eligible, it does not guarantee a rich result.

The key fields

  • name โ€” the product name as shown on the page.
  • image โ€” one or more product image URLs.
  • description โ€” a short description.
  • brand โ€” the brand name.
  • sku, gtin or mpn โ€” identifiers. Validate barcodes with the GTIN validator.
  • offers โ€” price, priceCurrency (e.g. INR), availability (InStock, OutOfStock), and the product URL.
  • aggregateRating and review โ€” only from genuine reviews visible on the page.

A simple example in words

For a 1-litre steel water bottle selling at โ‚น899, in stock, by your brand: the markup names the product, lists two images, gives the brand and SKU, and includes an offer with price 899, currency INR and availability InStock. If 46 customers have reviewed it with an average of 4.5 stars on the page, the aggregateRating states those numbers.

Rules that prevent problems

  • Match the page exactly. The price and stock status in the markup must match what visitors see. Mismatches also cause disapprovals in Merchant Center.
  • Real reviews only. Do not invent ratings or mark up reviews you wrote yourself.
  • One product per page in the markup โ€” category pages listing many products should not use Product markup for each item as if it were the main product.
  • Update with the page. When the price changes, the markup must change too. Generating it from the same data as the page is safest.

Add and test it

Most e-commerce platforms output Product schema; check that yours is complete. For custom sites, the free schema generator builds Product JSON-LD from a form. Test pages with Google's Rich Results Test, and watch the Merchant listings and Product snippets reports in Search Console.

Product schema works hand in hand with your feed. Read how to list products on Google Shopping for free and what schema markup is.

Special cases

  • Variants โ€” a product with several sizes and colours can describe each variant, or use one main offer with a price range; keep it consistent with what the page shows.
  • Sale prices โ€” the markup should show the price the customer actually pays now.
  • Pre-orders and out of stock โ€” use the matching availability value so Google does not show the product as available.
  • Prices in another currency โ€” use the currency shown on the page for that market.

More free tools: browse all our free SEO tools, no sign-up needed.

Frequently asked questions

Does product schema improve rankings?

Not directly, but rich results with price and stock can increase clicks.

Can I show star ratings without reviews?

No. Ratings must come from genuine reviews shown on the page.

Do I need schema if I have a Merchant Center feed?

They help each other. Schema also lets Google verify your feed's price and stock on the page.

Why are my rich results not showing?

Common reasons: missing required fields, mismatched prices, or Google choosing not to show them for that search.