A "Notify me when available" button turns a dead sold-out page into a list of people who want the product. As far as we could find in current Shopify documentation, Shopify does not ship a ready-made notify me button for the storefront, so you assemble one from forms, automation, an app or code. This guide walks through four ways, starting with the one that needs no app, and says which store each one fits.
Short answer
| Method | Cost model | Setup | Variant aware | Who sends the email | Fits |
|---|---|---|---|---|---|
| 1. Shopify Forms + Flow | No extra app fee as far as the docs show | Longest, partly manual | Only if you record it yourself | You, through Shopify Email | A handful of products |
| 2. Email platform (Klaviyo, Mailchimp, Omnisend) | Part of your platform plan | Medium | Handled by the platform's button | Your platform | Stores already on that platform |
| 3. Custom Liquid | Your time | Short for the form, no backend | Yes, if you write it | Nobody, you still need storage and sending | Developers who add it to something else |
| 4. Back-in-stock app | Monthly plan, usually with a send cap | Shortest | Usually | The app | Many products, many variants |
If you have under ten sold-out products and some patience, start with method 1. If you already pay for Klaviyo or Mailchimp, use their native form. If you have a catalog, pick an app and check the questions in method 4.
Before you start: inventory settings
Whatever method you choose, it depends on Shopify reporting the variant as unavailable. Three settings decide that.
- Inventory tracking must be on. Shopify Help calls the box "Inventory tracked"; older screens say "Track quantity". A variant with tracking off is always for sale, so it never sells out and never comes back in stock.
- Continue selling when out of stock must be off. On the variant's inventory section, this box lets customers buy at zero or below. Shopify's Liquid reference lists "inventory policy set to continue" as one of the reasons a variant counts as available. With it on, the variant is never unavailable and no notify button will appear. Klaviyo's help page says the same about its form. The consequences of the box are covered in Continue selling when out of stock.
- Check your theme's sold-out behavior. Some themes and filters hide sold-out products or variants completely. If the product page is hidden, nobody can reach the form. See Shopify out of stock products for the display options.
Also check the location. Inventory is tracked per location, and a variant counts as in stock only for the locations that fulfill online orders. A restock at a location that does not ship online will not make the button disappear.
Method 1: no app, Shopify Forms and Flow
This is the route a community member described on Shopify Community in July 2026. It uses only Shopify's own tools. It has two hard limits, and both decide who should use it. Shopify Forms cannot record which variant the shopper wanted, and Flow's email step reaches only customers who subscribed to email marketing. That makes this method a good fit for a stock-wide announcement to subscribed customers ("the new batch is in"), and a poor fit for per-variant alerts.
Step 1. Build the form. In admin go to Apps > Forms, click Create form, pick Inline, name it and click Create. Shopify's help says every form needs an email or phone field, and forms capture first name and email by default. Delete the name field if you want one field.
Step 2. Record which variant. Forms supports custom fields, including a dropdown. Forms has no hidden field and no product or variant context. The field types you can add are single-line text, dropdown, radio buttons, multi-line text, multiple choice, date, number and file upload, and that is the full list. The community post that claims a hidden field carries the variant ID is wrong on this point. So the form cannot capture the variant by itself. The only options are a dropdown the shopper fills in ("Which size?") on a product with few variants, or one form per variant. There is a second catch: if you link a field to a customer metafield, Shopify Help says the customer profile shows only the data from the most recent submission. A shopper waiting for two sizes keeps only the second.
Step 3. Tag everyone who signs up. In the form's settings, enter a tag in "Find or create tags", for example notify-blue-m. Tags are added to customers who complete the form. The marketing consent choice matters here. Flow's email action is called "Send marketing email", and it sends only to customers subscribed to email marketing. When a customer is not subscribed, Flow reports that the email was not sent. Flow has no built-in transactional email action. So a form set to "Don't subscribe customers to marketing" collects people you cannot email in step 5. The form must subscribe the customer, which turns it into a marketing signup, and the consent wording on the form has to say so.
Step 4. Put the form on the product page. Shopify's help gives two options: a landing page that Shopify creates, or the existing page template, where you add a section in the theme editor, open the Apps tab, pick Forms and paste the form's Form ID. The form shows on every product using that template, in stock or not. Hiding it for in-stock variants takes code, which is method 3.
Step 5. Build the restock workflow. In Apps > Flow create a workflow with the trigger "Product variant back in stock". Shopify's changelog says it fires when a variant goes from 0 or less to 1 or more. Then the workflow has to find the customers with your tag, send each one an email, and remove the tag so the next restock does not repeat the mail. The trigger hands Flow a variant, not a list of customers, so you need a "Get customer data" step that fetches customers by tag and a loop over them. The community post names Shopify Email as the sender and says it works within the free monthly allowance. We did not confirm that in a Shopify source.
Limits you will hit.
- One tag and one workflow per variant, or a dropdown value you must read yourself. That is why the community post says it suits a few SKUs, not a catalog.
- Flow's "Get customer data" step returns at most 100 customers at a time, so a 101st waiting customer is not picked up by one run. This is a limit of that step, not of the whole workflow.
- The email reaches only customers subscribed to email marketing, so the form is a newsletter signup in practice, with the consent duties that come with it. It is not a transactional route.
- Nothing hides the form on in-stock variants.
- The email is a marketing email of your own making; you manage the wording and the unsubscribe handling. Third-party Flow email apps exist, but they are separate products, not Shopify behaviour.
Who it fits: a small shop that wants to tell its subscribed customers when stock returns, with no new vendor holding customer data. If you need to alert each shopper about the exact variant they asked for, pick method 2, 3 or 4.
Method 2: your email platform
If you already use Klaviyo, Mailchimp or Omnisend, each has a native back-in-stock form and flow. What follows comes from their documentation; we have not run these in our dev store.
Klaviyo. According to its help page: you need Klaviyo's onsite tracking script on the storefront, and you remove any older back-in-stock snippet first. Go to Sign-up forms > Create form, choose the Back in stock template, and set the product display button to "Replace add to cart button" or "Stacked". Then confirm a flow triggered by the "Subscribed to Back in Stock" metric with messages set to Live. Limits stated there: one back-in-stock form per account, no A/B testing, and "Continue selling when out of stock" must be off. SMS and WhatsApp require explicit consent; the email marketing checkbox is optional.
Mailchimp. According to its help page: Forms > Create popup form > Special use > Back-in-stock, then "Add button in Shopify" and "Check for button". Then Automations > Flow templates > Nurture leads, choose a back-in-stock template, and set the trigger's products and inventory minimum. Both the form and the automation must be active, or signups are collected without alerts. Signups arrive as non-subscribed contacts.
Omnisend. Its help page describes a back-in-stock form (popup or embedded, targeted to pages for out-of-stock products) and an automation from the Back in Stock preset, both enabled. It also says the automation fires only for contacts who used Omnisend's own form, so a third-party notify app will not trigger it.
Fits: stores already on the platform, where the same list then feeds newsletters. Watch the pricing: the form is cheap, but the platform's contact-based plan is the real cost.
Method 3: custom Liquid
Liquid can show a form only when the selected variant is unavailable. It cannot store the request or send the email. Treat it as a front end for a backend you already have.
The trap: product.available is true while any variant can be bought, as Shopify's reference says. A shirt with only "Large" sold out stays "available", and a check on the product hides your form on exactly the variant that needs it. Use the variant:
{% assign current = product.selected_or_first_available_variant %}
<div id="notify-{{ section.id }}" {% if current.available %}hidden{% endif %}>
<form method="post" action="/your-endpoint">
<input type="hidden" name="variant_id" value="{{ current.id }}">
<label>Email <input type="email" name="email" required></label>
<button>Email me when it's back</button>
</form>
</div>
selected_or_first_available_variant returns the variant from the URL even if it is sold out, so the first render is right. After the shopper picks another option the page does not reload, so the form must react. Dawn, Shopify's long-time free reference theme, publishes a variant change event on its internal pub/sub script, and a snippet can listen to it:
<script>
if (typeof subscribe === 'function' && window.PUB_SUB_EVENTS) {
subscribe(PUB_SUB_EVENTS.variantChange, (event) => {
const box = document.getElementById('notify-{{ section.id }}')
const variant = event.data.variant
box.hidden = !!(variant && variant.available)
box.querySelector('[name=variant_id]').value = variant ? variant.id : ''
})
}
</script>
Treat this as a pattern, not a drop-in: it works only on themes built like Dawn. Shopify's newer free themes and most paid themes use other events, and on those this script does nothing. Look in your theme's code for how it announces a variant change. What it lacks is the larger part: a place to store emails, a trigger when stock returns, sending, unsubscribe and deletion. Most stores should stop here and pick method 1, 2 or 4.
Method 4: a back-in-stock app
An app covers capture, storage and sending in one install. Before installing any of them, check:
- Monthly alert cap, and what happens at the cap (cut off mid-restock, or sent anyway).
- Commission or fees on sales, if any.
- The sender: your domain or the vendor's.
- What the theme looks like after uninstall.
- Whether you can export the subscriber list.
- Which channels it supports (email, SMS) and whether it connects to your email platform.
Our own add-on, Back in Stock Alerts, is one example, so weigh this paragraph accordingly. It adds an app block to the product page that shows a form only when the selected variant is sold out. Restock emails go out in waves sized to your available stock, each with a one-click unsubscribe. You see who waits for which variant and can export the list as CSV on every plan. Setup steps are in the setup help page.
Its limits: it is new and has no reviews yet. It is email only (no SMS), has no Klaviyo or Shopify Flow integration yet, and puts no form on collection cards. Every plan caps emails per month: 50 on Free, 500 on Starter ($5), 2,500 on Growth ($12) and 10,000 on Scale ($24), with a 14-day trial on paid plans. Sending from your own domain needs Growth or Scale. If you need SMS, a flow in your email platform, or data that never leaves Shopify, one of the other methods fits better.
Variants, placement and wording
- Replace or sit below. Klaviyo offers both ("Replace add to cart" or "Stacked"). Replacing is cleaner, but make sure the disabled sold-out button is hidden, not left as a second dead button.
- Label. Say what happens: "Email me when it's back" beats "Submit". Add the variant to the line when the product has several ("Email me when Blue / M is back").
- One field. Ask for the email only. Each extra field costs signups.
- Success message. Say what was recorded and what comes next: "We will email you once, when it is back."
- All variants sold out. Show the form once, with a variant picker if the shopper has not chosen.
- Collection cards. A sold-out badge is easy; a form on the card needs custom code or an app that offers it. Check before you install, because many apps (ours included) work on the product page only.
Test it and fix it
- Set the variant's quantity to 0 with tracking on and "Continue selling" off. The form must show for that variant.
- Switch to an in-stock variant of the same product. The form must disappear without a reload.
- Submit a request with your own email. Check the success message and that the request is recorded.
- Submit the same email again. Note whether you get an error, a second record or a quiet merge.
- Set the quantity to 1. Check the time until the email arrives and that the link opens the right variant.
- Sell out again. Nothing should send twice for the same request.
- Check the inbox and the spam folder, and click the unsubscribe link.
Run the test on a mobile phone as well. If it fails, see the troubleshooting page for our add-on, and Back in stock email examples for what the email itself should say.
If something fails:
- Button not showing. Continue selling is on, tracking is off, or the product is hidden by the theme. Check the three settings at the top first.
- Button showing on in-stock variants. The condition uses
product.availableinstead of the variant, or the script does not run on variant change. - Form sends nothing at restock. In Klaviyo, Mailchimp and Omnisend the form and the flow must both be live. In Flow, check the workflow is on and the variant went from 0 or less to 1 or more.
- Email in spam. Check the sender address and its DNS records. The email guide has a consent and deliverability section, and for our add-on the DNS steps are in sender domain.
Privacy and consent
This is a practical checklist, not legal advice; check with your own adviser for your market.
- Collect only what the alert needs. An email and the variant. Name, phone and birthday are not needed.
- Say what the email is for. A line under the field: "We will email you once when this item is back."
- Alert versus marketing. Shopify Forms lets you choose whether submission subscribes the customer to marketing: on submission, on submission if a box is checked, or not at all. A new form's default footer reads "By signing up, you agree to receive marketing emails.", so the default form subscribes people. Change it if all you want is a one-time alert. Klaviyo says the email opt-in box is optional and SMS consent is required. Do not add a person to your newsletter because they asked about one product, unless they ticked a box saying so.
- Double opt-in. Shopify's Forms help mentions double opt-in only for SMS. For email, a confirmation mail is your choice: it cuts typos and fake signups at the price of fewer signups.
- Unsubscribe and deletion. Every email needs a working unsubscribe. Delete or anonymize old requests after the restock mail, and honor customer erasure requests.
FAQ
Does Shopify have a notify me button built in? We found no theme setting or admin feature for it in current Shopify documentation. A community poster says the Shop app has something like it; we found no official page, so test before you count on it.
Is it free? Method 1 has no app fee. Methods 2 and 4 depend on a plan, method 3 costs development time.
Does it work with preorders? A preorder that relies on "Continue selling" makes the variant available, which hides the notify button. Choose either a preorder or a waiting list per variant.
Which email should I send first? The restock email is the next step; see Back in stock email examples.
Questions about this guide? Contact us.