# Implement Product, ProductGroup and Offer to match the catalog

- Check 15.07 · Schema.org structured data · Important
- Source: https://checklist-seo-geo.com/en/schemaorg-structured-data/implement-product-productgroup-offer-match-catalog
- Mark up products, variants and offers to match your catalog (Product, ProductGroup, Offer) on WooCommerce, Shopify, PrestaShop, Magento or Laravel, then validate.
- Updated on 2026-11-25
- Licence: CC BY 4.0. Credit “Checklist SEO & GEO” with a link to https://checklist-seo-geo.com/en/schemaorg-structured-data/implement-product-productgroup-offer-match-catalog.
- Plugin checklist-seo-geo: 1.3.1 · https://github.com/maximegaul/checklist-seo-geo

## In short

`Product` describes an item, `Offer` the terms on which you sell it (price, currency, availability, shipping, returns), and `ProductGroup` brings together the variants of a single model (sizes, colors). The right combination depends on the catalog: single product, product with variants, review page with no sale, comparison site. Once the check is done, every product page carries complete markup, built from the same data as the page and the Merchant Center feed, with no errors in the Search Console reports.

## Why it matters

Google distinguishes two families of product displays:

- **Product snippets**: for pages that talk about a product without necessarily selling it, such as a review or a comparison. They can show rating, price and availability. They require at least `name` and one of the `review`, `aggregateRating` or `offers` properties.
- **Merchant listings**: for pages where the product can be bought from you. They require `name`, `image` and an `offers` of type `Offer` with a price greater than zero and an ISO 4217 currency. They can show price, shipping, returns and availability in search results, Google Images and the Shopping tab.

A page that meets the merchant listing requirements is also eligible for product snippets. Google recommends using both markup and a Merchant Center feed: some experiences combine the two sources, and the markup helps Google verify the feed data.

