Skip to content
RankThat

Product schema

Product schema is structured data that describes a product on its page: name, images, price, currency, availability, reviews and identifiers like GTIN. Google uses it for product snippets and merchant listings in Search and Shopping.

By , co-founder of RankThat

Updated · How we write and check

Product schema is the Schema.org Product type added to a product page, usually as JSON-LD, with a nested Offer that holds the price and availability. It’s what lets Google show “$18.50, In stock, 4.7 stars” under a product’s search listing, and it feeds Google’s shopping features. On an online store it’s the single most useful piece of structured data you can have.

Most ecommerce platforms output it automatically. The work is usually checking that what they output is complete and correct.

Product and Offer

The two types do different jobs:

  • Product is the item itself: name, image, description, brand, sku, gtin, aggregateRating, review.
  • Offer is the deal: price, priceCurrency, availability, itemCondition, url, shipping and return details.

One product can have one offer (your price) or several. A comparison site listing many sellers uses AggregateOffer with a lowPrice and highPrice. A store selling its own product uses Offer.

Merchant listings vs product snippets

Google’s product structured data overview splits product rich results into two kinds:

Merchant listings Product snippets
For Pages where the shopper can buy the product from you Pages about a product where you can’t buy it directly
Typical site Online stores Review sites, editorial roundups, manufacturers without a shop
Can show Price, availability, shipping, returns, ratings, in Search and shopping surfaces Ratings, review details, pros and cons, price
Offer type Offer, price above zero Offer or AggregateOffer

For merchant listings, Google requires name, image and offers, and the offer must have price and priceCurrency. Pages must focus on one product (or its variants). Category pages don’t qualify. Markup that meets the merchant listing requirements usually covers product snippets too.

Example

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Colombia Huila Whole Bean Coffee, 1 kg",
  "image": [
    "https://www.example.com/images/colombia-huila-1kg.jpg"
  ],
  "description": "Single-origin washed coffee from Huila, medium roast, notes of red apple and caramel.",
  "sku": "BB-COL-1000",
  "gtin13": "0012345678905",
  "brand": { "@type": "Brand", "name": "Bean & Barrel Coffee" },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.7",
    "reviewCount": "38"
  },
  "offers": {
    "@type": "Offer",
    "url": "https://www.example.com/product/colombia-huila/",
    "price": "34.00",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock",
    "itemCondition": "https://schema.org/NewCondition"
  }
}
</script>

The price, stock status and rating in the markup must match what the shopper sees on the page. The rating can only come from reviews collected on your site and shown there (see review snippets).

Common problems we find

  • Missing availability, so Google can’t show “In stock”.
  • Prices that don’t match the page, often after a sale ends and a cache serves old markup.
  • Duplicate Product blocks from both WooCommerce and an SEO plugin, with different data.
  • aggregateRating with zero reviews, or a rating hard-coded into the theme.
  • Images blocked from crawling or too small.
  • Product markup on category pages. Google wants it on individual product pages.
  • No GTIN when the product has one. Identifiers help Google match your product with the same item elsewhere.

How it relates to Merchant Center

Google Merchant Center product feeds and on-page Product markup overlap. Shipping and return policies can be set in Merchant Center or Search Console instead of in markup, and where they conflict Google gives Merchant Center feed data the highest priority. Many stores use both: the feed for Shopping and free listings, the markup so the product page itself is understood.

How to check

Test a product URL in the Rich Results Test, and watch Search Console’s Merchant listings and Product snippets reports for site-wide errors. RankThat’s Site Audit flags store product pages without product data and invalid JSON-LD anywhere on the site. For a store-wide plan, see ecommerce SEO and our ecommerce solution.

Do this month’s SEO in an afternoon.