Product Schema Markup: 2026 JSON-LD Guide for Ecommerce

Copy-paste product schema markup in JSON-LD, plus price ranges with AggregateOffer, GTIN and UPC fields, ProductGroup variants, OfferCatalog and store-wide shipping and returns on WooCommerce and Shopify.

Your product pages already show shoppers the price, the stock level and the star rating. Google only repeats those details under your search result when it can read them from product schema markup. A page with no markup, or with markup that disagrees with the page, competes as a plain blue link next to listings that carry all of it.

The fix is smaller than most stores expect, since the required part is just a name, an image and an offer with a price and a currency. Below is a complete Product JSON-LD block you can copy. After it come the parts that trip stores up: price ranges, GTIN and UPC codes, variants, store-wide shipping and returns and large catalogs.

Want the product markup shipped for you? Gatilab's schema and structured data service implements and validates it on WooCommerce, Shopify or a custom store, then monitors the Search Console reports that follow.

Product JSON-LD Example You Can Copy

This is a complete Product JSON-LD block for a physical product sold on its own page. It includes product-level shipping and return details so every property sits in one place. A store with one standard policy can drop those 2 objects and set them once for the whole store, as shown further down.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Mechanical Keyboard Pro 75",
  "image": [
    "https://example.com/keyboard-front.jpg",
    "https://example.com/keyboard-side.jpg",
    "https://example.com/keyboard-typing.jpg"
  ],
  "description": "Hot-swap 75% mechanical keyboard with PBT keycaps and gasket-mounted aluminum case.",
  "url": "https://example.com/products/keyboard-pro-75",
  "sku": "KB-PRO-75-BLK",
  "mpn": "KBP75-2026",
  "gtin13": "5901234123457",
  "brand": {
    "@type": "Brand",
    "name": "Acme Keyboards"
  },
  "category": "Computer Peripherals > Keyboards",
  "color": "Charcoal Black",
  "weight": {
    "@type": "QuantitativeValue",
    "value": 1.2,
    "unitCode": "KGM"
  },
  "offers": {
    "@type": "Offer",
    "url": "https://example.com/products/keyboard-pro-75",
    "priceCurrency": "USD",
    "price": 189.00,
    "priceValidUntil": "2027-12-31",
    "availability": "https://schema.org/InStock",
    "itemCondition": "https://schema.org/NewCondition",
    "seller": {
      "@type": "Organization",
      "name": "Acme Keyboards"
    },
    "shippingDetails": {
      "@type": "OfferShippingDetails",
      "shippingRate": {
        "@type": "MonetaryAmount",
        "value": 5.99,
        "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",
      "returnPolicyCountry": "US",
      "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
      "merchantReturnDays": 30,
      "returnMethod": "https://schema.org/ReturnByMail",
      "returnFees": "https://schema.org/FreeReturn"
    }
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": 4.7,
    "reviewCount": 1240,
    "bestRating": 5,
    "worstRating": 1
  }
}
</script>

Before you paste it, these are the values to swap for your own:

  • name, image, description and url: the product's own values, matching what the page shows
  • sku, mpn and gtin13: only the identifiers the product really has, with the rest left out
  • price and priceCurrency: a plain number such as 189.00 and an ISO 4217 code such as USD
  • availability: InStock, OutOfStock, PreOrder or BackOrder, kept in sync with real stock
  • shippingDetails and hasMerchantReturnPolicy: only when this product differs from the store-wide policy
  • aggregateRating: only when the same ratings are visible on the page

The script goes anywhere in the page HTML. Google reads JSON-LD in the head or the body, which is why platforms such as WooCommerce print it in the footer.

Product Snippets vs Merchant Listings

Product schema markup is structured data that uses the schema.org Product type. Google uses it for 2 different features, and the feature decides which fields a page needs:

Feature

Page type

Required fields

What to know

Merchant listings

Pages where shoppers buy the product from you

name, image, offers (an Offer with price and priceCurrency)

AggregateOffer doesn't qualify. Shipping, returns and GTIN are recommended.

Product snippets

Review, comparison and affiliate pages

name plus review, aggregateRating or offers

Offer or AggregateOffer both work. The price drop enhancement needs an Offer.

Both features only cover pages that focus on one product or one product with its variants. Google recommends marking up product pages rather than category pages or lists of products, so a "shoes in our shop" page isn't a candidate.

