SEOApril 12, 202610 min read

Ecommerce Schema Markup: The Complete Guide for 2026

Schema markup helps Google understand your products and can unlock rich results in search. Here's what to add, how to add it, and how to test it works.

StoreVitals Team

Schema markup is the difference between a plain search result ("Blue Yoga Mat — $29 | YogaStore") and a rich result showing star ratings, price, availability, and review count directly in Google. For ecommerce stores, those rich results can meaningfully increase click-through rates — 20-30% improvements are common.

This guide covers which schema types matter for ecommerce, exactly how to implement them, and how to verify they're working.

Why Schema Markup Matters for Ecommerce

Google's search results are increasingly visual. Product listings with star ratings, price ranges, and in-stock status outperform plain text links because they give searchers more information before they click. Schema markup is how you communicate that information to Google in a machine-readable format.

Beyond rich results, schema helps Google understand your content at a deeper level — what you sell, who you are, how you're rated. This context improves the quality of your rankings, not just their appearance.

The Core Schema Types for Ecommerce

1. Product Schema

The most important schema for any ecommerce store. Product schema tells Google the name, description, price, availability, and reviews for each product. When implemented correctly, it enables:

  • Price and availability in search results
  • Review stars and rating count
  • Google Shopping eligibility

Basic Product schema in JSON-LD:

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Organic Cotton Yoga Mat",
  "description": "Non-slip, 6mm thick, eco-friendly yoga mat. Available in 5 colors.",
  "image": "https://yourstore.com/images/yoga-mat-blue.jpg",
  "brand": {
    "@type": "Brand",
    "name": "EcoYoga"
  },
  "offers": {
    "@type": "Offer",
    "url": "https://yourstore.com/products/organic-cotton-yoga-mat",
    "priceCurrency": "USD",
    "price": "49.00",
    "availability": "https://schema.org/InStock",
    "seller": {
      "@type": "Organization",
      "name": "Your Store Name"
    }
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.7",
    "reviewCount": "128"
  }
}

Required fields for Google rich results: name, image, offers (with price and priceCurrency). Availability and aggregateRating are recommended for best results.

2. Organization Schema

Add this to your homepage to tell Google who you are — your business name, logo, contact info, and social profiles. It strengthens your Knowledge Panel in Google Search and helps Google associate your content with your brand.

{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Your Store Name",
  "url": "https://yourstore.com",
  "logo": "https://yourstore.com/logo.png",
  "contactPoint": {
    "@type": "ContactPoint",
    "contactType": "customer service",
    "email": "hello@yourstore.com"
  },
  "sameAs": [
    "https://www.instagram.com/yourstore",
    "https://www.facebook.com/yourstore"
  ]
}

3. BreadcrumbList Schema

Breadcrumbs appear in search results showing the page hierarchy (Home > Women > Yoga Mats). They make results more clickable and help Google understand your site structure.

{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Home",
      "item": "https://yourstore.com"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "Yoga Mats",
      "item": "https://yourstore.com/yoga-mats"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "Organic Cotton Yoga Mat",
      "item": "https://yourstore.com/products/organic-cotton-yoga-mat"
    }
  ]
}

4. FAQPage Schema

If your product pages have FAQ sections ("What size should I order?" "Does this ship internationally?"), FAQPage schema can get them displayed as expandable results directly in Google. This dramatically increases the visible space your result takes up.

{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What sizes are available?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Available in Standard (68in x 24in) and Large (72in x 26in)."
      }
    }
  ]
}

5. Review Schema

Individual reviews on product pages can be marked up with Review schema. Combined with AggregateRating in your Product schema, this enables the star rating rich result most shoppers look for.

How to Implement Schema on Your Platform

Shopify: Most modern themes include Product schema. Check your theme's JSON-LD output using View Source (search for "schema.org/Product"). To customize or add additional types, edit your theme's product.liquid or use a schema app from the Shopify App Store.

WooCommerce: Yoast SEO (free) and Rank Math (free) both add comprehensive schema markup including Product, Organization, BreadcrumbList, and more. These plugins are the easiest way to get full schema coverage on WooCommerce.

BigCommerce: Schema markup is included in most marketplace themes. For custom schema, use BigCommerce's {{inject}} template helper to add JSON-LD to page headers.

Squarespace: Basic Product schema is auto-generated on Commerce plans. For additional types, use Settings → Advanced → Code Injection → Header to add JSON-LD.

Custom-built stores: Add JSON-LD as a <script type="application/ld+json"> tag in the <head> of each page type. Use templates to dynamically populate product data.

Testing Your Schema Markup

After implementing schema, always test it:

  1. Google Rich Results Test: Go to search.google.com/test/rich-results and enter your product page URL. Google will show you what rich results your schema qualifies for and flag any errors.
  2. Schema.org Validator: validator.schema.org — paste your JSON-LD to check for structural errors.
  3. Google Search Console: After your schema is live and crawled, check Enhancements → Products for impressions and errors at scale.

Common Schema Mistakes to Avoid

  • Marking up content that isn't visible on the page: Google's guidelines require schema to match visible page content. Don't add aggregateRating schema if you're not displaying reviews.
  • Using outdated ItemAvailability values: Use the full URL format (https://schema.org/InStock) not shorthand ("InStock").
  • Forgetting to update availability: When products go out of stock, your schema should reflect that. Stale InStock markup on out-of-stock products can trigger Google policy violations.
  • Nesting errors: JSON-LD must be valid JSON. Missing commas, unclosed brackets, or mismatched quotes will break everything. Use a JSON validator before deploying.

StoreVitals automatically checks for the presence of structured data (JSON-LD, Microdata, and RDFa) as part of every store health scan. Run a free scan to see if your store's schema is detected properly.

schema markupstructured dataJSON-LDrich resultsSEO

See these issues on your store?

Run a free scan and find out in seconds.

Run Free Scan