Structured Data for Ecommerce: Product Schema Done Right

SEO Team11 min read

Product schema is one of the highest-ROI structured data implementations available to ecommerce sites. This complete guide covers Product, Offer, Review, and BreadcrumbList schema with JSON-LD examples for multiple product types.

Rich results — the stars, prices, and availability badges that appear beneath some ecommerce listings in Google Search — are not magic. They are the direct output of correctly implemented Product schema. For ecommerce sites competing on the same keywords, rich results can increase click-through rate by 20–30% compared to plain blue links, according to data from Google's own case studies.

This guide covers every structured data type relevant to ecommerce: Product, Offer, AggregateRating, Review, and BreadcrumbList. Each section includes validated JSON-LD you can adapt, along with common mistakes that cause Google to reject your markup.


Why JSON-LD Is the Preferred Format

Google supports three formats for structured data: JSON-LD, Microdata, and RDFa. In its developer documentation, Google explicitly recommends JSON-LD as the preferred format because:

  • It is injected in a <script> tag and does not require modifying HTML markup
  • It is easier to maintain and update via CMS plugins or template variables
  • It separates structured data logic from presentation logic

All examples in this guide use JSON-LD.


Core Product Schema

The Product type is the foundation. At minimum, Google requires: name, image, description, and at least one of offers, review, or aggregateRating for a rich result to be eligible.

Physical product (single variant)

json
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Handcrafted Oak Writing Desk",
  "description": "Solid oak writing desk with three drawers and a cable management tray. Available in natural and dark walnut finishes. Ships assembled in 5–7 business days.",
  "image": [
    "https://example.com/images/oak-desk-front-1200x900.webp",
    "https://example.com/images/oak-desk-angle-1200x900.webp"
  ],
  "sku": "OAK-DESK-001",
  "mpn": "OD-2025-NAT",
  "brand": {
    "@type": "Brand",
    "name": "Woodcraft Co."
  },
  "offers": {
    "@type": "Offer",
    "url": "https://example.com/products/oak-writing-desk",
    "priceCurrency": "GBP",
    "price": "549.00",
    "priceValidUntil": "2025-12-31",
    "itemCondition": "https://schema.org/NewCondition",
    "availability": "https://schema.org/InStock",
    "shippingDetails": {
      "@type": "OfferShippingDetails",
      "shippingRate": {
        "@type": "MonetaryAmount",
        "value": "0",
        "currency": "GBP"
      },
      "deliveryTime": {
        "@type": "ShippingDeliveryTime",
        "businessDays": {
          "@type": "OpeningHoursSpecification",
          "dayOfWeek": ["Monday","Tuesday","Wednesday","Thursday","Friday"]
        },
        "cutoffTime": "14:00:00Z",
        "handlingTime": {
          "@type": "QuantitativeValue",
          "minValue": 1,
          "maxValue": 2,
          "unitCode": "DAY"
        },
        "transitTime": {
          "@type": "QuantitativeValue",
          "minValue": 3,
          "maxValue": 5,
          "unitCode": "DAY"
        }
      }
    }
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.7",
    "reviewCount": "143"
  }
}

Why shippingDetails matters: Google added merchant-level shipping and return policies as a requirement for free listings in Google Shopping. Including shippingDetails and hasMerchantReturnPolicy in your schema can unlock Shopping feed eligibility without a separate data feed.


Multiple Variants with ItemList

When a product has multiple variants (sizes, colours, materials), you have two schema approaches: use a single Product with multiple Offer objects, or use ItemList with individual ListItem entries pointing to variant URLs.

Single Product with Multiple Offers

json
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Classic Crew-Neck T-Shirt",
  "image": "https://example.com/images/tshirt-white.webp",
  "offers": [
    {
      "@type": "Offer",
      "name": "White — Small",
      "sku": "TSH-WHT-S",
      "priceCurrency": "USD",
      "price": "29.00",
      "availability": "https://schema.org/InStock",
      "itemCondition": "https://schema.org/NewCondition"
    },
    {
      "@type": "Offer",
      "name": "White — Medium",
      "sku": "TSH-WHT-M",
      "priceCurrency": "USD",
      "price": "29.00",
      "availability": "https://schema.org/InStock",
      "itemCondition": "https://schema.org/NewCondition"
    },
    {
      "@type": "Offer",
      "name": "White — Large",
      "sku": "TSH-WHT-L",
      "priceCurrency": "USD",
      "price": "29.00",
      "availability": "https://schema.org/OutOfStock",
      "itemCondition": "https://schema.org/NewCondition"
    }
  ]
}

