Variant product schema
What it is
For variable products, WooCommerce may emit a single Offer or a list of Offers (an AggregateOffer for the variations). AISA's schema completion handles both shapes: it walks each Offer and guarantees availability, itemCondition and priceValidUntil on every one, so variant offers carry the fields rich results need. Availability is derived from real stock status (InStock / OutOfStock / PreOrder on backorder).
Where to find it
Automatic when Optimal WooCommerce Schema is enabled (Settings → WooCommerce). It enhances the core Product node's offers in place.
Requirements & tier
Requires WooCommerce and core product schema output. No AI cost. Fuller variant modeling (ProductGroup + hasVariant) is a later phase; the current behavior ensures each Offer is complete.
How to use
- Enable Optimal WooCommerce Schema.
- Open a variable product page — core emits its Offer(s).
- AISA detects whether offers are a single object or a list and processes each.
- Each Offer gets availability (from stock), itemCondition (NewCondition) and priceValidUntil if a price is present.
- Validate the URL to confirm complete offers across variants.
Questions people ask
- Does it handle a list of offers? Yes — it processes both single Offer and Offer lists / AggregateOffer.
- How is availability decided per offer? From the product's real stock status, including backorder as PreOrder.
- What price validity is set? A priceValidUntil defaulting to end of next year when missing and a price exists.
- Does it create a ProductGroup node? Not yet — it completes the existing offers; richer variant modeling is planned.
- Will it duplicate offers? No — it edits the existing offers in place.
Troubleshooting
If variant offers still lack availability, confirm core WooCommerce schema is enabled and your theme/SEO plugin is not replacing the Product node. Missing priceValidUntil usually means the offer had no price value to anchor to.
Related
Optimal WooCommerce Schema · Brand, GTIN and MPN completion · WooCommerce value pills.
