From Invisible to #1 on Google Maps. · 14 years experience · Book your free audit claim yours →
Technical SEO

Product Schema for Ecommerce: Offers, Ratings, Variants, and Review Rules

A practical guide to Product, Offer, and review markup, merchant listing eligibility, accurate pricing, and validation, with service-business analogues.

For: Ecommerce operators, product-led site owners, and SEO leads who maintain structured data templates.

The schema.jsonld example from this guideA code editor showing the first lines of the schema.jsonld example used in the guide.schema.jsonld1{2"@context": "https://schema.org",3"@type": "Product",4"@id": "https://www.example.com/shoes/ridge…5"name": "Ridgeline Trail Runner",6"description": "Lightweight trail running s…7"image": [8"https://www.example.com/img/ridgeline-1x…9"https://www.example.com/img/ridgeline-4x…10"https://www.example.com/img/ridgeline-16…11],12"sku": "RTR-BLK-10",2 pathsProduct snippets andmerchant listings hav…4 fieldsname, image, price, andpriceCurrency are th…1 sourcePrice and stock in markupmust match the visibl…
2 pathsProduct snippets and merchant listings have different requirements
4 fieldsname, image, price, and priceCurrency are the merchant listing baseline
1 sourcePrice and stock in markup must match the visible page and feed
0 shortcutsFabricated or self-serving review markup risks a manual action

Product schema looks simple until you try to ship it at scale. A single template can emit valid JSON-LD for ten thousand SKUs and still disqualify every one of them from rich results because the price is stale, the availability value is a free-text string, or the star rating describes something the page never shows. Product markup is not decoration. It is a machine-readable contract about what you sell, what it costs, and whether a shopper can buy it today, and search engines treat contract breaches harshly.

This guide covers the properties that matter, the two distinct Google eligibility paths (product snippets and merchant listings), how to mark up variants, shipping, and returns, where review markup goes wrong, and how to validate before and after release. It ends with how service businesses can use the Service and Offer analogues without stepping on the self-serving review rule.

Best use case: Eligibility rules change, so confirm current requirements in Google's Search Central documentation before large template rollouts.

Product snippets versus merchant listings: two different eligibility paths

Google documents two overlapping Product experiences, and mixing them up leads to wrong priorities.

Product snippets are the enhanced organic results that can show review stars, a rating count, a price range, or availability. The page can be an editorial review, a comparison, or a product page. At minimum you need name plus one of review, aggregateRating, or offers. Pages where shoppers cannot buy directly can still qualify if they carry review or rating data.

Merchant listings are the richer shopping experiences: product knowledge panels, merchant listing results in Search and Images, and free listings in the Shopping tab. They are meant for pages where a shopper can actually purchase, and the bar is higher. Google requires name, image, and an offers object with price and priceCurrency, and it strongly recommends availability, itemCondition, brand, a global identifier such as gtin, plus shipping and return details.

The practical rule: build for merchant listings and you automatically satisfy the product snippet minimum. Build only for snippets and you leave shopping surfaces on the table. Also note that a Google Merchant Center feed and on-page markup are separate channels. When both exist and disagree, you create mismatch warnings, so treat one of them as the source of truth and generate the other from it.

The core object: Product, Offer, and the properties that carry weight

Think in three layers. Product describes the thing. Offer describes the commercial terms right now. AggregateRating and Review describe customer sentiment about the product. Each layer has its own failure modes.

  • name and description: Use the same product name a shopper sees in the H1. Do not stuff keywords or append marketing phrases that appear nowhere on the page.
  • image: Supply crawlable, high-resolution image URLs, ideally in multiple aspect ratios (1:1, 4:3, 16:9). The image must depict the actual product, not a logo or placeholder.
  • sku, gtin, mpn, brand: Identifiers are how Google matches your listing to the same product elsewhere. Use the right GTIN variant (gtin12, gtin13, gtin14) or the generic gtin property, and never invent a code. If a product has no GTIN, such as handmade goods, supply brand plus mpn instead.
  • offers.price and priceCurrency: Price is a plain number with a period as the decimal separator, no currency symbol and no thousands separators. Currency is an ISO 4217 code such as USD, CAD, or AUD.
  • offers.availability: Use a full schema.org URL such as https://schema.org/InStock, OutOfStock, PreOrder, or BackOrder. Free text like "In stock!" is a common error.
  • offers.itemCondition: Use NewCondition, UsedCondition, or RefurbishedCondition. Omitting it on used or refurbished goods misrepresents them.
  • offers.priceValidUntil: Recommended for products with time-limited pricing. If you include it, keep it in the future and update it, because an expired date is a data quality flag.
  • offers.url: The canonical URL of the buyable page, matching your canonical tag.

For sale pricing, you can mark up a strikethrough price with a UnitPriceSpecification of type StrikethroughPrice on the offer, but only when the struck-through price is visible on the page and genuinely was the prior price. Do not use it as a persistent fake discount.

A correct JSON-LD example with offers, shipping, returns, and ratings

The example below is illustrative; every value is a placeholder. It shows a single-variant product page with shipping and returns attached to the offer. Place it in a script type="application/ld+json" block in the page head or body.

{
  "@context": "https://schema.org",
  "@type": "Product",
  "@id": "https://www.example.com/shoes/ridgeline-trail-runner#product",
  "name": "Ridgeline Trail Runner",
  "description": "Lightweight trail running shoe with a rock plate and a 6 mm drop.",
  "image": [
    "https://www.example.com/img/ridgeline-1x1.jpg",
    "https://www.example.com/img/ridgeline-4x3.jpg",
    "https://www.example.com/img/ridgeline-16x9.jpg"
  ],
  "sku": "RTR-BLK-10",
  "mpn": "RTR-BLK-10",
  "gtin13": "0123456789012",
  "brand": { "@type": "Brand", "name": "Ridgeline" },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.6",
    "reviewCount": "212",
    "bestRating": "5",
    "worstRating": "1"
  },
  "review": [{
    "@type": "Review",
    "author": { "@type": "Person", "name": "Dana M." },
    "datePublished": "2026-08-14",
    "name": "Grippy on wet rock",
    "reviewBody": "Held up through a muddy 20 mile weekend.",
    "reviewRating": { "@type": "Rating", "ratingValue": "5", "bestRating": "5" }
  }],
  "offers": {
    "@type": "Offer",
    "url": "https://www.example.com/shoes/ridgeline-trail-runner",
    "price": "129.00",
    "priceCurrency": "USD",
    "priceValidUntil": "2026-12-31",
    "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": 0, "maxValue": 1, "unitCode": "DAY" },
        "transitTime": { "@type": "QuantitativeValue", "minValue": 2, "maxValue": 5, "unitCode": "DAY" }
      }
    },
    "hasMerchantReturnPolicy": {
      "@type": "MerchantReturnPolicy",
      "applicableCountry": "US",
      "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
      "merchantReturnDays": 30,
      "returnMethod": "https://schema.org/ReturnByMail",
      "returnFees": "https://schema.org/FreeReturn"
    }
  }
}

