---
title: "Add schema.org Product JSON-LD to every product page"
description: "Why product pages need schema.org Product or ProductGroup JSON-LD with a name and image, what Google and Bing use it for, and how to add it on any store."
canonical_url: https://agentic-readiness-scanner.space.fast/knowledge-base/product-json-ld
check_id: B2.1
check_title: "Product JSON-LD on product pages"
section: "B2 Product structured data"
priority: blocking
weight: 3
level_gate: 2
depends_on: []
keywords: ["product JSON-LD", "schema.org Product markup", "product structured data", "ProductGroup schema", "WooCommerce structured data", "Shopify product schema"]
author: "Matthias Reinholz"
updated: 2026-11-03
---

# Add schema.org Product JSON-LD to every product page

> Why product pages need schema.org Product or ProductGroup JSON-LD with a name and image, what Google and Bing use it for, and how to add it on any store.

Check B2.1 (Product JSON-LD on product pages) in section B2, Product structured data. Priority: blocking. Weight 3. Gates a readiness level or carries the most weight in its section. Fix these first. Required from Level 2 (Readable catalog) upward.

## In short

Product JSON-LD is a block of structured data in the page that states, in a fixed vocabulary, what the product is. Search engines and the systems built on them read it to understand a product page without guessing. This check passes when every sampled product page carries a schema.org Product or ProductGroup node with a name and an image. It is a blocking check and a Level 2 gate: a store must pass it to reach Level 2.

## What this check looks at

JSON-LD (JavaScript Object Notation for Linked Data) is a way to embed structured data in a script tag of type `application/ld+json`. The vocabulary comes from schema.org, a shared dictionary of types for web pages, which defines types such as `Product`, `ProductGroup`, `Offer` and `Brand`.

The scanner reads every JSON-LD block on a sample of your product pages. Blocks may be single objects, arrays or `@graph` lists, and the scanner reads them all the same way. It then looks for nodes whose `@type` is `Product` or `ProductGroup` and checks two properties:

- **`name`**: the product's name.
- **`image`**: at least one image URL, as a string, an array or an `ImageObject`.

Google's merchant listing documentation names `name`, `image` and `offers` as required. The `offers` part is checked separately by the [Offer check](https://agentic-readiness-scanner.space.fast/knowledge-base/offer-price-currency-availability). On a ProductGroup page, a name or image on any of the variants counts.

## Why it matters for AI agents

Product markup is the most direct statement a page can make about what it sells. Its documented uses are concrete:

- Google uses Product markup for product rich results and merchant listings, including free listings.
- Google Merchant Center can use structured data on your pages for automatic product updates and submission.
- Bing reads structured data as grounding for its results.

Be precise about the limits. Google says its AI Overviews and AI Mode need no special markup beyond an indexed page that is eligible for a snippet. ChatGPT shopping reads feeds and third-party data. So Product markup is not a ticket into every AI answer. It is the shared, machine-readable baseline that Google's shopping surfaces and Bing build on, and that any agent can parse without guessing.

That is why the check carries weight 3 and gates Level 2 "Readable catalog" and every level above. Every other check in this section builds on it.

## How the scanner decides

- **Pass:** every sampled product page has a Product or ProductGroup node, and every one of them has a `name` and an `image`.
- **Warn:** some sampled pages have Product markup and others do not. A store where every page has markup but some lack `name` or `image` also gets a warning, and the report names the missing property and the page.
- **Fail:** no sampled product page has a Product or ProductGroup node.
- **Skip:** no product pages were sampled, or none of them could be fetched.

The evidence lists, per page, the number of Product nodes, their types, the missing properties, and any JSON parse errors. A block with a syntax error is ignored, so a parse error often explains a missing node.

## How to fix it

Output exactly one Product (or ProductGroup) description per page, generated from the same data that renders the page.

### WordPress and WooCommerce

- WooCommerce core outputs Product JSON-LD on single product pages. It includes name, image, description, SKU (your own product code) and offers.
- SEO plugins such as Yoast SEO with its WooCommerce add-on, or Rank Math, replace or extend that markup. Pick one source. Two Product blocks for one product confuse validators.
- If a theme or page builder removes the core output, restore it. Developers can adjust the core markup through the `woocommerce_structured_data_product` filter.
- Make sure each product has a featured image. Without one, the markup has no `image`.

### Shopify

- Most current Shopify themes output Product JSON-LD on product templates, often through Liquid's `structured_data` filter. For products with variants it emits a ProductGroup with each variant as a Product.
- Older or heavily customised themes may have dropped it. Open Online Store, Themes, Edit code, and look in the product section or snippet for an `application/ld+json` script.
- If an SEO app adds its own Product markup, disable either the app's or the theme's so only one remains.