Product is one of several types a store usually needs. A shop with a physical location also benefits from LocalBusiness markup, explained in our local business schema markup guide. Tickets for concerts or conferences belong in Event markup, covered in our event schema markup guide. The full catalog of types is mapped in our types of schema markup guide.

Google's merchant listing documentation has 3 required Product properties and a long recommended list. Product snippets ask for less, so the fields below follow the merchant listing rules, the stricter of the two.

Required: name, image (one or more URLs) and offers, where each Offer carries price and priceCurrency.

Recommended: description, brand (with name), sku, mpn, gtin (or gtin8, gtin12, gtin13, gtin14), aggregateRating, review, category, color, size and weight, plus availability, itemCondition, url and priceValidUntil on the Offer.

Recommended, and best set once for the store: offers.shippingDetails and offers.hasMerchantReturnPolicy. Google recommends one store-wide shipping and return policy, under Organization markup or in Search Console, with product-level versions only for products that differ from it. The priceValidUntil property needs care on sale prices, because Google may not show a listing whose priceValidUntil date has already passed.

Price Ranges in Product Schema: AggregateOffer

Schema.org has no "price range" field for a product. The priceRange property people find in the vocabulary belongs to LocalBusiness, where it holds a rough level such as $$ for a restaurant or a salon. On a Product, a range is written as an AggregateOffer:

  • lowPrice and priceCurrency: required by Google for an AggregateOffer
  • highPrice and offerCount: recommended, and worth adding whenever you know them
  • Where it works: product snippets on comparison, review and marketplace pages
  • Where it doesn't: merchant listings, which need a single Offer from the seller

Google is also explicit that AggregateOffer shouldn't describe a set of variants. A store selling one sweater in 5 sizes at different prices should use the ProductGroup markup below, with one Offer per variant. Here is AggregateOffer on a comparison page, with individual reviews nested as Review objects:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Wireless Earbuds Studio",
  "image": "https://example.com/earbuds.jpg",
  "brand": {
    "@type": "Brand",
    "name": "Acme Audio"
  },
  "offers": {
    "@type": "AggregateOffer",
    "priceCurrency": "USD",
    "lowPrice": 129.00,
    "highPrice": 189.00,
    "offerCount": 5
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": 4.6,
    "reviewCount": 847
  },
  "review": [
    {
      "@type": "Review",
      "author": {
        "@type": "Person",
        "name": "Sarah M."
      },
      "datePublished": "2026-04-12",
      "reviewRating": {
        "@type": "Rating",
        "ratingValue": 5
      },
      "reviewBody": "Best sound quality I have heard in this price range."
    },
    {
      "@type": "Review",
      "author": {
        "@type": "Person",
        "name": "James K."
      },
      "datePublished": "2026-04-08",
      "reviewRating": {
        "@type": "Rating",
        "ratingValue": 4
      },
      "reviewBody": "Battery life is solid. Touch controls take getting used to."
    }
  ]
}
</script>

Each Review needs an author that is a real person or team, and every review in the markup should also appear on the page. Ratings copied in from another website don't qualify.

GTIN, UPC and EAN in Product Schema Markup

A UPC is a GTIN, and so is an EAN. The barcode number maps to a schema.org property by its length:

  • UPC-A, 12 digits: gtin12
  • EAN-13, 13 digits: gtin13
  • EAN-8, 8 digits: gtin8
  • GTIN-14 on cases and cartons, 14 digits: gtin14
  • Books: isbn, since an ISBN-13 is also a valid GTIN-13

Google accepts the generic gtin property for any of these but recommends the most specific one. It also wants the numeric form only, so a GS1 Digital Link URL in the gtin field isn't supported.

Adding a UPC to a web listing means putting the same digits in the product's JSON-LD, written as a string so a leading zero survives, such as "gtin12": "036000291452". Each variant should carry its own code rather than the parent's. If the store also sends a Merchant Center feed, the feed and the page should carry the same number, because Google compares the two. A product without a GTIN, such as a handmade or custom item, should leave the property out rather than invent one.

Product Variants With ProductGroup

Google added variant markup in February 2024. A product sold in several sizes or colors becomes a ProductGroup, and each variant becomes a Product inside it. Only name is required on the ProductGroup itself, but in practice the markup needs 3 recommended properties to do its job:

  • productGroupID: the parent SKU that ties the variants together
  • variesBy: the attributes that change, from Google's supported list of color, size, suggestedAge, suggestedGender, material and pattern
  • hasVariant: one Product per variant, each with its own name, SKU, GTIN and Offer

