> For the complete documentation index, see [llms.txt](https://docs.globo.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.globo.io/swatch/product-variant-swatch/display-on-product-page/inventory-alert-on-product-detail-page.md).

# Inventory alert on product detail page

## Demo

<figure><img src="/files/4KQdJppVVYwOyN0CuMPA" alt=""><figcaption><p>Demo</p></figcaption></figure>

## Step-by-step configurations

Display real-time stock quantity messages on your product pages to create urgency and keep customers informed. Follow this step-by-step guide to set it up in your store.

1. Navigate to the appearance page.
2. Click the set up button

In the Appearance list, you can select any style and click **Set Up**. The In Stock product message settings will be applied across all appearance types, so there's no need to configure each one separately.

<figure><img src="/files/xYxIHaN8u46NhUH5p21b" alt=""><figcaption></figcaption></figure>

3. In the **On product page** tab, scroll to the bottom to enable this function.

<figure><img src="/files/CQdap2QYdd0n16OXyCzr" alt=""><figcaption></figcaption></figure>

* You can change the in-stock message here.
* Use the variable `{number}`  to display the current stock quantity of variant selected

> This function works only on product page, not collection page.&#x20;

**💬 Need help?**

Email us at **📧 <contact@globo.io>** - we’re happy to assist!
