PLATFORM FIX / UPDATED 2026-12-01
Fix: variant stock missing from structured data on WooCommerce
On a variable product URL with no variation selected, WooCommerce core outputs one AggregateOffer with lowPrice, highPrice, offerCount and a single availability. It doesn't list each variation's stock. A selected-variation URL gets that variation's own offer. Manage stock per variation and use markup that lists variants if per-size availability matters.
How to fix it on WooCommerce
Product data > Variations: set Manage stock or a stock status on each variation.- Link to variation URLs (with attribute parameters) from feeds, so each has its own offer.
- If you need per-variant availability on the main URL, use an SEO plugin or custom code that outputs a ProductGroup with hasVariant.
- Keep the parent's stock status consistent with its variations.
Good to know
This is how the core class-wc-structured-data.php builds variable product offers today.
Confirm the fix
Run the Rich Results Test on the parent URL and on one variation URL.
Then run the free 2-page preview on that product page to see what a crawler reads.
Questions
Will fixing this make ChatGPT or Google show my products?
No one can promise that. Fixing it removes one reason AI tools and search crawlers can't read your WooCommerce product pages. Whether they cite or recommend you is up to them.
How do I check my whole store, not just one page?
Run the free 2-page preview at substratelayer.com/#scan (no account, email or payment). The Quick Storefront Check ($29) covers up to 4 pages, the Full Storefront Assessment ($79) up to 10, and the Agency / Multi-Site Pack ($199) 5 stores.