Check B2.2 · Offer with price, currency and availability

State price, currency and stock in your product Offer markup

How to give every schema.org Product an Offer with price, priceCurrency and a schema.org availability URL, plus the zero-price and priceValidUntil traps.

By · Updated · Markdown

Check 2 of 6 in Product structured data · 61 of 87 overall
Priority
Blocking Weight 3. Gates a readiness level or carries the most weight in its section. Fix these first.
Readiness level
Required from Level 2 (Readable catalog) upward.
The question
Does the markup state what the product costs and whether it is in stock?
Runs after
B2.1. When a dependency fails, this check is skipped rather than guessed.
On this page

In short

An Offer is the part of product markup (the schema.org structured data on a product page) that says what the product costs and whether it can be bought now. Without price, currency and availability, an agent knows what you sell but not whether a shopper can buy it. This check passes when every Offer on your sampled product pages carries all three. It is a blocking check and a Level 2 gate.

What this check looks at

In schema.org, the shared vocabulary for structured data, a Product describes the thing and an Offer describes the terms of sale. The offer sits under the product's offers property. The scanner requires three fields on each offer:

FieldWhat it holdsExample
priceThe amount, without a currency sign"24.00"
priceCurrencyThe currency as an ISO 4217 three-letter code"EUR"
availabilityA schema.org ItemAvailability URL"https://schema.org/InStock"

An AggregateOffer may use lowPrice instead of price. On a ProductGroup, the offers usually live on each variant under hasVariant. The scanner counts those as the product's offers. Shopify's native markup works this way.

Accepted availability values are the schema.org ItemAvailability members: InStock, OutOfStock, PreOrder, BackOrder, Discontinued, InStoreOnly, LimitedAvailability, OnlineOnly, PreSale and SoldOut. Both http:// and https:// forms are accepted.

Why it matters for AI agents

A shopping question almost always includes price and stock. "Find me a waterproof jacket under 150 euros that ships this week" cannot be answered from a product name alone. The Offer is where structured data answers it.

Merchant listings are Google's shopping results that show a product with its price, stock and delivery. Google's documentation for them requires an Offer with a price. It also states two rules this check enforces:

  • The price must be greater than zero for merchant listings.
  • If priceValidUntil names a date in the past, Google says your listing may not display.

An AggregateOffer, which gives a price range, is eligible for product snippets (the price and rating line under a search result) but not for merchant listings. Those need an Offer.

This check carries weight 3, blocking. With the Product JSON-LD check, it gates Level 2 "Readable catalog" and every level above it.

How the scanner decides

The scanner reads every Product and ProductGroup node on the sampled product pages and collects their offers, including variant offers.

  • Pass: every product's offers carry a price, a currency and a valid availability URL.
  • Warn: some offers are complete and others are not, or some products have no offer while others have a complete one. A store where all offers are complete is still demoted to a warning when an offer has a price of 0 or below, or when priceValidUntil is a date that had already passed when the page was served. A bare date such as 2026-12-31 counts as valid until the end of that day.
  • Fail: Product markup exists but has no Offer at all, or no offer is complete.
  • Skip: no sampled page carries Product JSON-LD. That failure belongs to the Product JSON-LD check.

An AggregateOffer passes when it is complete, but the report notes that it is not eligible for merchant listings. The evidence counts missing prices, currencies and availability values separately, so you can see which field is the problem.

How to fix it

Generate the offer from live product data, not from a template with fixed values.

WordPress and WooCommerce

  • WooCommerce core adds an Offer with price, currency and availability derived from the product's stock status.
  • For a variable product whose variations have different prices, core outputs an AggregateOffer with lowPrice and highPrice. That passes, but it is not eligible for Google merchant listings. To give each variation its own Offer, model the product as a ProductGroup. See the variants check.
  • Core also sets priceValidUntil, using the sale end date when a sale is scheduled. If that date passes and a page cache keeps the old HTML, the markup carries an expired date. Purge the page cache when sales end.
  • Products with an empty price, such as "price on request" items, produce an incomplete or zero-price offer. Give them a real price, or keep them out of the catalog.

