Short answer: Offer is the schema.org type that describes the terms on which something is sold: the price, the currency, whether it is in stock and in what condition. On a product page it sits inside the Product as the value of offers. For Google's merchant listings, an Offer needs a price above zero and a currency; availability is strongly recommended. On Shopify, each variant you sell is usually one Offer.
The main Offer properties
| Property | Example | Notes |
|---|---|---|
price | 45.00 | A number, no currency symbol, full stop for decimals |
priceCurrency | "GBP" | Three-letter ISO 4217 code |
availability | "https://schema.org/InStock" | Also OutOfStock, PreOrder, BackOrder and others |
itemCondition | "https://schema.org/NewCondition" | Also UsedCondition, RefurbishedCondition, DamagedCondition |
url | The product or variant URL | Useful when each variant has its own URL |
priceValidUntil | "2027-06-30" | Optional. Never a date in the past |
sku, gtin | Variant identifiers | Can sit on the Offer or the Product |
shippingDetails, hasMerchantReturnPolicy | Nested objects | Optional; can also be set in Search Console or Merchant Center |
Availability and condition values are full schema.org URLs. Writing "InStock" on its own is widely understood, but the full URL is the documented form. Google's merchant listing documentation sets out which properties are required and recommended.
How Shopify variants map to Offers
One Product block can hold several Offers, one per variant, as an array. In Liquid that means looping over the variants. Shopify stores prices in the smallest currency unit (pence or cents), so divide by 100:
"offers": [
{%- for variant in product.variants -%}
{
"@type": "Offer",
"sku": {{ variant.sku | json }},
"price": {{ variant.price | divided_by: 100.0 | json }},
"priceCurrency": {{ cart.currency.iso_code | json }},
"availability": "https://schema.org/{% if variant.available %}InStock{% else %}OutOfStock{% endif %}",
"url": {{ request.origin | append: variant.url | json }}
}{% unless forloop.last %},{% endunless %}
{%- endfor -%}
]
Note that variant.available is also true when a variant is set to continue selling when out of stock, so think about whether BackOrder describes those better. Google also supports describing variants with ProductGroup and hasVariant, where each variant is its own Product with its own Offer; see product variants and ProductGroup.
What about AggregateOffer, with a lowPrice and highPrice? Google's documentation describes it for a product offered by several sellers, and merchant listings need a plain Offer, so for a store selling its own products, use Offer.
Sale prices and compare-at prices
The price in your Offer should be the price a shopper pays now, which on a Shopify sale is the variant's price, not its compare-at price. Putting the compare-at price in price breaks Google's rule that markup must match what the page shows.
If you want Google to understand that the product is on sale, its merchant listing documentation describes adding the original price as a priceSpecification of type UnitPriceSpecification with priceType set to https://schema.org/StrikethroughPrice, alongside the current price. Only do this when the original price is shown on the page.
Common Offer mistakes on Shopify
- Price in pence.
4500instead of45.00, from using a Liquid price without dividing by 100. - Currency symbols or formatted prices.
"£45"or"1,250.00". Use a plain number and put the currency inpriceCurrency. Liquid's money filters add formatting, so avoid them for schema. - Price of zero. Merchant listings require a price above zero. Free gifts or sample products with a zero price will show an error.
- Availability that does not match the selected variant, or a block that says InStock for a product that is sold out.
- A priceValidUntil date in the past. Google says the listing may not display. See missing field priceValidUntil.
- Two Offers for the same variant from two sources, such as the theme and an app, with different prices. See duplicate Product schema.
Schema Clinic's audit validates Offers against Google's documentation, including price, currency, availability and priceValidUntil, and shows which source each Product block came from. On Pro ($19.99/month) its generator outputs Product with offers carrying price, currency, availability, priceValidUntil, price specification and seller. Starter is $9.99/month; there is no free plan or trial. For the whole Product block, see our Product schema guide.