### Any other stack

- Render the JSON-LD on the server, in the initial HTML. Markup injected later by JavaScript may be missed by crawlers that do not run scripts.
- Use absolute URLs for `image` and `url`.
- Use `ProductGroup` for a product with variants and `Product` for a single item. The [variants check](https://agentic-readiness-scanner.space.fast/knowledge-base/product-variants-markup) covers the group structure.

A minimal valid node needs little more than this. The fix snippet on this page shows a fuller example.

```json
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Stoneware Mug, 350 ml",
  "image": ["https://example.com/images/mug-1200.jpg"]
}
```

## Verify it yourself

Paste a product URL into Google's [Rich Results Test](https://search.google.com/test/rich-results). It shows whether the page is eligible for product results and lists missing required fields. The [Schema Markup Validator](https://validator.schema.org/) shows every schema.org node on the page, including ones Google ignores.

From the command line, list the types on a page:

```bash
curl -s https://example.com/product/stoneware-mug/ | grep -o '"@type": *"[A-Za-z]*"' | sort | uniq -c
```

## Common mistakes

- **Two competing Product blocks.** WooCommerce core and an SEO plugin both output markup, often with different prices.
- **Markup only on some templates.** A custom template for one category drops the JSON-LD that the default template has.
- **Broken JSON.** A stray comma or an unescaped quote in a product description makes the whole block unreadable.
- **Client-side only markup.** A tag manager injects the JSON-LD after load, and the server HTML has none.
- **A relative image path.** `"image": "/uploads/mug.jpg"` should be an absolute URL.

## FAQ

### Do I need Product schema to appear in Google AI Overviews?

Google says AI Overviews and AI Mode need no special structured data beyond an indexed page that can show a snippet. Product markup is what Google's merchant listings and product rich results use, and it gives every agent a reliable reading of the page.

### Should I use Product or ProductGroup?

Use Product for an item with no variants. Use ProductGroup when one page sells several variants, such as sizes or colours, and list each variant as a Product under `hasVariant`. The scanner accepts both.

### Is microdata or RDFa accepted instead of JSON-LD?

Google accepts all three formats. This check reads JSON-LD only, because it is the format Google recommends and the one agents parse most easily.

### Why does the check warn when every page has markup?

At least one page lacks `name` or `image`. Google requires both for merchant listings. The report names the page and the missing property.

## The fix in one step

Emit one schema.org Product JSON-LD block on every product page, with at least a name and an image. Platforms and SEO plugins often both emit a block, so keep only one.

```json
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Stoneware Mug, 350 ml",
  "sku": "MUG-350-BLU",
  "gtin13": "4006381333931",
  "brand": { "@type": "Brand", "name": "Example Ceramics" },
  "image": "https://example.com/images/mug.jpg",
  "description": "Hand-thrown stoneware mug, dishwasher safe.",
  "offers": {
    "@type": "Offer",
    "price": "24.00",
    "priceCurrency": "EUR",
    "availability": "https://schema.org/InStock",
    "url": "https://example.com/product/stoneware-mug/"
  }
}
```

### By platform

- **WooCommerce:** WooCommerce core emits a basic Product block and SEO plugins may replace it. Keep exactly one.
- **Shopify:** Most themes emit Product JSON-LD and SEO apps may add another block. Keep exactly one.
- **Shopware:** Shopware 6.7 storefronts ship schema.org microdata, which this check does not read. JSON-LD sits behind a feature flag and becomes the default in 6.8, so plan the switch or add one JSON-LD Product block in the product detail template.

### Prompt for a coding agent

Sampled product pages on this site carry no schema.org Product JSON-LD, or their Product node lacks a name or an image. Make every product page output exactly one Product (or, for a product with variants, ProductGroup) block in a `<script type="application/ld+json">` tag in the server-rendered HTML, generated from the same data as the page: name, absolute image URL, description, sku, brand and offers. If the platform and a plugin or app both emit Product markup, keep the richer one and disable the other. Check that the JSON parses, since one syntax error hides the whole block. Verify a few product URLs in Google's Rich Results Test, and with `curl -s <product-url> | grep -o '"@type": *"Product[A-Za-z]*"'`, which reads the HTML before any script runs.

## Sources and specifications

- [schema.org Product](https://schema.org/Product)
- [Google merchant listing structured data](https://developers.google.com/search/docs/appearance/structured-data/merchant-listing)
- [Google product structured data](https://developers.google.com/search/docs/appearance/structured-data/product)
- [Google Merchant Center: automatic product submission from structured data](https://support.google.com/merchants/answer/7538732)

Source: https://agentic-readiness-scanner.space.fast/knowledge-base/product-json-ld (Agentic Readiness Scanner knowledge base, by Matthias Reinholz).
