> ## Documentation Index
> Fetch the complete documentation index at: https://docs.marzipan.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Inventory

> Manage stock, purchase limits, overselling, and low-stock badges for a product

Stock for a product is managed in the **Inventory** section of the product form. Open a product from **Products** in the main navigation menu and scroll to **Inventory**.

## Quantity

* **Quantity** — a single stock quantity, or per-location quantities if [location-based inventory](/settings/inventory) is enabled

<Note>
  With location-based inventory on, you can also **manage inventory** and **view history** for a product from the products list.
</Note>

## Purchase rules

* **Limit per customer** — cap how many of this product a single customer can buy
* **Allow overselling** — let customers buy the product even when it's out of stock

## Low-stock badge

The **low-stock badge** tells customers when stock is running low. On the product you can:

* Show or hide the badge
* Set the **threshold** at which it appears
* Set the badge **text**
* Or fall back to your global default

<Tip>
  Set the badge once under [Inventory settings](/settings/inventory) and only override it on the products that need something different.
</Tip>