This example covers a single page where the size and color are selected through URL parameters:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "ProductGroup",
  "name": "Merino Crew Sweater",
  "description": "Fine-knit merino wool crew neck sweater.",
  "url": "https://example.com/products/merino-crew",
  "brand": {
    "@type": "Brand",
    "name": "Acme Knit"
  },
  "productGroupID": "MCS-100",
  "variesBy": [
    "https://schema.org/size",
    "https://schema.org/color"
  ],
  "hasVariant": [
    {
      "@type": "Product",
      "sku": "MCS-100-S-NVY",
      "name": "Merino Crew Sweater (Small, Navy)",
      "size": "Small",
      "color": "Navy",
      "image": "https://example.com/merino-crew-navy.jpg",
      "offers": {
        "@type": "Offer",
        "url": "https://example.com/products/merino-crew?size=small&color=navy",
        "price": 89.00,
        "priceCurrency": "USD",
        "availability": "https://schema.org/InStock"
      }
    },
    {
      "@type": "Product",
      "sku": "MCS-100-M-NVY",
      "name": "Merino Crew Sweater (Medium, Navy)",
      "size": "Medium",
      "color": "Navy",
      "image": "https://example.com/merino-crew-navy.jpg",
      "offers": {
        "@type": "Offer",
        "url": "https://example.com/products/merino-crew?size=medium&color=navy",
        "price": 89.00,
        "priceCurrency": "USD",
        "availability": "https://schema.org/InStock"
      }
    },
    {
      "@type": "Product",
      "sku": "MCS-100-M-GRY",
      "name": "Merino Crew Sweater (Medium, Grey)",
      "size": "Medium",
      "color": "Grey",
      "image": "https://example.com/merino-crew-grey.jpg",
      "offers": {
        "@type": "Offer",
        "url": "https://example.com/products/merino-crew?size=medium&color=grey",
        "price": 89.00,
        "priceCurrency": "USD",
        "availability": "https://schema.org/OutOfStock"
      }
    }
  ]
}
</script>

Each variant's name should be more specific than the group's, and its Offer URL should open the page with that variant selected. When variants live on separate pages, each page can mark up its own variant and point back to the group with isVariantOf or inProductGroupWithID. Shared details such as brand can sit on the ProductGroup once instead of on every variant.

OfferCatalog in JSON-LD

OfferCatalog is a schema.org type for a list of offers, usually attached to an Organization, a store or a Service through hasOfferCatalog. It is valid markup, but Google's product documentation doesn't use it. None of the merchant listing, product snippet or variant guides mention OfferCatalog, and the guidelines tie product rich results to pages about a single product.

So OfferCatalog won't earn rich results for a category page. It is still useful on the store's Organization markup, where it tells machines what the business sells. Service businesses use the same pattern for their packages:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "OnlineStore",
  "name": "Acme Keyboards",
  "url": "https://example.com",
  "hasOfferCatalog": {
    "@type": "OfferCatalog",
    "name": "Keyboards",
    "itemListElement": [
      {
        "@type": "Offer",
        "itemOffered": {
          "@type": "Product",
          "name": "Mechanical Keyboard Pro 75",
          "url": "https://example.com/products/keyboard-pro-75"
        },
        "price": 189.00,
        "priceCurrency": "USD"
      },
      {
        "@type": "Offer",
        "itemOffered": {
          "@type": "Product",
          "name": "Mechanical Keyboard Mini 60",
          "url": "https://example.com/products/keyboard-mini-60"
        },
        "price": 139.00,
        "priceCurrency": "USD"
      }
    ]
  }
}
</script>

Each product in the catalog keeps its own full Product markup on its own page. The catalog only summarizes them, so the prices in it have to stay in step with those pages.

What Changed in Product Schema Markup for 2026

