> For the complete documentation index, see [llms.txt](https://staylime.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://staylime.com/docs/volume-themes/collections-and-products/product-page/back-in-stock-alert.md).

# Back in stock alert

The Back in stock alert block in Volume: an email field on an out-of-stock variant that sends a contact message to the store.

Back in stock alert is an email field that appears on an out-of-stock variant.

{% hint style="warning" icon="triangle-exclamation" %}
The form emails the store, not the shopper. Volume does not watch inventory and does not send a notification when the product comes back. Somebody has to write to those shoppers.
{% endhint %}

{% hint style="info" %}
Add a **Back in stock alert** block to **Product overview**, **Featured product** or **Quick view**. The block is limited to one per section.
{% endhint %}

### How to add

{% stepper %}
{% step %}

#### Add the block

The form shows when the selected variant is unavailable. In the theme editor it shows in the preview whatever the stock level, so you can set it up without hunting for a sold-out variant.
{% endstep %}

{% step %}

#### Write what the shopper reads

* **Text**\
  Sits above the field. The default is `Enter your email address below to be notified when this product is back in stock.`
* **Button label**\
  Defaults to `Notify me`.
* **Success message**\
  Only the line the shopper sees on the page afterwards. The default is `Thanks! We will notify you when this product becomes available.` Change it if you do not want to promise a notification nobody is going to send.
  {% endstep %}

{% step %}

#### Set the message you receive

Submitting the form sends a contact message to the store. The message carries the product title, the variant name when the product has variants, the product URL, the email address the shopper typed, and the **Email message**. The default message is `I would like to be notified when this product is back in stock.`
{% endstep %}
{% endstepper %}

### Good to know

The request arrives through the store's contact form, the same way a regular customer enquiry does. The theme sends nothing to the shopper, so if nobody reads that inbox, the requests go nowhere.

**Email message** is the same line on every submission, taken from the block setting, and the shopper cannot add anything to it. The product title and the product URL are what identify the request.

Nothing is stored and nothing is de-duplicated. A shopper who submits three times sends three messages.

The page reloads to show the **Success message**, landing on the variant's product page. Submitting from **Quick view** therefore closes the popup.

For a signed-in customer the email field is prefilled.

### Related

* [Product Page](https://staylime.com/docs/volume-themes/collections-and-products/product-page.md)
* [Quick View & Pre-order templates](https://staylime.com/docs/volume-themes/collections-and-products/product-page/quick-view-and-pre-order-templates.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://staylime.com/docs/volume-themes/collections-and-products/product-page/back-in-stock-alert.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
