Product schema test: check your WooCommerce product schema in two minutes
A product schema test takes about two minutes, and it pays most just before a promotion such as Black Friday: prices change, sales start and stop, and the markup on your product pages is what tells Google the price. This post is the short routine we use on a WooCommerce store, and the four tools behind it.
The tools don't check the same thing, and they can disagree. We ran the same three products through them on WooCommerce 11.1.2, and one tool passed a product that another didn't count as a merchant listing at all. So the post also covers what each tool catches and what it misses.
Quick answer. Open a product page, view its source and search for
application/ld+json: you want oneProduct, with anOfferand the price your shoppers see. Then paste the page's address into Google's Rich Results Test and read which results it detects, Merchant listings and Product snippets, and whether any issue is critical. Do it for one simple product, one variable product and one product on sale. The Schema.org validator checks spelling and syntax only, so a pass there doesn't mean Google can use the markup.
The short version
- Page source shows what your store really publishes, and it works on a staging or local site.
- The Rich Results Test applies Google's rules. It is the only one of the four that says whether a page is a merchant listing.
- The Schema.org validator checks the vocabulary. It gave all three of our products 0 errors, including the one Google didn't detect as a merchant listing.
- URL Inspection in Search Console shows what Google last indexed, which may be older than your page.
- Test three products, not one: a simple product, a variable product and one that is on sale.
How to run a product schema test in two minutes
You need one product page open in your browser.
- View the page source. Right-click the page, choose **View page
source**, and search for application/ld+json. On a stock WooCommerce store there is one block, near the bottom of the page.
- Find the product. Search for
"@type":"Product". One match is right.
None means the markup is missing. Two means two plugins are writing it.
- Read the offer. Look for
"@type":"Offer"and aprice, and check
the price is the one on the page. "AggregateOffer" means a price range.
- Run Google's test. Paste the page's address into the
Rich Results Test and wait for the result.
- Read three things in the result. Which results it detected, whether
any issue is marked critical, and which warnings it lists.
That is one page. Repeat steps 4 and 5 for a variable product and for a product that is on sale, because those are the two that go wrong.
What the offer should look like
This is the offer WooCommerce 11.1.2 wrote for our T-Shirt, a simple product at $18.00, trimmed to the lines to check and moved to example.com:
{
"@type": "Product",
"name": "T-Shirt",
"image": "https://example.com/wp-content/uploads/2026/02/tshirt-2.jpg",
"sku": "woo-tshirt",
"offers": [
{
"@type": "Offer",
"price": "18.00",
"priceCurrency": "USD",
"priceValidUntil": "2027-12-31",
"availability": "https://schema.org/InStock"
}
]
}Check four things against the page: the name, the price, the currency and the stock status. A rating appears only when the product has an approved review with stars, so its absence on a new product isn't a fault.
A faster way to read it
The source is one long line. If you're comfortable with the browser's developer tools, open the console (F12, then Console) on a product page and paste this:
console.table(
[...document.querySelectorAll('script[type="application/ld+json"]')]
.flatMap(s => { const d = JSON.parse(s.textContent); return d['@graph'] || [].concat(d); })
.filter(n => String(n['@type']).startsWith('Product'))
.map(n => {
const o = [].concat(n.offers || [])[0] || {};
return {
type: String(n['@type']),
offer: o['@type'] || 'none',
price: o.price ?? (o.lowPrice ? o.lowPrice + ' to ' + o.highPrice : 'none'),
rating: n.aggregateRating ? n.aggregateRating.ratingValue : 'none',
variants: (n.hasVariant || []).length,
shipping: 'shippingDetails' in o,
returns: 'hasMerchantReturnPolicy' in o,
};
})
);It only reads the page; it changes nothing. It prints one row per product block. On our test store, with WooCommerce alone, it printed:
| Product | type | offer | price | rating | shipping | returns |
|---|---|---|---|---|---|---|
| T-Shirt (simple, no reviews) | Product | Offer | 18.00 | none | false | false |
| Belt (simple, 10 reviews) | Product | Offer | 55.00 | 4.70 | false | false |
| Hoodie (variable) | Product | AggregateOffer | 42.00 to 45.00 | 4.75 | false | false |
The Hoodie's AggregateOffer is the row to notice. It is a price range, and it is why Google's test doesn't count that page as a merchant listing, as the comparison further down shows. Two rows on one page means two blocks of product markup. On the shop page it printed nothing, which is right: WooCommerce writes product markup on single product pages only.
The four tools, and what each one is for
| What it reads | What it tells you | What it misses | |
|---|---|---|---|
| Page source | Your page, as served | Exactly what you publish, duplicates included | Whether Google accepts it |
| Rich Results Test | A public page, or pasted code | Which Google results the markup qualifies for, with critical issues and warnings | What Google has indexed; schema types Google doesn't use |
| Schema.org validator | A public page, or pasted code | Whether the names and syntax are valid Schema.org | Google's requirements |
| URL Inspection | Google's index, or a live test | What Google found the last time it indexed the page | Sites you don't own in Search Console |
Google's Rich Results Test
The Rich Results Test is the one to trust on the question that matters to a store: can Google use this? It takes a page address or pasted code, and reads JSON-LD, RDFa and Microdata. Google's help page for the test, as it read on 23 November 2026, adds three things worth knowing:
- It fetches the page as a visitor who isn't logged in: "All page resources
must be accessible by an anonymous user accessing the code from the internet."
- "The default user agent is smartphone". If your theme serves different
markup to phones, that is the version being tested.
- It can be blocked by your
robots.txtfile, like any Google crawler.
The result lists each kind of rich result it found. For a product page, look for Merchant listings and Product snippets. They are two sets of rules read from the same markup, and our merchant listings vs product snippets post explains the difference.
The Schema.org validator
The Schema Markup Validator is the tool people usually mean by a product schema validator. Schema.org's own notes on it say it extracts JSON-LD, RDFa and Microdata, shows a summary of the data, and "identifies syntax mistakes in the markup". They also say it is based on Google's old Structured Data Testing Tool, and that "the tool is focused on Schema.org".
That last line is its limit. It knows the vocabulary. It doesn't know what Google requires.
Search Console's URL Inspection
Type a page's address into the search bar at the top of Search Console. The result is Google's stored copy, and Google's help page is blunt about it: "This is not a live test. The results shown are from most recently indexed version of a page, not the live version on the web."
Structured data is under Enhancements, where Merchant listings, Product snippets and Review snippets each get an entry. Test live URL fetches the page as it is now. Two limits: the page must belong to a property you own, and there is a daily limit on inspections for each property.
Use it when the Rich Results Test passes and Search Console still reports a problem. The usual reason is that Google hasn't fetched the page again yet.
Rich Results Test vs the Schema.org validator: why they disagree
On 23 November 2026 we pasted the markup WooCommerce 11.1.2 writes for three products into the Schema.org validator, with the store's address changed to example.com. All three came back with 0 errors and 0 warnings: the T-Shirt, the Belt and the Hoodie.
Google's Rich Results Test had read the same markup differently when we ran it on 20 October 2026:
| Product | Schema.org validator | Rich Results Test |
|---|---|---|
| T-Shirt, one price | 0 errors, 0 warnings | A valid merchant listing with 4 non-critical issues; a valid product snippet with 2 |
| Hoodie, $42 to $45 | 0 errors, 0 warnings | A product snippet only. Not detected as a merchant listing |
Neither tool is wrong. A price range is valid Schema.org, and Google doesn't accept one for a merchant listing. Our guide to the merchant listings warnings has the full test and each warning's fix.
To see where the validator's checking stops, we gave it five broken versions of a product:
| What we broke | Schema.org validator |
|---|---|
A misspelt property, pricee | 1 error |
A misspelt type, Ofer | 2 errors |
| A stray comma, so the JSON is invalid | 1 error |
| No offer and no image at all | 0 errors, 0 warnings |
| A price of "eighteen dollars" | 0 errors, 0 warnings |
It catches typing mistakes and broken JSON, which is useful after you've edited a snippet by hand. It passed a product with no offer and no image, and Google requires both for a merchant listing.
The three products to check before a sale
| Product | What to look for in the Rich Results Test | What it means |
|---|---|---|
| Simple | Warnings for shipping, returns and No global identifier provided | Non-critical. The product is still a valid merchant listing |
| Variable | Product snippets listed, Merchant listings missing | The markup has a price range where Google wants one price per variation |
| On sale | A price or priceValidUntil that doesn't match the sale | Often a cached page that still has the old markup |
A simple product. It should come back as both a merchant listing and a product snippet. Expect warnings about shipping, returns and a product identifier on a stock WooCommerce store. They are non-critical: the product is still valid.
A variable product. If the Rich Results Test lists Product snippets and no Merchant listings, the page has a price range where Google wants one price per variation. No warning tells you this. Our guide to ProductGroup schema covers the fix.
A product on sale. Check that price is the sale price and that priceValidUntil is the sale's last day. Then check again after the sale ends. A page cache keeps the markup it was built with, so a cached page can show Google the sale price after it has gone. Our post on Black Friday sale prices in Google covers that, and a timezone detail that moves the end date by a day.
Testing a staging or local site
Google's tools can't reach a site on your own computer or behind a login. There are two ways round it:
- Paste the code. Both the Rich Results Test and the Schema.org
validator have a code tab. Copy the whole application/ld+json script from the page source and paste it in.
- Read the page source. Steps 1 to 3 of the routine need no outside tool.
One thing to expect with pasted code from a local site: the addresses in it still point at your computer. When we tested markup with a localhost image address, the Rich Results Test reported a critical issue, Invalid URL in field "image". That came from the test setup, and the live site won't have it.
A product schema checker inside WordPress
NeoSERP, our free product schema plugin, has a product schema checker of its own, called the schema inspector. Go to NeoSERP → Dashboard, pick a product from the list and click Inspect. It shows the types in the page's markup and the full JSON-LD, formatted so you can read it. Underneath are two links: one opens Google's Rich Results Test with the product's address already filled in, and one opens the Schema.org validator.
It has limits, and you should know them:
- It shows the markup NeoSERP writes. If your theme or another plugin
adds a second block, the inspector won't show it. The page source will.
- Its list holds your 20 most recent products, pages and posts.
- It doesn't judge the markup. Google's test does that, which is why the
link is there.
With NeoSERP active, the markup is in the page's <head>, near the top of the source, and WooCommerce's own block at the bottom is gone. On our test store the Hoodie's row in the console table changed to a ProductGroup with 4 variants, and shipping changed to true. NeoSERP is free on WordPress.org. Markup makes a product eligible; Google decides what to show.
Frequently asked questions
How do I run a product schema test on a WooCommerce store?
View a product page's source, then run Google's Rich Results Test on the same page. In the source, search for application/ld+json and check for one Product with an Offer and the right price. In Google's test, check that Merchant listings and Product snippets are both detected and that no issue is critical.
What is the difference between the Rich Results Test and the Schema.org validator?
The Rich Results Test applies Google's rules; the Schema.org validator checks the vocabulary. The validator reports misspelt names and broken syntax for any schema type. Google's test reports which search results the markup qualifies for. Markup can pass the validator and still not qualify as a merchant listing.
Is there a free product schema validator?
Yes, two, and both are free. Google's Rich Results Test checks a page against Google's requirements, and the Schema Markup Validator at validator.schema.org checks it against Schema.org. For a store, start with Google's test.
Why does my product pass the Schema.org validator but not show as a merchant listing?
Because the validator doesn't check Google's requirements. A variable product with a price range is valid Schema.org, and the validator gave ours 0 errors. Google needs a single offer with one price for a merchant listing, so its test listed the same page under Product snippets only.
Can I test product schema on a staging site?
Yes, by pasting the code. Google's test and the Schema.org validator both accept pasted code, so copy the application/ld+json script from the page source. Addresses in it will still point at the staging site, so ignore issues about addresses the tools can't reach.
How often should I check my product schema?
After anything that changes prices or templates. That means a theme or plugin update, a new product type, and the start and the end of a sale. Between those, Search Console's Merchant listings and Product snippets reports watch every indexed product for you.
Two minutes, three products
View the source, find one Product with one Offer, and put the page through Google's Rich Results Test. Do it for a simple product, a variable product and one on sale. The Schema.org validator is for typing mistakes, and URL Inspection is for what Google has stored. If you'd rather read the markup without opening the page source, NeoSERP shows it formatted and links to both tools. For the rest of the markup, see our guide to WooCommerce product schema.