Product structured data

8 WooCommerce Product Schema Problems to Check

Find the field or template responsible for a product schema error and verify the repair on the affected page.

On this page

Start with the exact product URL in the error report. Open it as a shopper, record the selected variation, price, currency and availability, then test that same URL in Google’s Rich Results Test. Expand the detected product and offer. Compare each disputed field with what a shopper can actually buy. Rich Results Test

What you seeWhere to start
The test cannot read the productCheck the JSON syntax, page identity and crawler access in checks 1, 2 and 8.
A field is missingIdentify the intended Google result and its required properties in check 3.
The markup passes but describes a different offerTrace the price, stock, variation and source of each block in checks 4–7.

1. The JSON-LD contains a syntax error

Copy the affected application/ld+json block from the delivered page and test it as code. A product name containing a quotation mark can expose a template that inserts text without JSON encoding. Find the template or plugin that produced that block and correct the encoding there. Test another item with the same punctuation, then retest the full URL to confirm the repaired block reached the page.

2. The markup describes a different product

Read the detected name, SKU and URL together. A recommended accessory can have its own product data on a page. A block describing the accessory makes a poor source for diagnosing the main item. Match the main product to a visible, purchasable offer before editing its fields. If the reported URL opens a category listing, reproduce the problem on the individual product destination. Google structured data guidelines

3. A required field is missing for the intended result

A Google product snippet needs a product name and at least one of offers, review or aggregateRating. A page with a valid offer can receive a review-related warning. Check the test’s severity before asking a merchant for ratings. Google product snippet properties

For a merchant listing, check the product name, a representative image and a nested Offer, then inspect the required properties of that offer. An AggregateOffer containing a price range serves a different purpose. Check the requirements for the specific result that raised the error. Google merchant listing properties

4. The offer price or currency disagrees with the store

Compare the amount and currency for one selected item in one market. Save the public offer and its corresponding WooCommerce price. If they disagree, check the active sale, tax display, currency settings and cached output before deciding which component needs repair. WooCommerce price mismatch guide

Worked example from a local test. We ran the AgentReady 0.2.0 report code against a fictional simple shelf, SKU S-1. Its JSON-LD and simulated Store API record used the same product URL. The API price was 2700 with two minor-unit digits, or €27.00. This excerpt shows the part of the original offer involved in the comparison.

{
  "@type": "Offer",
  "price": "25.00",
  "priceCurrency": "EUR",
  "availability": "https://schema.org/InStock"
}
Test inputJSON-LD priceStore API priceReport result
Original shelf€25.00€27.00Warning
After changing the fixture’s offer€27.00€27.00Pass

The test establishes that the two values agree after the change. On an actual store, check the approved selling price on the selected product and at checkout to decide which value is correct.

5. Availability still describes an earlier stock state

Pick an item whose stock recently changed. Record what its selected page says, whether a shopper can order it, and the value in the matching offer’s availability property. If the page says “out of stock” while the offer still contains InStock, trace which stock field and cache supply the markup. Check the public offer again after correcting the responsible output. WooCommerce availability mismatch guide

6. A family price range hides the selected variation

A price range can describe a whole product family while a Shopping record points to one size or finish. Open the URL for that variation in a fresh session and identify the offer belonging to it. For stores implementing Google’s variant markup, inspect the relationship between ProductGroup, its variants and their individual offers. The expected structure depends on whether the family shares a page or has separate pages. Google product variant structured data

Test two siblings with different prices. Record the selected option, SKU and price for each. If both resolve to the same lowest price, inspect the variation mapping. WooCommerce variations in Google Shopping

7. Two components publish conflicting offers

List each block’s product identifier, URL, price and source. Two blocks can legitimately describe a parent and a variation. A conflict is easier to pinpoint when two blocks describe the same sellable item with different values. WooCommerce documents how its Google Product Feed extension can add variation-level markup alongside an aggregate block. WooCommerce expanded structured data

On staging, isolate the component that emits the stale value. Correct its mapping and retest both a simple and a variable product before applying the change across templates.

8. Google receives different markup from your browser

Compare the original HTML, the rendered page after loading, and the result of Google’s live URL test. Check whether the offer appears only after a shopper selects an option, accepts a prompt or signs in. Inspect access to the product image as well. Google recommends including product markup in the initial HTML for shopping results. Google merchant listing guidance

Save the URL, selected product, before-and-after values and fresh test result with the repair. For the wider catalog review, compare this page with the submitted product data. Shopping feed checklist