Notice what is not there: no ratings pulled from another site, no price range pretending to be a single price, and no property the page does not display. Every value in the markup should be traceable to something a shopper can see or a policy page they can read.

Price and availability accuracy: the most common cause of lost eligibility

Google compares your structured data against the rendered page and, for merchants, against Merchant Center data. A mismatch is the single most frequent reason valid-looking markup stops producing rich results. Three patterns cause most of the damage.

Server-rendered schema, client-rendered price. The template outputs a cached base price while JavaScript later swaps in a regional or logged-in price. Googlebot sees one number in the markup and another in the rendered DOM. Generate schema from the same data source the price component uses, or render both on the server.

Static availability. A hardcoded InStock on a page that shows "Sold out" is a direct contradiction. Wire availability to live inventory, and consider what your threshold means: if the last unit is reserved in a cart, the page and the markup should agree on the state you choose.

Tax, shipping, and currency confusion. In the US the displayed price usually excludes sales tax, and markup should match the displayed price. For countries where prices are shown tax-inclusive, such as Australia with GST, the markup must reflect the price the shopper sees. If you serve multiple currencies from one URL, make sure the markup currency matches what Googlebot actually receives, since it typically crawls without a cookie-based locale.

A useful operational control is a nightly job that samples a few hundred product URLs, fetches the rendered HTML, and compares the visible price, the JSON-LD price, and the feed price. Differences above zero should raise a ticket, because they are rarely rounding issues.

