Yes, you can send back-in-stock and price-drop alerts with web push notifications. The simplest way is to notify subscribers who opted in on that product’s page when stock or price changes. For one-to-one alerts, your store must link each push subscription to the products a shopper asked about and trigger sends through an API.
Back-in-stock alerts are one of the few push messages people actually ask for. The shopper wanted the product, couldn’t buy it, and told you to come back. When I plan push for a store, I put these alerts ahead of generic promotions, because the intent is already there. The work is in the targeting, not the copy.
Key facts at a glance:
- Two models: a segment broadcast (everyone who subscribed on a product page) or a one-to-one alert (only shoppers who clicked “notify me”).
- Standards: web push uses the Push API and service workers, so it works without an app on Chrome, Edge, Firefox and Android, and on iPhone only for Home Screen web apps on iOS 16.4+.
- No email needed: the shopper only clicks Allow, so there’s no form to fill.
- Deep links: each alert should open the exact product page, not the homepage.
- Limits: keep text short and the payload under about 4 KB.
How do back-in-stock push alerts work?
A back-in-stock push alert is a web push notification sent when a product returns to stock, aimed at people who showed interest in it. The shopper subscribes to your site’s notifications, your store records which product they cared about, and your system sends an alert when inventory changes.
The flow has four parts:
- The shopper sees “Out of stock” and clicks a “Notify me” button.
- The browser shows the notification permission prompt, and the shopper allows it.
- Your store saves the push subscription along with the product ID or URL.
- When stock comes back, your store triggers a push that opens the product page.
The same logic covers price drops. The trigger is a price change instead of a stock change. Google’s web.dev push notifications overview explains the underlying subscribe-and-send model if you want the technical background.
Should you use a segment or a one-to-one alert?
Use a segment broadcast if you want it running this week with no custom code, and a one-to-one alert if you have developer time and high-value products. Here’s how they compare.
| Point | Segment broadcast | One-to-one alert |
|---|---|---|
| Who gets it | Everyone who subscribed on that product’s URL | Only shoppers who clicked “Notify me” for that product |
| Setup | Segment by subscribed URL in your push tool | Custom code linking subscriptions to product IDs |
| Precision | Medium; includes casual browsers | High; every recipient asked |
| Trigger | Manual or scheduled campaign | Store webhook or inventory event calling an API |
| Best for | Small catalogues, limited drops, restocks of popular items | Large catalogues, frequent restocks |
I usually start with the segment approach. It shows whether restock alerts get clicks before anyone builds custom integration. If they do, the one-to-one version is worth the effort.
How do you set up a segment-based restock alert?
A segment-based restock alert targets subscribers by the page where they subscribed. Most push tools record the subscription URL, so you can build a segment for one product page or a whole category.
- Add a clear prompt on out-of-stock product pages, such as “Get a restock alert”.
- Check that your push tool stores the subscribed URL for each subscriber.
- When the item returns, create a segment where the subscribed URL contains the product slug.
- Write a short notification with the product name, its image and a “Back in stock” title.
- Add the product page as the click URL, with UTM tags for tracking.
- Send it soon after the restock, while stock lasts.
For segmentation ideas, see how to segment push subscribers by location, device and behaviour. For tracking, read how to use UTM parameters on web push links.
How do you build one-to-one back-in-stock alerts?
One-to-one alerts need your store to store which subscriber asked about which product. That means custom work: a “Notify me” button that saves the subscription ID next to the product ID, and an inventory hook that sends only to those subscribers.
On WooCommerce, the stock status change is the natural trigger. On Shopify, inventory webhooks play that role. Your code then calls your push tool’s API, or sends directly to each saved subscription with a web push library. Either way, delete the record after the alert goes out, so the shopper isn’t pinged again for the same item.
If you sell on WordPress, my guide to push notifications for WooCommerce covers the store setup. For Shopify, see adding web push to a Shopify store.
What should a back-in-stock notification say?
A back-in-stock notification should name the product, state that it’s available, and give one action. Shoppers see these on a lock screen or in a corner of the desktop, so short beats clever.
| Element | Example | Tip |
|---|---|---|
| Title | Back in stock: Trail Runner 2 | Product name in the first 30 characters |
| Body | Your size is available again. Stock is limited. | Only say “limited” if it’s true |
| Image | Product photo | Same photo as the product page |
| Button 1 | Buy now | Opens the product page |
| Button 2 | View similar | Opens the category page |
| TTL | 24 to 72 hours | Old restock alerts are useless |
Action buttons work in Chrome and Edge on desktop and Android, but not everywhere, so the main click must make sense alone. See how to use CTA buttons in web push and MDN’s notes on notification actions.
How is this different from abandoned cart alerts?
Back-in-stock alerts follow a shopper’s request, while abandoned cart alerts follow a shopper’s unfinished action. Both use the same push channel, but the tone differs. A restock alert is news the shopper asked for. A cart reminder is a nudge, so it needs a lighter touch and a lower frequency. I covered the second case in abandoned cart reminders with web push.
Where LaraPush fits
LaraPush is a self-hosted web push panel you install on your own VPS. Its segmentation includes subscribed URL, device, browser, country and last visit, and campaigns support images, up to two CTA buttons and scheduling, so the segment-based approach works out of the box. URL and directory segmentation are part of the Premium Add-on, and the REST API has no call limits if you build one-to-one alerts. LaraPush doesn’t advertise a ready-made restock trigger, so plan for a small integration. The trade-offs: you run the server, the licence covers one server, and there’s no free plan. Prices start from $499 one-time; see LaraPush pricing and audience segmentation. For other options, see my ecommerce push software picks and the push services roundup.
Frequently asked questions
Yes. The shopper only needs to allow notifications in the browser. Your store saves the push subscription with the product they wanted and sends an alert when it returns. No email address or account is needed, which removes a form from the process.
Only in a limited way. Web push on iPhone and iPad needs iOS or iPadOS 16.4 or later and the site added to the Home Screen as a web app. Shoppers using a normal Safari tab can’t subscribe, so offer email or SMS alerts as a fallback.
Send it soon after stock returns, especially for items that sell out quickly. Set a time to live of one to three days so offline devices don’t receive an outdated alert later. If the item sells out again, stop the campaign.
Yes. The setup is the same, but the trigger is a price change instead of a stock change. State the new price clearly and avoid exaggerated urgency. Only send when the drop is meaningful, or shoppers will start ignoring the alerts.
Not for the segment approach, which uses a push tool’s subscribed-URL segmentation and a normal campaign. You do need a developer for one-to-one alerts, because the store must save which subscriber asked about which product and call an API when stock changes.