None of Google's recent changes made a new Product property required. They change where shipping and return details live, which source wins when two of them disagree and how a sale price should be dated. Google's documentation dates each one:

  • June 2024: Google added support for a store-wide return policy, a MerchantReturnPolicy nested under Organization through hasMerchantReturnPolicy.
  • July 2024: Search Console gained shipping and returns settings, so a store can hand Google its policies without writing any markup.
  • July 2025: Google clarified that a merchant-level return policy must sit under Organization markup and that an Offer-level policy supports only a subset of its properties.
  • November 2025: store-wide shipping arrived the same way, as a ShippingService nested under Organization through hasShippingService. It covers rates by destination and order value, delivery times and countries the store doesn't ship to.
  • May 2026: hasAdultConsideration joined the merchant listing and product variant documentation, for stores that sell adult products.
  • July 2026: Google published sale-duration guidance. A sale price should carry validFrom for the start and validThrough or priceValidUntil for the end, in ISO 8601 with a time and timezone. Also that month, category started accepting a Google product category code (CategoryCode) as well as plain text.

The precedence order matters more than any single change. When the same policy reaches Google from more than one place, Google's merchant shipping policy documentation ranks the sources from strongest to weakest:

  1. Content API for Shopping account settings
  2. Merchant Center or Search Console settings
  3. shippingDetails or hasMerchantReturnPolicy on the product's Offer
  4. the same policies on Organization markup

So a store with one standard policy should set it once, in Search Console or as Organization markup, and keep Offer-level shippingDetails or hasMerchantReturnPolicy for the products that break the rule, such as oversized items or final-sale goods. Here is a store-wide policy as Organization markup, with 30-day free returns and free shipping on orders of $50 or more:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "OnlineStore",
  "name": "Acme Keyboards",
  "url": "https://example.com",
  "hasMerchantReturnPolicy": {
    "@type": "MerchantReturnPolicy",
    "applicableCountry": "US",
    "returnPolicyCountry": "US",
    "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
    "merchantReturnDays": 30,
    "returnMethod": "https://schema.org/ReturnByMail",
    "returnFees": "https://schema.org/FreeReturn"
  },
  "hasShippingService": {
    "@type": "ShippingService",
    "name": "Standard US shipping",
    "shippingConditions": [
      {
        "@type": "ShippingConditions",
        "shippingDestination": {
          "@type": "DefinedRegion",
          "addressCountry": "US"
        },
        "orderValue": {
          "@type": "MonetaryAmount",
          "minValue": 0,
          "maxValue": 49.99,
          "currency": "USD"
        },
        "shippingRate": {
          "@type": "MonetaryAmount",
          "value": 5.99,
          "currency": "USD"
        }
      },
      {
        "@type": "ShippingConditions",
        "shippingDestination": {
          "@type": "DefinedRegion",
          "addressCountry": "US"
        },
        "orderValue": {
          "@type": "MonetaryAmount",
          "minValue": 50,
          "currency": "USD"
        },
        "shippingRate": {
          "@type": "MonetaryAmount",
          "value": 0,
          "currency": "USD"
        }
      }
    ]
  }
}
</script>

Google recommends placing this markup on the one page that describes your shipping and return policy; it doesn't need to be on every page. That single block replaces the shipping and return objects in every product's JSON-LD. If the same policy also sits in Search Console, Google uses the Search Console version, so a store is better off keeping one source than two that drift apart.

WooCommerce Implementation for Product Schema Markup

WooCommerce already prints Product JSON-LD on every product page. Its WC_Structured_Data class has done that since WooCommerce 3.0, and the script lands in the page footer, so a look at the page source shows exactly what Google receives. On a current store (11.3), core outputs:

  • name, url, description (the short description, or the full one when the short one is empty) and the main product image
  • sku, which falls back to the product ID when the SKU field is empty
  • gtin, only when the product's "GTIN, UPC, EAN, or ISBN" field holds a valid 8, 12, 13 or 14 digit code
  • brand, when the product has a WooCommerce brand (the first one only, with its logo if the brand has one)
  • an Offer with price, priceCurrency, priceValidUntil, availability (InStock, BackOrder or OutOfStock), url and seller, plus a priceSpecification that lists a sale price first and the regular price as the ListPrice
  • an AggregateOffer with lowPrice, highPrice and offerCount on a variable product whose variations have different prices
  • from 11.0, a single Offer for one variation, with that variation's SKU and GTIN and an inProductGroupWithID, when the URL selects every variation attribute
  • from 11.3, an OnlineStore block whose return policy is a merchantReturnLink to the store's Refund and Returns page, printed on product pages and on that page
  • aggregateRating and the 5 most recent rated reviews, when star ratings are enabled and the product has ratings

