How to Fix Missing Product Availability in Schema Markup
errorThe Problem
Your Product schema is missing the offers.availability field. Google requires this field to show product rich results in search.
trending_upWhy It Matters for SEO
The availability field is one of Google's required fields for Product rich results. When shoppers see 'In Stock' directly in search results, they're more likely to click. Missing this field means missing out on one of the strongest conversion signals in search results.
buildHow to Fix It
- 1
Open your theme's schema template.
- 2
Find the 'offers' section in the JSON-LD.
- 3
Add or fix the 'availability' field using Shopify's product.available Liquid variable.
- 4
The value must be a full Schema.org URL.
- 5
Test at Google's Rich Results Test after saving.
"offers": {
"@type": "Offer",
"price": {{ product.selected_or_first_available_variant.price | money_without_currency | json }},
"priceCurrency": {{ cart.currency.iso_code | json }},
"availability": "https://schema.org/{% if product.available %}InStock{% else %}OutOfStock{% endif %}",
"url": {{ canonical_url | json }}
}Related Fix Guides
How to Fix Product Schema Missing Price on Shopify & WooCommerce
Your Product schema is missing price data, blocking Google Shopping rich results. Here's how to add offers.price to your Shopify or WooCommerce store.
How to Fix Malformed JSON-LD Schema Markup
Fix JSON-LD syntax errors that prevent Google from reading your structured data. Common mistakes and copy-paste fixes for Shopify and WooCommerce.
How to Fix Broken Schema Markup on Shopify & WooCommerce
Your JSON-LD schema is missing or broken, blocking Google rich results. Here's how to fix Product schema on Shopify and WooCommerce with working code.
Want to check if YOUR store has this issue?
Scan your site for free — get copy-paste fixes in 60 seconds.
searchScan Now — It's Free