# Subscription Box in Frontend

Once you have configured extension properly from the backend, whenever your customer visits any out of stock product from the store frontend. They will get an option to subscribe back in stock notification for that particular product via Email or SMS or both as per their convenience from the store frontend.

* **Email Subscription Box:**

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

* **Mobile Number Subscription Box:**

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

* **Email & Mobile Number Subscription Box Both:**

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

* **Success Message:**

Once your customer has successfully opted-in for in-stock notification, they will see and a success message that you have set from the store backend.

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

* **Error Message (if customer is already Subscribed)**

If the customer is already subscribed for in stock notification, they will see an error message as below.

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

* **Subscripton Box for Configurable Product**

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

* **Subscripton Box for Grouped Product**

<figure><img src="/files/527EQ7obk64Jwzgm9cv7" alt=""><figcaption></figcaption></figure>


---

# 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://docs.magecomp.com/magento-2-out-of-stock-notification-extension/subscription-box-in-frontend.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.
