Question

Product Schema and Rich Results for E-commerce

4 min read

Short answer

Product structured data tells Google a page's product name, images, price, availability, ratings and policies in a form it can show in results. Google uses it for two kinds of result with different requirements: merchant listings, for pages where shoppers can buy, and product snippets, for review and comparison pages. Getting it right means choosing the right type for the page, including the properties that type requires, keeping values identical to what the page shows, and monitoring the matching Search Console report. Valid markup makes a page eligible; Google decides whether to show a rich result.

Sources

  1. 1developers.google.com
  2. 2developers.google.com
  3. 3developers.google.com

Ask next

Two Result Types, Two Sets of Requirements

Merchant listing Product snippet
Pages Pages where shoppers can buy the product from you Reviews, comparisons, aggregators
Required on Product <!–INLINECODE0–>, <!–INLINECODE1–>, <!–INLINECODE2–> <!–INLINECODE3–> plus one of <!–INLINECODE4–>, <!–INLINECODE5–>, <!–INLINECODE6–>
Offer An <!–INLINECODE7–> with a price above zero and a currency <!–INLINECODE8–> or <!–INLINECODE9–>; price required when offers are included
Search Console report Merchant listings Product snippets

From Google’s merchant listing documentation: merchant listings “require an Offer as the merchant has to be the seller of the product”, and “priceCurrency is required if price is specified”. From its product snippet documentation: “Product snippets require either review or aggregateRating or offers”. Both say product rich results support pages that focus on a single product or its variants, so keep this markup off category pages.

A Merchant Listing Example

For example, imagine a store selling one kettle on its own product page:

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Stainless Steel Electric Kettle 1.7 L",
  "image": [
    "https://www.example.com/photos/1x1/kettle.jpg",
    "https://www.example.com/photos/4x3/kettle.jpg",
    "https://www.example.com/photos/16x9/kettle.jpg"
  ],
  "description": "A 1.7 liter stainless steel kettle with automatic shut-off and a 360-degree base.",
  "sku": "KET-170-SS",
  "gtin13": "0123456789012",
  "brand": {
    "@type": "Brand",
    "name": "ExampleBrand"
  },
  "offers": {
    "@type": "Offer",
    "url": "https://www.example.com/kettle-1-7-l",
    "price": 49.99,
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock",
    "itemCondition": "https://schema.org/NewCondition"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": 4.6,
    "reviewCount": 128
  }
}

Every value must match the visible page: the same price, the same stock status, the same rating and count. Google’s documentation also requires that image URLs be “crawlable and indexable”, and recommends several high-resolution images in 16×9, 4×3 and 1×1 ratios.

  • Brand and identifiers (GTIN, MPN, SKU), which help Google match your product.
  • Description and availability, strongly recommended though not in the required list for merchant listings.
  • aggregateRating and review, if they come from your own customers on your site.
  • Shipping and return details. For return policies, Google recommends nesting a standard policy under Organization markup, and says product-level policies “should only be used to override a standard merchant-level return policy or when there is no standard return policy”; shipping works the same way.
  • Variants: pages for each variant with distinct URLs can be grouped; see Google’s variants documentation linked from the merchant listing page.

Review Markup Rules

Google’s review snippet guidelines set the rules:

  • Required for a Review: author, reviewRating and reviewRating.ratingValue, plus itemReviewed when the review isn’t nested in the product. datePublished is recommended.
  • Scale: “If bestRating is omitted, 5 is assumed”, and “If worstRating is omitted, 1 is assumed”, so add them when your scale isn’t 1 to 5.
  • Sources: “Don’t aggregate reviews or ratings from other websites.”

Review markup is covered in review and AggregateRating schema.

Implementation

  • Use JSON-LD, which Google lists as recommended; Microdata and RDFa also work if valid.
  • Generate markup from the same data as the page, so price and stock changes update both.
  • Check what plugins output rather than assuming it’s complete or correct.
  • Keep Merchant Center feeds consistent with page markup; see shopping results and merchant listings.

Testing Product Markup

  1. Rich Results Test on a product URL or code snippet before release.
  2. Search Console’s Merchant listings report for buyable product pages, and the Product snippets report for review and comparison pages. Google describes them as “separate due to the different requirements for the associated experiences.”
  3. Fix invalid items by template, then request validation in the report.

The tools are compared in schema markup testing and validation tools.

Errors That Cost Rich Results

Error Fix
Product markup on category pages Keep it on single-product pages
<!–INLINECODE15–> on a merchant listing Use an <!–INLINECODE16–> from your store
Price of zero on a merchant listing Use the actual price above zero
Markup price or stock that differs from the page Generate both from the same data
Ratings aggregated from other sites Mark up the reviews collected on your own site
Missing <!–INLINECODE17–> on individual reviews Add <!–INLINECODE18–> with <!–INLINECODE19–>

The rest of the product page is covered in product page SEO.

The Merchant listings and Product snippets reports show whether markup is valid, not whether it earns clicks. To judge that, compare the same product pages’ clicks in the Performance report before and after their markup became valid, and expect no change on pages where Google doesn’t show the rich result.

Link profile