It leaves these out:

  • mpn and itemCondition
  • shippingDetails
  • the return window, fees and method, since the 11.3 block only links to the policy page
  • variant markup beyond that price range (no ProductGroup, hasVariant or variesBy)

Google accepts a merchantReturnLink on its own as a minimal return policy, so the 11.3 block is a real improvement. The details still have to come from Search Console or fuller Organization markup if Google is to read them. So the job on a WooCommerce store is filling those gaps, and there are generally four ways to do it.

Path 1: Store-wide policies in Search Console or Organization markup. Google recommends one shipping and return policy for the whole business, so these should be set once. Search Console's shipping and returns settings need no code and take priority over any markup. Organization markup, like the example above, keeps the policy in your own code, and the woocommerce_structured_data_online_store filter can extend WooCommerce's own OnlineStore block or switch it off so the store doesn't print two. Offer-level shippingDetails or hasMerchantReturnPolicy is then needed only for the exceptions.

Path 2: Extend core markup with WooCommerce's filters. Core passes its Product array through the woocommerce_structured_data_product filter and each Offer through woocommerce_structured_data_product_offer, so missing properties can be added without replacing anything. The snippet below belongs in a small custom plugin or a child theme's functions.php. It adds itemCondition to every Offer and an mpn from a custom field (_mpn here, so swap in the key your store uses for part numbers):

add_filter( 'woocommerce_structured_data_product_offer', function ( $offer, $product ) {
	$offer['itemCondition'] = 'https://schema.org/NewCondition';
	return $offer;
}, 10, 2 );

add_filter( 'woocommerce_structured_data_product', function ( $markup, $product ) {
	$mpn = $product->get_meta( '_mpn' );
	if ( $mpn ) {
		$markup['mpn'] = $mpn;
	}
	return $markup;
}, 10, 2 );

Both filters run before WooCommerce prints the script, so the new properties land in the same Product block instead of a second one. A store that sells used or refurbished stock should set itemCondition per product rather than hardcoding NewCondition.

Path 3: Hand product schema to an SEO plugin. Rank Math's WooCommerce Product schema is free and pulls price, sale price, availability, images and ratings straight from the product. Brand and GTIN need setting up, and Pro adds custom brand values, a choice of GTIN key and variation support. Shipping and return policies aren't automatic, though. Rank Math documents store-wide policies through Pro's Schema Templates and product-level ones through code filters, and nothing syncs from WooCommerce shipping zones. The setup walkthrough is in our WordPress schema markup guide, and the broader plugin choice is covered in our best WordPress SEO plugins comparison. Whichever plugin runs the schema, the page source should show exactly one Product block afterwards.

Path 4: A custom plugin. Non-standard product types, complex variant pricing and B2B-only catalogs can outgrow both core and plugins. A custom plugin can remove core's footer output and print its own JSON-LD from product meta, ACF fields and WC_Product methods. It gives full control and a full maintenance burden, since every WooCommerce change to prices, stock or variations becomes yours to follow.

For most WooCommerce stores we'd combine Path 1 and Path 2: policies set once for the store, core markup kept and extended. An SEO plugin earns its place when you need variant markup or already run one that replaces core's output, and a custom plugin only when the catalog doesn't fit either.

Shopify Implementation for Product Schema Markup

Shopify's free Dawn theme prints product schema markup with one Liquid line in its main product section: {{ product | structured_data }}. Shopify's documentation says the filter outputs a Product for an item with no variants and a ProductGroup for an item with variants, with brand, description, images and offers. Most current Shopify themes use the same filter, though older and heavily customized themes may still print hand-written JSON-LD.

The filter doesn't describe store-wide shipping or return policies. Those are best set once in Search Console or Merchant Center, or added as Organization markup on the theme's policy page. Beyond that, there are 2 ways to go further:

  • Custom Liquid: replacing the filter with your own JSON-LD built from product fields and metafields, which gives full control but makes every theme update yours to check
  • A schema app: such as Ilana's JSON-LD for SEO or Schema Plus, which add properties and policy markup without theme code

We'd keep the theme's filter output wherever it covers the catalog, because Shopify maintains it, and use an app or custom Liquid only for what it leaves out. With an app, it is wise to confirm the theme's own block is gone so the page carries one Product or ProductGroup. Our Shopify SEO guide covers the rest of the store setup.

