
By: hulo.dev team
Agency
How to Add “Notify Me When Back in Stock” on Shopify
Sold-out products don’t have to mean lost sales. By letting customers sign up for back-in-stock alerts, you can turn product scarcity into retention and list growth — especially for limited collections, seasonal drops, or fast-moving inventory.
In this post, we’ll walk you through:
- How to set up a simple “Notify Me” system using Shopify + Klaviyo (no third-party apps required)
- What we built for Grover Rad, a fashion brand with an editorial feel
- When it makes sense to use an app instead
Why Back-in-Stock Alerts Matter
Done right, “Notify Me” buttons do more than inform — they:
- Capture demand while your product is out of stock
- Grow your email list with high-intent contacts
- Give you real data for inventory planning
- Build hype around product returns or relaunches
They’re easy to implement, lightweight, and can be styled to fit your brand.
Step-by-Step: Set Up “Notify Me” on Shopify with Klaviyo
Step 1: Add Conditional Display Logic in Your Theme
You'll need to show the form only when a product is sold out.
In your product.liquid
or main-product.liquid
, add:
{% raw %}{% if product.available == false %}
<!-- Embed your Klaviyo form or custom HTML form here -->
{% endif %}{% endraw %}
This ensures the form only shows up when no variants are in stock.
Note: If you're using Online Store 2.0 with section-based themes, use the same conditional inside a product-template.liquid
block.
Step 2: Set Up a Klaviyo Form with Product Info
Create a Klaviyo embedded form that:
- Collects the user’s email
- Passes the product name or variant ID as a hidden field
Use Klaviyo’s hidden inputs and JavaScript to dynamically populate values:
<input type="hidden" name="Product" value="{{ product.title }}">
Step 3: Build a Back-in-Stock Flow in Klaviyo
Once someone submits the form:
- Add them to a dedicated list or segment
- Set up an automated flow that triggers when you restock the product

Tips:
- Use product-based conditional splits if multiple items feed the same form
- Include the product image and link in the email for high conversion
When to Use an App Instead
If your team needs more automation or analytics, consider Shopify apps like:
Use an app if you want:
- Push / SMS notifications
- Admin-side dashboards
- Inventory-based automatic triggers
- Multi-location stock logic
Final Thoughts
For small to mid-sized stores, you can build an elegant back-in-stock flow using just Shopify + Klaviyo. No monthly app fees. No branding mismatch.
For design-forward brands like Grover Rad, this flexibility lets you stay in control — while turning sold-out moments into future revenue.
If you're not sure how to style or wire it all together, or want a hands-off solution that fits your brand — we can help. This is one of the simplest, highest-ROI features you can add to your Shopify store.
Need this kind of thinking inside your own build?
We help DTC brands turn these trends into real conversion wins — from subscription flows to zero-party quizzes and lightning-fast storefronts.