Variants: ProductGroup, hasVariant, and when not to duplicate

Products that come in sizes, colors, or materials need a deliberate structure. Google supports ProductGroup with hasVariant for this, and it is the right model when one page lists several variants or when variant URLs belong together.

  • ProductGroup: Carries shared details such as name, brand, and description, plus a productGroupID and variesBy listing the differing attributes (for example https://schema.org/size and https://schema.org/color).
  • hasVariant: Contains one Product per variant, each with its own sku, offers, and variant-specific size or color, and its own image where the look differs.
  • One URL per variant: If each variant has its own indexable URL, each page should mark up its own variant with isVariantOf pointing to the group, and the offer must reflect that variant's price and stock.
  • One URL, many variants: If a selector changes the page without changing the URL, give Google every variant in hasVariant or choose a default variant carefully, but do not mark the lowest price as the page price if the default selection costs more.

The failure to avoid is emitting several competing top-level Product objects on one page, each with a different price, with no relationship between them. That reads as conflicting claims about a single page. Separately, do not mark up a category or search-results page as if it were a single product. Listing pages should use ItemList or no product markup at all, and each product should be marked up on its own page.

Review markup: what is allowed, and the violations that draw manual actions

Review and rating markup produces the most visible enhancement, which is why it is the most abused. The rules are consistent across Google's documentation.

  • Reviews must be visible on the page. Markup describing reviews that users cannot read on that page is a spam signal.
  • Ratings must reflect real user submissions. Fabricated, templated, or editorially invented reviews violate the guidelines. A hardcoded ratingValue of 4.8 copied across every product is the classic tell.
  • Do not import ratings from other sites and present them as your own aggregate, unless the page genuinely displays and attributes them.
  • Be consistent with the count. Use reviewCount when the number is of written reviews and ratingCount when it is bare star ratings. Declare bestRating if your scale is not 1 to 5.
  • Review author is required. Use a real name or a legitimate display name, not a company name for third-party reviews and not an empty string.
  • Do not aggregate across unrelated products. A site-wide average attached to every product page misrepresents each product.
  • Avoid self-serving reviews on your own business entity. Google does not show review stars for LocalBusiness or Organization markup when the business is marking up reviews about itself, and does not treat that as eligible for review rich results. This applies to entity types, not to a genuine product page's own product reviews.
  • Moderation and gating. Collecting reviews only from satisfied customers, or suppressing negative ones before publication, undermines the credibility of the markup even where it technically validates.

Violations can lead to a manual action for structured data, which removes rich result eligibility for the affected pages until you fix the problem and request reconsideration. Because a template bug can hit thousands of URLs, review markup is worth an explicit code review on every release that touches it.

Common errors, ranked by how often they cost eligibility

  1. Price formatted as text. "$1,299.00" or "From 129" instead of 1299.00. Fix: output a plain number and a separate currency.
  2. Availability as free text. Use the schema.org URL values only.
  3. Markup without matching visible content. Price, rating, or stock that never appears on the page.
  4. Missing image or an unreachable image URL. Blocked by robots.txt, behind a login, or returning an error.
  5. Duplicate or conflicting Product blocks. Theme, app, and plugin each inject their own JSON-LD. Pick one source and disable the rest.
  6. AggregateRating without a valid count. Missing reviewCount or ratingCount, or a count of zero.
  7. Review or rating on an out-of-scope page. Category pages, tag archives, and cart or checkout pages.
  8. Stale priceValidUntil. A date in the past undermines the offer.
  9. Wrong identifier type. A 12-digit UPC placed in gtin13 without a leading zero, or an SKU placed in gtin.
  10. Return and shipping details contradicting the policy pages. Markup says free 30 day returns while the policy says 14 days with a restocking fee.

Most of these come from template logic, not from hand-written markup, so fix them once at the template layer and then confirm with a crawl.

Validation workflow, plus Service and Offer analogues for service businesses

Use three tools in sequence. The Rich Results Test confirms whether a specific URL's markup is eligible for Google features and surfaces errors versus warnings. The Schema Markup Validator checks general schema.org syntax independent of Google's feature rules. The Merchant listings and Product snippets reports in Search Console show errors and warnings at scale after Google has crawled your pages, which is where template-wide regressions appear first. Treat errors as blockers and warnings as a prioritized backlog: missing recommended fields such as shipping or returns will not remove eligibility but can reduce how fully your listing is displayed.

Before launch, test a representative sample: in-stock, out-of-stock, on-sale, multi-variant, and a product with zero reviews. After launch, monitor the Search Console reports weekly for a month, since indexing and reprocessing lag behind deploys. Run the markup through your site audit as well; our website SEO audit flags missing and malformed structured data across a crawl.

For service businesses. Google does not generate product snippets for services, but the same discipline applies. Use Service (or the more specific type for your trade) with provider, areaServed, serviceType, and an offers object when you publish real, consistent pricing, for example a fixed-price drain inspection or a starting-at tune-up. Group several into an OfferCatalog through hasOfferCatalog. Keep the same accuracy rules: a price in markup must be a price a customer can actually get, and a "from" price should be expressed with a PriceSpecification using minPrice rather than a misleading flat number.

{
  "@context": "https://schema.org",
  "@type": "Service",
  "name": "Water Heater Replacement",
  "serviceType": "Plumbing",
  "provider": { "@type": "Plumber", "name": "Example Plumbing Co.", "url": "https://www.example.com" },
  "areaServed": { "@type": "City", "name": "Austin" },
  "offers": {
    "@type": "Offer",
    "priceSpecification": {
      "@type": "PriceSpecification",
      "minPrice": "1450.00",
      "priceCurrency": "USD"
    }
  }
}

Do not put star ratings on that service markup unless the reviews come from real customers, are visible on the page, and are not self-serving reviews of your own business entity. For local businesses, stars earned through your Google Business Profile are the safer route. If you want the markup built correctly without hand-coding it, the schema generator produces valid Product, Service, and LocalBusiness JSON-LD.

FAQ

Do I need both Product schema on the page and a Merchant Center feed?

No, but they work best together. On-page Product markup makes your pages eligible for product snippets and merchant listing features in organic results. A Merchant Center feed adds Shopping tab placement and richer control. If you use both, keep prices, availability, and identifiers identical, because mismatches between them produce warnings and can suppress listings.

Can I add AggregateRating if I only have a few reviews?

Yes, as long as the ratings are genuine, visible on the page, and the counts are accurate. There is no documented minimum number of reviews. What matters is honesty and consistency. Do not round up, do not hardcode a value, and do not import ratings from a different site. A product with zero reviews should simply omit the rating markup.

Should every variant get its own Product markup?

If each variant has a separate URL, mark up that variant on its own page and link it to the group with isVariantOf. If a single page lets shoppers switch variants, use ProductGroup with hasVariant so each variant carries its own price, SKU, and availability. Avoid several unrelated Product blocks with conflicting prices on one page.

Why do my product rich results show in the Rich Results Test but not in search?

Passing the test only proves eligibility, not display. Google decides per query and per page whether to show enhancements, based on content quality, site trust, and consistency between markup and visible content. Check Search Console for warnings, confirm the page is indexed, and verify that price and stock match the rendered page.

Can a local service business use Product schema?

Only if it actually sells products on the page, such as a retail counter or a parts store. For services, use Service with provider, areaServed, and an Offer or priceSpecification that reflects real pricing. Self-serving reviews about your own business are not eligible for review stars, so avoid marking them up on LocalBusiness.

Turn this into a practical SEO action plan

Use RankLocalToday tools to check rankings, diagnose website issues, and prioritize the next organic traffic move.

Get your SEO plan →