Shopify

  • Shopify themes that use the native product markup output an Offer per variant with price, currency and availability.
  • Custom themes sometimes hard-code "availability": "InStock" without the schema.org URL. The scanner rejects bare values. Use the full URL.
  • Check that currency matches the market. A store selling in several currencies should output the currency of the price shown on that page.

Any other stack

  • Write the price as a plain number in a string, with a dot as the decimal separator: "1299.00", not "1.299,00 €".
  • Map your stock states to ItemAvailability URLs: in stock to InStock, out of stock to OutOfStock, backorders to BackOrder, preorders to PreOrder.
  • Only add priceValidUntil when the price really expires. If you add it, keep it in the future.

This shape covers a product sold in one currency with a sale price that ends on a known date:

"offers": {
  "@type": "Offer",
  "url": "https://example.com/product/stoneware-mug/",
  "price": "19.90",
  "priceCurrency": "EUR",
  "availability": "https://schema.org/InStock",
  "priceValidUntil": "2026-12-31",
  "itemCondition": "https://schema.org/NewCondition"
}

Verify it yourself

Run a product URL through Google's Rich Results Test. Under "Merchant listings", missing or invalid offer fields appear as errors or warnings. The Schema Markup Validator shows the raw Offer values.

To check availability values quickly:

curl -s https://example.com/product/stoneware-mug/ | grep -o '"availability": *"[^"]*"'

Every match should start with https://schema.org/ or http://schema.org/.

Common mistakes

  • Bare availability values. "InStock" without the schema.org URL is not a valid ItemAvailability value here.
  • Currency symbols in the price. "€24" is not a number. Put the currency in priceCurrency.
  • An expired priceValidUntil. A date set once and never updated eventually lies in the past.
  • Zero-price placeholders. Free samples or "call for price" items output "price": "0", which merchant listings reject.
  • Offers missing on the ProductGroup and its variants. The group exists, but nothing under it carries a price.

FAQ

What is the difference between Offer and AggregateOffer?

An Offer is one price for one purchasable item. An AggregateOffer summarises several offers with a price range, using lowPrice and highPrice. Google accepts AggregateOffer for product snippets, but merchant listings require an Offer.

Is priceValidUntil required?

No. The scanner does not require it. It only warns when the field is present and names a past date, because Google says the listing may not display in that case.

Which availability value should I use for preorders?

Use https://schema.org/PreOrder for items customers can order before release. Use BackOrder for items that are temporarily out of stock but can still be ordered.

Should the price include tax?

Use the price your page shows to the shopper. The markup versus page check compares the two, and a tax-inclusive page with a tax-exclusive markup price will not match.

The fix in one step

Add an Offer to the Product markup with price, priceCurrency and an availability URL from schema.org/ItemAvailability.

"offers": {
  "@type": "Offer",
  "price": "24.00",
  "priceCurrency": "EUR",
  "availability": "https://schema.org/InStock",
  "priceValidUntil": "2027-12-31"
}
Prompt for a coding agent

The Product JSON-LD on sampled product pages of this site has no Offer, or offers that lack a price, a currency or a schema.org availability URL, or offers with a price of 0 or a priceValidUntil date in the past. Extend the markup, generated from live product data, so every Offer (on the Product, or on each variant of a ProductGroup) carries price as a plain decimal string with a dot ("24.00", no currency sign), priceCurrency as an ISO 4217 code, and availability as a full schema.org URL such as `https://schema.org/InStock`, OutOfStock, PreOrder or BackOrder, derived from live stock status. Bare values like "InStock" do not count. Give every purchasable product a price above zero, and set priceValidUntil only when the price really expires, keeping it in the future. Verify a few product URLs in Google's Rich Results Test under Merchant listings.

Sources and specifications

See how your store does

One scan runs every check in this knowledge base against your site and ends with a prioritised fix list.

Scan a store