SaaS and Subscription Products

Schema.org's Product type applies equally to software and subscription services. Use SoftwareApplication for downloadable software, and Product with subscription pricing for SaaS.

json
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Draftly Pro — Monthly Subscription",
  "description": "AI-powered 3D website builder for agencies and growing businesses. Unlimited pages, custom domains, and priority rendering.",
  "image": "https://draftly.space/images/pro-plan-feature-overview.webp",
  "brand": {
    "@type": "Brand",
    "name": "Draftly"
  },
  "offers": {
    "@type": "Offer",
    "url": "https://draftly.space/pricing",
    "priceCurrency": "USD",
    "price": "49.00",
    "priceSpecification": {
      "@type": "UnitPriceSpecification",
      "priceCurrency": "USD",
      "price": "49.00",
      "unitText": "MONTH"
    },
    "availability": "https://schema.org/InStock",
    "itemCondition": "https://schema.org/NewCondition"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.8",
    "reviewCount": "312"
  }
}

Review Schema

Individual reviews can be nested inside the Product object or provided as standalone Review entities. Google can display individual review snippets for certain categories.

json
"review": [
  {
    "@type": "Review",
    "reviewRating": {
      "@type": "Rating",
      "ratingValue": "5",
      "bestRating": "5"
    },
    "author": {
      "@type": "Person",
      "name": "Sarah M."
    },
    "datePublished": "2025-03-14",
    "reviewBody": "Built my entire agency portfolio in a weekend using Draftly. The 3D transitions are stunning and my clients are genuinely impressed."
  }
]

Critical rule: Google's structured data quality guidelines prohibit self-serving review markup — do not add reviewer markup for reviews you wrote yourself or that are not from real customers. Violating this can result in manual action.


BreadcrumbList Schema for Product Pages

Breadcrumb schema helps Google understand your site's hierarchy and displays a breadcrumb path in the SERP, replacing or supplementing the URL.

json
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Home",
      "item": "https://example.com"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "Furniture",
      "item": "https://example.com/furniture"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "Desks",
      "item": "https://example.com/furniture/desks"
    },
    {
      "@type": "ListItem",
      "position": 4,
      "name": "Handcrafted Oak Writing Desk",
      "item": "https://example.com/products/oak-writing-desk"
    }
  ]
}

Include both Product and BreadcrumbList in the same page by wrapping them in an array or using separate <script> tags.


Merchant Return Policy Schema

Since 2023, Google has required return policy information for rich results eligibility on many product types. Add hasMerchantReturnPolicy to your Offer:

json
"hasMerchantReturnPolicy": {
  "@type": "MerchantReturnPolicy",
  "applicableCountry": "GB",
  "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
  "merchantReturnDays": 30,
  "returnMethod": "https://schema.org/ReturnByMail",
  "returnFees": "https://schema.org/FreeReturn"
}

Validation and Monitoring

After implementing schema, validate it before deploying:

  1. Google Rich Results Test — paste your URL or code snippet at search.google.com/test/rich-results
  2. Schema Markup Validator — use validator.schema.org for deeper validation against the full Schema.org vocabulary
  3. Google Search Console — the Enhancements section shows errors, warnings, and valid items for each structured data type, updated as Google crawls your pages

Monitor your Search Console Enhancements report monthly. Common errors include:

  • Missing required offers property
  • Invalid availability value (must use the full schema.org URL, not just "InStock")
  • price provided as a number with currency symbol rather than a pure numeric string
  • Outdated priceValidUntil dates

For a broader look at how structured data fits into a complete SEO strategy for business and SaaS sites, see our guide on schema markup for SaaS websites. And if your product pages live on a 3D website, our beginner's guide to Draftly shows how schema can be integrated without touching code.

Presets that fit this

Next on the pileHow to choose a website preset: judge the structure, ignore the copyTutorials · 7 min read

Also on the desk