On the generative engine side, shopping answers (“best cast iron teapot under €60”) rely on structured product data: merchant feeds and pages. Machine-readable prices, availability, GTIN identifiers and attributes make a product comparable. No format guarantees being recommended, and each assistant has its own sources; see [Check eligible AI shopping features](https://checklist-seo-geo.com/en/e-commerce-seo/check-eligible-ai-shopping-features).

## What it improves

- **Product rich results**: price, availability, rating, shipping and returns eligible for display, with no guarantee.
- **Free Shopping visibility**: merchant listings also feed the Shopping surfaces, alongside the feed.
- **Consistency with Merchant Center**: fewer disapprovals for price or availability mismatches between the page and the feed.
- **Comparability in assistants**: unambiguous GTIN, brand and attributes. Indirect, unproven effect.
- **Click-through rate**: a visible price and availability qualify the click. Effect varies by market.
- **Rankings**: no direct effect.

## How to check

On a simple product page and on a page with variants:

```bash
curl -s https://example.com/produits/theiere-fonte-08l/ \
  | grep -o -E '"(@type|price|priceCurrency|availability|gtin1?3?|sku)" *: *"?[^",}]*' | head -n 20
```

Expected result: `Product` (or `ProductGroup` and several `Product` entities), at least one `Offer`, a `price` equal to the displayed price, `priceCurrency` set to `EUR`, an `availability` consistent with stock.

Then:

1. Rich Results Test on each product page template: the “Merchant listings” and “Product snippets” items must be valid. Fix the errors, then the warnings about data you have (GTIN, shipping, returns).
2. Search Console: Merchant listings and Product snippets reports, for the status of the whole catalog.
3. Merchant Center, if you use it: product diagnostics flag price and availability mismatches between the feed and the page.

## How to implement

### Before you start

**Choose the model based on the catalog**:

| Situation | Markup | Note |
|---|---|---|
| Product with no variants, sold on the site | `Product` + `Offer` | Base case for merchant listings |
| Product with variants, a single URL | `ProductGroup` + `hasVariant` | Each variant preselectable through a parameter (`?couleur=rouge`) |
| Product with variants, one URL per variant | `Product` + `isVariantOf` on each page | The `ProductGroup` is repeated on each variant page |
| Review or comparison page, no sale | `Product` + `review` or `aggregateRating` | Product snippets only |
| Comparison site or multi-seller marketplace | `Product` + `AggregateOffer` | Not eligible for merchant listings, which require you to be the seller |
| Permanently discontinued product | Remove the offer or the page | See [Manage permanently discontinued products](https://checklist-seo-geo.com/en/e-commerce-seo/manage-permanently-discontinued-products) |

**Data to gather**, all visible on the product page:

| Property | Google requirement (merchant listings) | Source |
|---|---|---|
| `name`, `image` | Required | Product page |
| `offers.price`, `offers.priceCurrency` | Required, price greater than zero | Displayed price including VAT |
| `offers.availability` | Recommended, a single value (`InStock`, `OutOfStock`, `PreOrder`, `BackOrder`…) | Actual stock |
| `gtin`, `mpn`, `sku`, `brand.name` | Recommended | Product database; see [Display available SKU, GTIN or MPN](https://checklist-seo-geo.com/en/e-commerce-seo/display-available-sku-gtin-mpn) |
| `offers.itemCondition` | Recommended | `NewCondition`, `RefurbishedCondition`, `UsedCondition` |
| `shippingDetails`, `hasMerchantReturnPolicy` | Recommended | Terms of sale, shipping page |
| `aggregateRating`, `review` | Recommended | Genuine reviews displayed on the product page |
| `color`, `size`, `material` | Recommended | Attributes |

**Shipping and returns**: Google recommends declaring your general policies once, at the `Organization` level (`hasShippingService`, `hasMerchantReturnPolicy`), and only repeating them in the `Offer` for products that are exceptions. Settings entered in Merchant Center or Search Console take precedence over the markup. This is covered in detail in [Implement compatible shipping and return markup](https://checklist-seo-geo.com/en/e-commerce-seo/implement-compatible-shipping-return-markup).

**Reference block, simple product**:

```html
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "@id": "https://example.com/produits/theiere-fonte-08l/#product",
  "name": "Cast iron teapot, 0.8 l, black",
  "description": "0.8 l enamelled cast iron teapot with a removable stainless steel infuser.",
  "image": [
    "https://example.com/images/theiere-fonte-08l-1x1.jpg",
    "https://example.com/images/theiere-fonte-08l-4x3.jpg",
    "https://example.com/images/theiere-fonte-08l-16x9.jpg"
  ],
  "sku": "TF-08-NO",
  "gtin13": "3760000000017",
  "brand": { "@type": "Brand", "name": "Exemple Maison" },
  "material": "Enamelled cast iron",
  "color": "Black",
  "offers": {
    "@type": "Offer",
    "url": "https://example.com/produits/theiere-fonte-08l/",
    "price": 49.90,
    "priceCurrency": "EUR",
    "availability": "https://schema.org/InStock",
    "itemCondition": "https://schema.org/NewCondition",
    "seller": { "@id": "https://example.com/#organization" },
    "shippingDetails": {
      "@type": "OfferShippingDetails",
      "shippingRate": { "@type": "MonetaryAmount", "value": 4.90, "currency": "EUR" },
      "shippingDestination": { "@type": "DefinedRegion", "addressCountry": "FR" },
      "deliveryTime": {
        "@type": "ShippingDeliveryTime",
        "handlingTime": { "@type": "QuantitativeValue", "minValue": 0, "maxValue": 1, "unitCode": "DAY" },
        "transitTime": { "@type": "QuantitativeValue", "minValue": 2, "maxValue": 4, "unitCode": "DAY" }
      }
    },
    "hasMerchantReturnPolicy": {
      "@type": "MerchantReturnPolicy",
      "applicableCountry": "FR",
      "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
      "merchantReturnDays": 30,
      "returnMethod": "https://schema.org/ReturnByMail",
      "returnFees": "https://schema.org/FreeReturn"
    }
  }
}
</script>
```

If your shipping and return policies are declared in the `Organization`, remove `shippingDetails` and `hasMerchantReturnPolicy` from the offer.

**Reference block, variants on a single URL**:

```json
{
  "@context": "https://schema.org",
  "@type": "ProductGroup",
  "@id": "https://example.com/produits/tablier-lin/#productgroup",
  "name": "Washed linen apron",
  "url": "https://example.com/produits/tablier-lin/",
  "productGroupID": "TAB-LIN",
  "brand": { "@type": "Brand", "name": "Exemple Maison" },
  "variesBy": ["https://schema.org/color", "https://schema.org/size"],
  "hasVariant": [
    {
      "@type": "Product",
      "sku": "TAB-LIN-ROU-M",
      "gtin13": "3760000000024",
      "name": "Washed linen apron, rust, M",
      "color": "Rust",
      "size": "M",
      "image": "https://example.com/images/tablier-lin-rouille.jpg",
      "offers": {
        "@type": "Offer",
        "url": "https://example.com/produits/tablier-lin/?couleur=rouille&taille=m",
        "price": 39.00,
        "priceCurrency": "EUR",
        "availability": "https://schema.org/InStock"
      }
    },
    {
      "@type": "Product",
      "sku": "TAB-LIN-SAU-L",
      "gtin13": "3760000000031",
      "name": "Washed linen apron, sage, L",
      "color": "Sage",
      "size": "L",
      "image": "https://example.com/images/tablier-lin-sauge.jpg",
      "offers": {
        "@type": "Offer",
        "url": "https://example.com/produits/tablier-lin/?couleur=sauge&taille=l",
        "price": 42.00,
        "priceCurrency": "EUR",
        "availability": "https://schema.org/OutOfStock"
      }
    }
  ]
}
```

Place it in a `<script type="application/ld+json">` tag. Each variant has a unique identifier (`sku` or `gtin`) and a URL that preselects it; the `ProductGroup` has only one canonical URL. If each variant has its own page, Google requires each page to carry self-contained markup: the variant's `Product`, with `inProductGroupWithID` or `isVariantOf` pointing to the group. Handling on the site side is described in [Manage variants](https://checklist-seo-geo.com/en/e-commerce-seo/manage-variants).

> **Warning:** price, availability and identifiers must be identical in the page, the markup and the feed. Generate all three from the same source and invalidate page caches when stock changes, otherwise Merchant Center flags mismatches and may disapprove products.

### WordPress

Versions: WordPress 6.4 and later, WooCommerce 9.6 and later (11.3 in November 2026).

**WooCommerce** on its own generates a `Product` on every product page, with price, currency, availability, SKU, GTIN (the “GTIN, UPC, EAN, or ISBN” field in the Inventory tab, available since WooCommerce 9.2), rating and reviews. An important limitation: for a variable product whose variations do not all have the same price, the offer is an `AggregateOffer` (lowest and highest price), which merchant listings do not accept. Only a URL that preselects a variation gets a simple `Offer`.

Solutions:

- an SEO plugin for WooCommerce that outputs `ProductGroup` and one `Offer` per variation (Yoast's schema documentation includes a `ProductGroup` piece, used by Yoast WooCommerce SEO; other plugins offer it depending on their version); after activating it, check the result with the Rich Results Test and make sure only one `Product` remains;
- in code, the `woocommerce_structured_data_product` filter lets you modify or replace the generated array.

Also fill in the brand (the Brands taxonomy, built into WooCommerce since version 9.6) and the shipping and return policies in the organization markup.

### Shopify

Versions: Online Store 2.0 Horizon and Dawn themes, November 2026.

Shopify's free themes call `{{ product | structured_data }}` in the product section: `sections/product-information.liquid` for Horizon, the default theme since 2025, and `sections/main-product.liquid` for Dawn and its derivatives. This filter outputs a `Product` for a product with no variants and a `ProductGroup` as soon as there are variants, with the offers, from the store data. Check the points Shopify cannot guess:

- each variant's barcode (the `Barcode (ISBN, UPC, GTIN, etc.)` field) and the vendor, which usually serves as the brand;
- shipping and return policies: declare them in the organization markup or in Merchant Center;
- review and SEO apps, which often add a second `Product`: keep a single source and attach the rating to the theme's markup if the app allows it.

If your theme does not use this filter, add `<script type="application/ld+json">{{ product | structured_data }}</script>` to the product section.

### PrestaShop

Versions: PrestaShop 8 and 9, Classic and Hummingbird themes.

The Classic and Hummingbird themes (Hummingbird is the default theme since PrestaShop 9.1) output a `Product` with `Offer` in `templates/_partials/microdata/product-jsonld.tpl`: name, brand, MPN (or, failing that, the reference) as `mpn`, EAN-13 as `gtin13` (Classic) or `gtin` (Hummingbird), price, currency, availability and the rating from the official reviews module. There is no `ProductGroup` for combinations, and no shipping or returns. To add them, copy the file into a child theme and complete it, or use an SEO module that handles combinations. Fill in the EAN-13 of each combination in the product's Combinations tab. Clear the cache in `Advanced Parameters > Performance`.

### Magento

Versions: Magento Open Source and Adobe Commerce 2.4.6 to 2.4.9, Luma theme.

The Luma theme adds partial `Product` microdata to the product page (`itemtype="http://schema.org/Product"` in the `catalog_product_view.xml` layout), with no shipping, returns or structured variants. Most stores rely on an SEO extension that outputs complete JSON-LD; in that case, remove Luma's microdata in your theme to avoid two competing markups. For configurable products, check that the extension outputs a `ProductGroup` with one `Offer` per simple product.

### Drupal

Versions: Drupal 10 and 11, Drupal Commerce 3, Schema.org Metatag 2.6 or 3.x module.

With Drupal Commerce, Schema.org Metatag offers a Schema.org Product tab (with `Offer` and `Brand`) to configure per product type in `/admin/config/search/metatag`, using the variation tokens (price, SKU). Multiple variations generally require a custom Twig template to output a `ProductGroup`.

### Wix

Versions: Wix Stores, Wix Editor and Wix Studio, November 2026.

Wix Stores product pages come with preset markup, which can be edited in the site's SEO settings for the Products page type. Add GTIN, brand and policies if they are missing, and check the result with the Rich Results Test.

### Squarespace

Versions: Squarespace 7.1, plans with product sales, November 2026.

Squarespace generates basic product markup for its product pages. Check it with the Rich Results Test: if something is missing (GTIN, shipping), fill it in through Merchant Center rather than through code injection, which would create a second `Product`.

### Webflow

Versions: Webflow Ecommerce, November 2026.

In the Webflow Ecommerce Products collection template, `Page settings > Custom code > Inside <head> tag`, paste the reference block and insert the fields (name, image, price, SKU). For variants, check which SKU fields your template lets you insert in this code; if they are not enough to describe each variant, limit the markup to the default offer and leave the variant details to the Merchant Center feed.

### Laravel

Versions: Laravel 11 to 13, spatie/schema-org 3 to 5 (version 5 requires PHP 8.4).

```php
use Spatie\SchemaOrg\Schema;

$url = route('products.show', $product);

$schema = Schema::product()
    ->setProperty('@id', "{$url}#product")
    ->name($product->name)
    ->description($product->short_description)
    ->image($product->imageUrls())
    ->sku($product->sku)
    ->gtin13($product->ean)
    ->brand(Schema::brand()->name($product->brand->name))
    ->offers(
        Schema::offer()
            ->url($url)
            ->price(number_format($product->price, 2, '.', ''))
            ->priceCurrency('EUR')
            ->availability($product->stock > 0
                ? 'https://schema.org/InStock'
                : 'https://schema.org/OutOfStock')
            ->itemCondition('https://schema.org/NewCondition')
            ->seller(['@id' => url('/#organization')])
    );
```

Render it with `{!! $schema->toScript() !!}`. For a product with variants, build `Schema::productGroup()` with `productGroupID`, `variesBy` and a `hasVariant` fed by the variants collection, each with its own `Offer`. If product pages are cached, purge them on every price or stock change.

### Next.js

Versions: Next.js 15 and 16 (App Router), with or without Cache Components.

Build the markup in `app/produits/[slug]/page.tsx` from the same query as the display, and render it in a native `<script type="application/ld+json">` tag with `JSON.stringify(jsonLd).replace(/</g, '\\u003c')`, as the Next.js documentation recommends. The schema-dts package lets you type `Product`, `ProductGroup` and `Offer`. If the page is cached, price and availability must be refreshed on every stock change, and the method depends on the caching model.

#### Next.js 16 with Cache Components

When `cacheComponents: true` is enabled in `next.config.ts`, the `export const revalidate` option is no longer available. Cache the function that reads the product with the `'use cache'` directive, set its lifetime with `cacheLife` and tag it with `cacheTag`:

```ts
import { cacheLife, cacheTag } from 'next/cache';

export async function getProduct(slug: string) {
  'use cache';
  cacheLife({ revalidate: 300 });
  cacheTag(`product-${slug}`);

  return db.product.findUnique({ where: { slug } });
}
```

When stock is updated, call `` updateTag(`product-${slug}`) `` in a Server Action, or `` revalidateTag(`product-${slug}`, { expire: 0 }) `` in the route handler that receives the webhook: the entry expires immediately.

#### Next.js 15 and 16 without Cache Components

Set the page revalidation with `export const revalidate = 300`, and trigger on-demand revalidation when stock is updated with `` revalidatePath(`/produits/${slug}`) `` in the relevant route handler or Server Action.

## Common mistakes

- **`AggregateOffer` on a store that sells directly**, especially on WooCommerce variable products: not eligible for merchant listings.
- **Markup price different from the displayed price**: price excluding VAT on one side and including VAT on the other, a sale not carried over, a cached page.
- **Availability stuck** at `InStock` when the product is sold out.
- **Invented GTINs, or GTINs reused** from one product to another, or the parent product's GTIN copied onto every variant.
- **Two `Product` entities on the same page**, one from the theme, the other from a review app or SEO plugin.
- **Reviews not displayed on the page** but present in `aggregateRating`, or a rating imported from another source without showing it.
- **Zero price** for a “quote on request” product: merchant listings require a price greater than zero; in that case, mark up without `offers` or rely only on product snippets if reviews exist.

## Frequently asked questions

### Do I still need to mark up products if I have a Merchant Center feed?

Yes. Google recommends using both structured data on pages and a Merchant Center feed: some experiences combine the two sources, and the markup helps Google verify the information in the feed. The feed remains the primary source for price and availability in Shopping, but a well-marked-up page limits mismatches and stays readable by other search engines and assistants.

### What is the difference between product snippets and merchant listings?

Product snippets apply to pages that talk about a product without necessarily selling it, such as a review or a comparison; they require a name and reviews, a rating or an offer. Merchant listings apply to pages where the product is bought from you; they require a name, image, a price greater than zero and a currency, and can show shipping and returns. A page that meets the latter's requirements is eligible for the former.

### How do I mark up a product with several sizes and colors?

Use ProductGroup for the model, with productGroupID, variesBy for the attributes that change, and hasVariant for the list of variants. Each variant is a Product with its own identifier, sku or gtin, its attributes and its Offer. If all variants share a URL, each one must be preselectable through a parameter; if each variant has its own page, each page carries self-contained markup linked to the group.

### Can you show stars with reviews from your own store?

Yes, for a product. Google accepts ratings and reviews on Product when they genuinely come from customers and are visible on the product page. The restriction on self-serving reviews applies to LocalBusiness and Organization markup, not to products. Reviews must be genuine, not filtered to keep only the good ones, and the marked-up rating must match the one displayed on the page.

## Resources

- [Google Search Central: introduction to product structured data](https://developers.google.com/search/docs/appearance/structured-data/product?hl=en)
- [Google Search Central: merchant listings](https://developers.google.com/search/docs/appearance/structured-data/merchant-listing?hl=en)
- [Google Search Central: product snippets](https://developers.google.com/search/docs/appearance/structured-data/product-snippet?hl=en)
- [Google Search Central: product variants](https://developers.google.com/search/docs/appearance/structured-data/product-variants?hl=en)
- [schema.org: Product](https://schema.org/Product), [ProductGroup](https://schema.org/ProductGroup) and [Offer](https://schema.org/Offer)
- [Shopify: structured_data filter](https://shopify.dev/docs/api/liquid/filters/structured_data)
- [WooCommerce: structured data generation code](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/includes/class-wc-structured-data.php)

Next steps: [Implement Product, ProductGroup and Offer (e-commerce module)](https://checklist-seo-geo.com/en/e-commerce-seo/implement-product-productgroup-offer), [Sync prices and stock across site, feeds and markup](https://checklist-seo-geo.com/en/e-commerce-seo/sync-prices-stock-across-site-feeds-markup) and [Set up Merchant Center and free listings](https://checklist-seo-geo.com/en/e-commerce-seo/set-up-merchant-center-free-listings).
