“availability” schema mismatch on variable products
-
Hi there,
I want to report a structural inconsistency in WooCommerce’s schema output for variable products –
WooCommerce outputs structured data (JSON-LD) only at the parent product level, and will show:
"availability": "https://schema.org/InStock"This is as long as any variation is in stock – even if the specific variation being viewed is out of stock.
Why this is a problem:
Each WooCommerce variation currently can have its own:
- GTIN
- SKU
- price
- stock level
- variation-specific URL
This essentially makes each variation a distinct product, which is correct and aligns with Google’s requirements.
However, the schema does not reflect this variation-level detail, and instead reports the parent as “InStock” for all variations.
Impact when using Google for WooCommerce
We sync our product feed via the Google for WooCommerce plugin, which correctly sends each variation to Merchant Center with:- its own GTIN
- its own stock status
- its own URL
But Google is detecting a schema mismatch for variations that are out of stock, because the on-page structured data says “InStock” while the feed correctly says “out_of_stock”.
As a result, Google overrides the feed data and marks these variations as in stock, causing problems as you can imagine:
- Out-of-stock variations being shown in ads
- Wasted ad spend sending users to pages with no purchasable product
- Loss of trust
This has a direct financial impact.
The root cause seems to be that WooCommerce has no variation-level schema output, even though variation-level data exists and is correctly used by the Google for WooCommerce feed.
This inconsistency means any store using GTINs correctly for variations will run into the same problem.
Request:
Can WooCommerce confirm whether variation-level structured data is planned, or if there is a recommended method to:
- disable the parent-level schema, and/or
- output correct variation-level schema for each variation URL?
This would bring schema behavior in line with the existing capabilities for variation GTINs, SKUs, stock levels, and URLs.
Thank you.
Jethro
You must be logged in to reply to this topic.