Whichever path, validate every product template (not just the default product) with the Rich Results Test. Variant products, gift cards and digital downloads all use slightly different Liquid logic, and the schema can drift between them.

Product Schema Markup at Scale

On a catalog of thousands of products, nobody edits JSON-LD by hand. The markup comes from a template that reads the product database, so the work moves from writing markup to keeping the data behind it complete. These are the parts that hold up at scale:

  • One template per product type: simple, variable, digital and bundle products each tested in the Rich Results Test
  • Identifiers stored in the product data: GTIN, MPN and brand fields filled in, so the template has something to print
  • One source for the feed and the page: price, availability and GTIN read from the same database fields for the Merchant Center feed and the JSON-LD
  • Policies set once: store-wide shipping and returns, with product-level overrides only for exceptions
  • Cache purges tied to price and stock: so cached pages don't keep serving an old price in the markup
  • Sampling instead of full audits: the Merchant listings report checked weekly, plus spot checks after every deploy

The risk on a large catalog is treating every product the same. We'd start with the products that bring in the most revenue and check their identifiers, variant markup, visible reviews and policy exceptions by hand, then let the template carry the long tail. When the template itself needs rebuilding, our WooCommerce development service handles that work.

Validation and Search Console Monitoring

Two validators, in this order:

  1. Schema.org Validator at validator.schema.org confirms your Product JSON-LD validates against the schema.org Product spec.
  2. Google Rich Results Test at search.google.com/test/rich-results confirms Google will treat the markup as eligible for merchant listings or product snippets.

We'd run both on a representative sample: your bestseller, a low-volume product, a sale-priced product, a sold-out product and a pre-order product. Each tests a slightly different schema configuration. After deploy, monitor the Merchant listings report in Google Search Console, plus the Product snippets report for review and comparison pages. Errors block rich-result eligibility; warnings flag missing recommended fields. A missing shippingDetails or hasMerchantReturnPolicy is reported as a warning, not an error.

For AI search, we'd check a handful of shopping questions in ChatGPT, Perplexity and Gemini each month, such as "best [your category] under [price]", and note whether your brand and products appear. Our guide to structured data for AI search explains what markup can and can't do there.

Common Product Schema Markup Mistakes

These mistakes pass a JSON syntax check, which is why they survive launch. Each one makes the markup say something the page doesn't, or something Google's guidelines don't allow.

  • A price formatted for people: "$1,299.00" or "1.299,00" in price instead of 1299.00. Schema.org asks for a plain decimal with a period and the currency in priceCurrency. A number and a string are both valid, so there's no need to cast either way.
  • Ratings shoppers can't see: reviews or an aggregateRating in the markup that aren't visible on the page, or ratings pulled in from another website. Google's review guidelines rule out both, and a structured data manual action removes the page's rich result eligibility without touching its web ranking.
  • Markup that disagrees with the page: availability says InStock while the page says sold out, or the markup carries last week's price. Hardcoded values in a custom template and stale cached HTML both cause it.
  • A priceValidUntil date in the past: Google says a listing may not display once that date has passed, which is what happens when a sale ends and the markup keeps the old end date.
  • AggregateOffer on your own product page: product snippets accept it, but merchant listings need a single Offer from the seller, so a price range on a store's own product page gives up merchant listing eligibility.
  • The same policy in two places: shipping and return details repeated in every product's markup and also set in Search Console. Google uses the Search Console version, so edits to the markup change nothing and the two copies drift apart.
  • Identifiers left out or invented: Google lists gtin, mpn and brand as recommended. A product with a real GTIN should carry it, and a product without one should leave the property out rather than invent a value.

Product Schema Markup Field Reference

This is the working spec sheet for a product schema markup deployment. It compresses Google's merchant listing, product snippet and variant documentation and the schema.org Product properties into one table, with the Required column following the merchant listing rules.

