# Audit ecommerce product variant markup

Compare product, price, and availability markup with the variant a shopper actually sees.

## What you need

- A small set of product pages covering in-stock and out-of-stock variants
- Expected variant URLs and the product catalog or approved export
- Access to rendered markup, plus Merchant Center or Search Console data when available

## Steps

### 1. Identify the URL pattern

Record how a shopper reaches each variant, which URL selects it, and where the canonical points. Include single-page selectors and distinct variant pages when both exist.

### 2. Compare the page and its markup

For each variant, capture the visible selection, price, currency, availability, and identifier. Compare the corresponding Product and Offer data and check the ProductGroup relationship where applicable.

### 3. Validate representative samples

Run Google’s Rich Results Test on fetchable examples. Compare the findings with an approved catalog or feed export when one is available. Keep a parser result, a rich result eligibility finding, and actual search appearance as separate observations.

### 4. Group mismatches by cause

For each issue, record the variant, visible value, marked-up value, and likely source. Give the developer a sample to replay after a fix, and rerun a check when price or stock changes.

## A two-variant sample

A store checks two variants of the same jacket after changing its product template.

| Variant | Visible page | Observed markup | Follow-up |
| --- | --- | --- | --- |
| Navy, medium | USD 89, in stock | USD 89, InStock | Keep as a control. |
| Navy, large | USD 89, out of stock | USD 89, InStock | Check whether the template reads the stock level for the default variant. |

## Prompt for your agent

Audit the product variants at [URLs]. Record the selected variant, URL behavior, visible price and stock, Product and Offer fields, and ProductGroup relationship where relevant. Run an eligibility check on approved samples. Return a table of mismatches with source evidence and one replay instruction for each template-level issue. Queue changes for review.

## Tools for this job

- [Google Rich Results Test](https://seotoolsforagents.com/tools/rich-results-test.md) — Check markup for rich result types Google supports and see what the test detects.
- [Screaming Frog](https://seotoolsforagents.com/mcp-servers/screaming-frog.md) — Use SEO Spider crawl outputs to investigate site structure and page-level issues.
- [Google Search Console](https://seotoolsforagents.com/mcp-servers/google-search-console.md) — Investigate Google Search clicks, impressions, queries, and inspection data for properties you can access.

## Sources

- [Google product variant structured data](https://developers.google.com/search/docs/appearance/structured-data/product-variants)
- [Google merchant listing structured data](https://developers.google.com/search/docs/appearance/structured-data/merchant-listing)

## Where to go next

- [Audit AI crawler access](https://seotoolsforagents.com/workflows/audit-ai-crawler-access.md)
- [Compare raw and rendered HTML](https://seotoolsforagents.com/workflows/compare-raw-and-rendered-html.md)
- [QA redirects and canonicals during a migration](https://seotoolsforagents.com/workflows/qa-seo-migration.md)
