How your shop's chat answers "Is it in stock?" without guessing

Chatixy states a stock level only when your shop's own product data says one. Here is where that data comes from, why a hidden "Sold out" label cannot override it, how variants are handled, and the check that stops a made-up stock answer before your visitor sees it, in any of the widget's languages.

How your shop's chat answers "Is it in stock?" without guessing

When a visitor asks your chat "is this in stock?", Chatixy gives a stock answer only when your shop's own data states one. If nothing it was given says whether the item is available, the reply says so instead of guessing. This article follows that rule from the product page to the reply, so you know what your pages need to carry and where the rule stops.

Where the stock answer comes from

When Chatixy reads your website, it looks for the structured product data a shop theme can put on a product page: the schema.org product markup (JSON-LD or microdata) that search engines also read. From it, the crawler writes a short "Product details" block for that page: product name, brand, SKU, price and availability.

When a passage from that page is used to answer a visitor, the availability goes in front of it as its own line, marked as the store's product data. It reads "in stock", "out of stock" or "pre-order", followed by the date the page was read.

Three things follow from this:

  • No data, no stock line. If a page carries no availability in its product data, no stock line is written. The code is explicit that an unknown state says nothing and is never "in stock" by default.
  • Product data beats page words. The instructions the assistant gets say the store's own product data wins over "Sold out", "Out of stock" or "Unavailable" words in the page's text. Some themes carry a hidden "Sold out" badge or button label that only appears when a visitor picks an unavailable option. Without this rule, that hidden label could turn an available product into a "sold out" reply. With product data present, the assistant may say an item is sold out only when that data says so.
  • Options are read one by one. When a product has variants (sizes, colours) and some are sold out while others are available, the crawler reads every offer and writes "in stock (some options sold out)". The assistant does not tell a visitor that the whole product is gone because one size is.

The check that runs before the visitor sees the reply

The assistant writes a draft, and before it is sent a short check reads it. This check is deliberately narrow, so it almost never touches a good reply.

It only acts when the visitor's current message asks about stock or availability. That question is recognised in all 21 languages the widget speaks. A stock phrase in some other answer, for example a delivery policy that mentions in-stock items, is never judged.

When the question is about stock, the check looks for a sentence in the draft that states a stock state: "in stock", "sold out", "auf Lager", "en stock", "op voorraad" and so on. A sentence that hedges does not count. "The page does not say whether it is in stock" is the right answer, and the check leaves it alone. Link text does not count either, so a link labelled "Shop in-stock items" is not read as a claim.

Then it asks one question: did anything the assistant was given this turn mention stock or availability at all? That means your knowledge base, the passages from your pages, the stock lines above, and anything a teammate wrote in the conversation. If yes, the check stays silent. If nothing mentioned stock, the claim came from nowhere.

Two things are deliberately not allowed to back a stock claim. The visitor's own question is left out, because "is it in stock?" must never support "it is in stock". The assistant's own earlier replies are left out too, so a made-up claim from three messages ago cannot justify itself now.

What happens when the draft fails

The assistant gets one more try. It is told that its draft was not sent because it said whether an item is in stock when its information does not say so, and that it should write the reply again in the visitor's language. If the visitor asked about stock and it is not stated, the new reply says so in one clause, gives the product page link when there is one, and says how the visitor can find out.

If the second draft still states stock out of nothing, that sentence is replaced before the visitor sees it, and the links it carried are kept. When your widget hands chats over to your team, the replacement reads: "That detail is one for our team - they'll gladly confirm it for you." Without a handoff, it reads: "The product page or the shop will confirm that detail for you." Either way, the visitor gets it in their own language.

Visitors in other languages

Take a German visitor on a product page who writes "Ist die Jacke in Größe M auf Lager?". The question is recognised as a stock question, the answer comes back in German, and a German stock claim such as "auf Lager" or "ausverkauft" is checked like an English one.

The stock-phrase check covers English, German, French, Spanish, Italian, Dutch, Portuguese, Swedish, Danish, Norwegian and Polish. For the other ten widget languages, stock words change form too much for a short list to read them safely. There, the assistant's instructions are the only guard.

What this does not do

  • It does not count your stock. Chatixy reads what your pages publish. This part does not connect to your inventory, and it changes nothing in your shop.
  • It is only as current as the last read. The stock line carries the date the page was read. If your stock changes many times a day, the product page itself stays the visitor's best source.
  • It does not judge which product a stock word belongs to. One stock word anywhere in what the assistant was given is enough for the check to stay silent. It stops claims made out of nothing; it does not referee between products.
  • It does not catch every wording in every language, as described above.

What to check on your own shop

Open one of your product pages and look at its page source for "schema.org" and "availability". If they are there, Chatixy has a stock state to work from. If they are not, ask whoever runs your theme about adding product structured data.

Then test it yourself: ask your chat whether a product is in stock, in English and in the language your customers write in, and compare the answer with the page.