Why it matters
- Google reads an offer's stock from
availability. A word in the store's language («متوفر», “in stock”) tells a person and tells Google nothing, so the product shows no stock status, or is left out of listings that need it. - The value must be one of Schema.org's
ItemAvailabilityvalues, written as its address:https://schema.org/InStock,OutOfStock,PreOrder,BackOrder,SoldOutand the others. The capital letters matter:InStock, notInstock. - Themes that print the store's label into the markup do it silently, so the page looks right.
Example
"price": "120.00", "priceCurrency": "SAR", "availability": "متوفر"
"price": "120.00", "priceCurrency": "SAR", "availability": "https://schema.org/InStock"
How to fix
Map the store's statuses to the Schema.org values, and write each as its address:
json
"availability": "https://schema.org/InStock"- In stock:
https://schema.org/InStock; out of stock:https://schema.org/OutOfStock. - Available to order before it arrives:
https://schema.org/PreOrder; available after a wait:https://schema.org/BackOrder. - Fix it in the theme's template or the SEO app's product settings, where the markup is made, not in the product's text.
How we detect
- We read every offer of a product in the page's JSON-LD (an offer given by its
@idis read from its definition), and theavailabilityit gives. - A value is accepted when it is one of Schema.org's ItemAvailability values: with the address
https://schema.org/orhttp://schema.org/, withschema:, or bare. - A value that starts with a schema.org address but is not on the list is
unknown; any other istext. Empty values and offers without an availability are not judged.