PropertyTypeRequired?Notes
nameTextRequiredProduct display name. Should match what's visible on the page.
imageURL or array of URLsRequiredOne image minimum. Google recommends several high-resolution images (at least 50K pixels) in 16x9, 4x3 and 1x1.
offersOffer or AggregateOfferRequiredMerchant listings need Offer. AggregateOffer (lowPrice/highPrice) works for product snippets only.
descriptionTextRecommendedPlain text, no HTML.
brandBrand or OrganizationRecommendedBrand with a name. WooCommerce adds it when the product has a WooCommerce brand.
skuTextRecommendedInternal stock-keeping unit. Helps variant tracking.
mpnTextRecommendedManufacturer part number. Stronger than SKU for cross-reference.
gtin / gtin8 / gtin12 / gtin13 / gtin14TextRecommendedGlobal trade item number. Identifies the same product across retailers.
categoryText or CategoryCodeRecommendedPlain text under 750 characters, or a Google product category code.
color, size, weightVariousOptionalweight uses QuantitativeValue with unitCode (KGM, LBR, etc.).
aggregateRatingAggregateRatingRecommendedOnly ratings shoppers can see on the page. Google sets no minimum count.
reviewArray of ReviewRecommendedAuthor, datePublished, reviewRating, reviewBody. Match visible reviews.
productGroupID, variesBy, hasVariantText, DefinedTerm, ProductRecommended (on ProductGroup)Variant markup. productGroupID is the parent SKU; each variant in hasVariant has its own Offer.
offers.priceNumber or TextRequiredPlain decimal with a period, no currency symbol. Google's examples use numbers such as 39.99.
offers.priceCurrencyText (ISO 4217)RequiredUSD, GBP, EUR, INR, etc.
offers.availabilityItemAvailabilityRecommendedInStock, OutOfStock, PreOrder, Discontinued, BackOrder.
offers.itemConditionOfferItemConditionRecommendedNewCondition (default), UsedCondition, RefurbishedCondition, DamagedCondition.
offers.priceValidUntilDateRecommendedA past date can stop the listing showing. ISO 8601, with time and timezone for sales.
offers.shippingDetailsOfferShippingDetailsRecommendedBest set store-wide under Organization or in Search Console; use here for exceptions. shippingRate + shippingDestination.
offers.hasMerchantReturnPolicyMerchantReturnPolicyRecommendedSame pattern: store-wide first, Offer-level for exceptions. applicableCountry + returnPolicyCategory (+ merchantReturnDays for a finite window), with returnPolicyCountry for where items go back to.

A gap in the Required column makes the page ineligible for merchant listings. A gap in a Recommended row leaves the listing eligible, just with less detail for Google to show.

Product Schema Markup Gotchas

These five problems don't show up as errors in a validator. They come from the way a live store changes after the markup is written, so it is wise to check each one on purpose.

Variable products get a price range. When a variable product's variations have different prices, WooCommerce core puts an AggregateOffer with lowPrice, highPrice and offerCount on the parent page. That qualifies for product snippets but not for merchant listings, which need a single Offer. From WooCommerce 11.0, a URL that selects every variation attribute, such as ?attribute_pa_size=large&attribute_pa_color=red, gets a single Offer with that variation's price and an inProductGroupWithID set to the parent's SKU (or ID). Full variant markup, a ProductGroup with hasVariant and variesBy, still needs an SEO plugin or custom code.

Sale dates without a start or a time. Google's sale-duration guidance asks for validFrom at the start of a sale and validThrough or priceValidUntil at the end, in ISO 8601 with a time and timezone. WooCommerce 11.3 still writes a sale's end date as a plain date such as 2026-11-30, doesn't add validFrom and sets priceValidUntil on a regular price to December 31 of next year. A store that runs short, timed sales should add validFrom and a full end timestamp through the Offer filter.

Cached pages freeze price and stock. JSON-LD sits inside the page HTML, so a full-page cache or a CDN keeps serving the old price and availability until that page is purged. The worst case is a sale that ends while the cached page still shows the sale price with a priceValidUntil date that has now passed. The cache should purge a product's URL whenever its price or stock changes, and that is worth testing with a scheduled sale, not only with a manual edit.

Search Console settings win silently. When shipping or returns are set in Search Console or Merchant Center, Google uses those settings and ignores the markup for the same policy. Edits to shippingDetails then change nothing, which looks like a caching bug until someone opens the settings.

Two sources print Product markup. WooCommerce core prints its Product block in the footer, and an SEO plugin, a theme or a review widget can print another. The two can disagree on price or rating, and whether an extra source removes core's output depends on that plugin. The page source should show exactly one Product block inside its JSON-LD scripts.

Product Schema Markup FAQs

What's required for product schema markup?

