> For the complete documentation index, see [llms.txt](https://docs.samita.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.samita.io/b2b-bulk-order/features/stock-status.md).

# Stock Status

Go to **Settings > Stock thresholds** to configure the quantity ranges and colors used for stock labels across all three widgets — *"Configure quantity ranges and colors for each stock status."*

There are five statuses, each shown as a card with a live preview badge:

| Status       | Default "up to" quantity                                     | Example storefront label   |
| ------------ | ------------------------------------------------------------ | -------------------------- |
| Out of stock | 0 (fixed — no limit field)                                   | "Out of stock"             |
| Last items   | 10                                                           | "Only {{count}} left"      |
| Low stock    | 30                                                           | "Low stock · {{count}}"    |
| In stock     | 100                                                          | "{{count}} in stock"       |
| High stock   | (fixed — no limit field, shown above the In stock threshold) | "{{threshold}}+ available" |

For each status you can set:

* **Up to quantity** — the highest stock count this status applies to (Out of stock and High stock don't have this field; they show **"No limit"**).
* **Color** — the badge color.
* **Font size** — 8–60px.
* **Font weight** — 0–1000, in steps of 100.

{% hint style="warning" %}
Thresholds must increase in order. Saving fails with one of:

* "Last items threshold must be greater than 0"
* "Low stock threshold must be greater than 0"
* "In stock threshold must be greater than 0"
* "Last items threshold must be less than low stock threshold"
* "Low stock threshold must be less than in stock threshold"
  {% endhint %}

Saving shows **"Stock thresholds saved"**, or **"Unable to save stock thresholds"** if something goes wrong.

<figure><img src="/files/GzPRQzTGuzwabDVmSm5t" alt="Stock thresholds settings page"><figcaption><p>Stock thresholds settings</p></figcaption></figure>

{% hint style="info" %}
If a variant's true inventory can't be determined (for example, inventory tracking is off), the storefront shows a generic **"Available"** label instead of a count-based status.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.samita.io/b2b-bulk-order/features/stock-status.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
