# Add the Notify me button to your store
Show a Notify me button on sold-out products so shoppers can sign up for a restock alert instead of leaving your store. XFlow adds the button for you once **XFlow Helper** is on in your theme and a restock campaign is active.
## Quick setup
Before you start, make sure your back in stock campaign is active. Check out [Set up your back in stock campaign](https://docs.foxecom.com/xflow-app/back-in-stock/set-up-your-back-in-stock-campaign).
1. Go to **Online Store > Themes**.
2. Click **Edit theme** on your active theme.
3. Click **App embeds** in the left sidebar.
4. Turn on **XFlow Helper**.
5. Click **Save**.
XFlow Helper is turned on and saved, and your campaign is active. The Notify me button then appears on eligible out-of-stock product pages based on your campaign settings.
If you switch to a different theme, turn on **XFlow Helper** again in the new theme. The setting doesn't carry over.
## How the button appears
When a product or variant is out of stock, XFlow replaces your theme's **Add to cart** and **Buy now** buttons with the **Notify me** button. The button shows automatically when a product in an active campaign is sold out.
On the Free plan, the **Notify me** button shows on product pages only. Paid plans show it on all pages, such as out-of-stock product cards in collections.
## Customize the Notify me button
Choose what the button says and where it shows.
1. Go to **Settings > Notify me widget**.
2. Click **Customize**.
3. Select the **Notify me button** tab.

### Product page
| Setting | What it does |
| ------------------- | ------------------------------------------------------------------------------- |
| **Button label** | Sets the text on the button on your product page. |
| **Help text** | Adds supporting text near the button, such as "Subscribe today to get 15% OFF". |
| **Button position** | Chooses **Inline button**, **Floating button**, or both. |
Choose the button position that fits your product page:
* **Inline button:** sits inside the product form, in place of Add to cart and Buy now. It doesn't follow shoppers as they scroll.
* **Floating button:** a tab pinned to the side of the screen that stays visible while shoppers scroll. Turn it on if you want the button in reach on long product pages.
### Custom placements
Custom placements are extra spots where the button can appear.
| Placement | What it does |
| ----------------------------- | ------------------------------------------------------------------------------------------------------- |
| **Product card** | Shows the button on out-of-stock product cards in collections, the homepage, search and other listings. |
| **Product quickview** | Shows the button in the product quick view popup window. |
| **Custom placement snippets** | Gives you a Liquid snippet to render the button anywhere in your theme. |
Keep the product card button label short so it isn't cut off on small product cards.
**Product quickview** only works if quick view is turned on in your theme. If quick view is on and the button still doesn't show, [contact support](https://admin.shopify.com/apps/xflow?chat=true).
Need help adding the snippet? [Contact our support team](https://admin.shopify.com/apps/xflow?chat=true).
## Place the button somewhere else
By default, XFlow replaces your theme's buy buttons. To put the button in another spot on your product page or in another supported product section, add the **XFlow: Notify me button** block in your theme editor.
For the **default product form**, we recommend using the **automatic button replacement** rather than adding the block manually to avoid duplicate Notify me buttons.

## Customize the 'Notify me' button to match your brand
Want the **Notify me form** and **Notify me button** to better match your store’s branding?
Our support team can help customize details such as **colors, button size, spacing, fonts, shapes, and overall styling** so the widget feels more consistent with your theme.
## FAQs
This usually happens for one of these reasons:
* **XFlow Helper** isn't turned on in your theme.
* The product or variant isn't out of stock.
* The product isn't in an active campaign.
* Your theme uses a custom product form that doesn't support automatic replacement.
Yes, by default. When a product or variant is out of stock, XFlow replaces **Add to cart** and **Buy now**.
## Related articles
Set up your back in stock campaignCustomize the Notify me widgetTranslate the Notify me widget