It depends on the Google feature. For merchant listings, on pages where shoppers can buy the product, Google requires name, image and offers, and each Offer needs price and priceCurrency. For product snippets, on review and comparison pages, Google requires name plus one of review, aggregateRating or offers. Shipping and return details are recommended rather than required, and Google prefers one store-wide policy under Organization markup or in Search Console to a copy on every product.

Is there a price range property in product schema?

Not on Product. The priceRange property in schema.org belongs to LocalBusiness, where it holds a rough level such as $$. A product price range is an AggregateOffer with lowPrice and priceCurrency, which Google requires, plus highPrice and offerCount, which it recommends. Product snippets accept it, but merchant listings need a single Offer, and Google says not to use AggregateOffer for a set of variants.

How do I add a UPC to product schema markup?

A 12-digit UPC-A goes in gtin12 and a 13-digit EAN goes in gtin13, written as a string so leading zeros survive, such as "gtin12": "036000291452". Google accepts the generic gtin property too but recommends the most specific one, and it wants the numeric form, not a GS1 Digital Link URL. Each variant carries its own code, and the same digits should appear in any Merchant Center feed for that product.

Does WooCommerce add product schema markup automatically?

Yes. WooCommerce core has printed Product JSON-LD on product pages since version 3.0, covering name, description, image, SKU, price, currency, availability and seller, plus GTIN, brand and ratings when the product has them. Version 11.0 added a single Offer with inProductGroupWithID for URLs that select one variation, and 11.3 added a return policy link to the Refund and Returns page. It still leaves out mpn, itemCondition, shipping details and ProductGroup markup.

Does Shopify add product schema markup?

Most current Shopify themes print it through the structured_data Liquid filter. Shopify documents that the filter outputs a Product for items with no variants and a ProductGroup for items with variants. It doesn't describe store-wide shipping or return policies, so those belong in Search Console, Merchant Center or Organization markup in the theme.

How do I mark up product variants?

Google's variant markup uses a ProductGroup with a name, a productGroupID (the parent SKU), variesBy for the attributes that change, such as size and color, and hasVariant holding one Product per variant. Each variant gets its own name, SKU, GTIN and Offer with a URL that selects it. Variants on separate pages can point back to the group with isVariantOf or inProductGroupWithID.

What's the difference between Offer and AggregateOffer in product schema markup?

Offer is one price from one seller. AggregateOffer summarizes several sellers' offers with lowPrice, highPrice and offerCount, which suits comparison and marketplace pages. Google's product snippets accept either, but merchant listings require an Offer from the seller, and the price drop enhancement needs an Offer too. A store's own product page should use Offer.

Does Google use OfferCatalog for rich results?

Google's product, merchant listing and variant documentation doesn't use OfferCatalog, and its guidelines say product rich results need a page that focuses on a single product rather than a list or category. OfferCatalog is still valid schema.org markup for describing what a store or service business sells on its Organization markup. It just isn't a route to product rich results on category pages.

Why aren't my product star ratings showing in Google?

Google publishes no minimum review count for stars. The causes its guidelines point to are ratings in the markup that shoppers can't see on the page and ratings pulled in from another website. A page with two Product blocks can also carry two conflicting ratings. The Rich Results Test and the Merchant listings report in Search Console show which of these applies. Valid markup still doesn't guarantee stars, because Google decides per search whether to show a rich result.

Does product schema markup help with AI search citations?

Nobody outside the AI companies has published how their shopping answers weigh Product JSON-LD, so any multiplier you read is a guess. Google says AI Overviews and AI Mode need no special schema.org markup, and it lists structured data that matches the visible page among ordinary SEO best practices. Accurate price, availability, brand and GTIN still help any system identify the exact product and store, and that is the part worth getting right.

Ship Product Schema This Week

Default WooCommerce and Shopify markup already covers the required fields, so the work that pays off is the recommended layer. We'd start with the store-wide shipping and return policies, because one setting covers the whole catalog.

After that, this is the order we'd follow:

  1. identifiers (GTIN, MPN and brand) filled in for the top-selling products
  2. variant markup checked on one variable product, as a ProductGroup or as per-variant Offers
  3. a bestseller, a sale item, a sold-out product and a variable product run through the Rich Results Test
  4. the Merchant listings report in Search Console watched for 30 days after the change

From there, the maintenance is light. We'd re-check one product page each quarter to confirm that the price, availability and reviews in the markup still match what shoppers see, and re-validate after any theme, plugin or caching change, since those are the changes that quietly break markup that was right at launch.