# Availability and count info in products

There are three ways of showing the product availability:

* In stock
* Available for order
* Not available

## Availability

### In stock

If a product has `count` greater than 0, it means it can be ordered directly.

### Available for order

If a product does not have `count` but has `is_available_for_order` parameter set to `true`, you can show availability info in `order_availability` (plain text). This product will always be added to the shopping cart, also if `count === 0`.

### Not available

If a product does not have `count` and also is `is_available_for_order` set to `false`, it means that this product is not available to order.

## Showing sold out products

By default, API does not return sold out products. If you want to have these products shown in the listing, add `showSoldOut=true` parameter to the request.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.theshop.dev/docs/frontstore/basic-selling-flow/product-detail/availability-and-count-info-in-products.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
