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. 1

    Open your theme's schema template.

  2. 2

    Find the 'offers' section in the JSON-LD.

  3. 3

    Add or fix the 'availability' field using Shopify's product.available Liquid variable.

  4. 4

    The value must be a full Schema.org URL.

  5. 5

    Test at Google's Rich Results Test after saving.

foldersnippets/product-schema.liquid
"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 }}
}
menu_bookRead Google's official documentationopen_in_new

Related Fix Guides

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