Back-in-Stock Alerts for WooCommerce Variable Products
How to handle sold-out sizes and variations in WooCommerce without losing the sale: alternative-option nudges, consent, timing and alert emails that convert.
By Go Top Plugins team · · 6 min read
A shopper finds the perfect product, picks their size, and sees “Out of stock”. What happens next decides whether you make a sale today, a sale next month, or no sale at all.
For simple products the answer is straightforward: offer a back-in-stock alert. Variable products are different. When one size or color is sold out, others often are not, and the way you present that moment matters more than most store owners realise.
Why sold-out variations cost more than you think
On a variable product, “out of stock” usually means one option is out of stock. The 30 ml bottle is gone, but the 50 ml is on the shelf. The medium is gone, but the large fits most people who wanted the medium.
Many waitlist plugins treat every sold-out variation the same way: the moment the shopper selects it, they show a form that says “Email me when available”. That message is helpful when nothing else is available. When another option is ready to ship, it quietly invites the shopper to wait instead of buying. Some of those shoppers will come back when the alert arrives. Many will not: they buy elsewhere, change their mind, or forget.
The better pattern is to treat the sold-out moment as a fork in the road and show both paths, with the in-stock path first.
Pattern 1: point to the option that is in stock
When a shopper selects a sold-out variation and at least one other variation is available, show a short message and one-tap buttons that switch the selection:
30 ml is sold out right now. Available now: 50 ml · $79
This does three things:
- It confirms clearly that the chosen option is unavailable, so there is no confusion at checkout.
- It surfaces the alternative with its price, so the shopper can decide without opening the dropdown again.
- It keeps the shopper on the buying path, with the alert still available as a secondary option.
This works best when the alternative is a genuine substitute: a different size of the same perfume, a different color of the same shirt. It is less useful when options are not interchangeable, such as a shoe size two sizes away. Let shoppers dismiss the suggestion and still sign up for the alert.
Pattern 2: a clean alert form when everything is sold out
When every variation is sold out, there is nothing to nudge toward. Now the alert form is the main action, and it should be simple:
- An option picker, so the shopper chooses which size or color they want to hear about.
- An email field, and optionally a phone field if you send SMS.
- A clear, unticked consent checkbox with a link to your privacy policy.
- One button.
Keep it close to where the add to cart button normally sits. Shoppers look there first.
Get consent right
Back-in-stock alerts are transactional in spirit, but in many jurisdictions they still involve storing personal data and sending commercial email. Practical rules that keep you on safe ground:
- Use an unticked checkbox. Pre-ticked consent boxes are not valid consent under the GDPR.
- Say exactly what you will send. “Email me once when this item is back in stock” is clearer than a vague marketing promise.
- Do not quietly add alert sign-ups to your newsletter. If you want marketing consent, ask for it separately.
- Delete old data. If an item never comes back, there is no reason to keep the email address forever. Set a retention period.
- Support data requests. WordPress has built-in personal data export and erase tools. Your alert plugin should hook into them.
Requirements differ by country (the GDPR in Europe, CAN-SPAM in the US, Israel’s Spam Law and others), so check the rules that apply to your store, and ask a lawyer if you are unsure.
Send the alert at the right moment
The alert is only useful if it goes out quickly and only once per sign-up. Things to check in any setup:
- Stock changes from imports and sync tools. Many stores update stock through a CSV import, an ERP or a marketplace sync rather than by hand. Make sure alerts fire when stock changes that way, not only when someone edits the product in WordPress.
- Batch sending. If 500 people are waiting for a restock, sending 500 emails in one request can time out or trip your mail provider’s limits. Sending in batches through a background queue such as WooCommerce’s Action Scheduler is more reliable.
- Restock quantity. If you restock 10 units and 500 people are waiting, consider whether to notify everyone at once. First come, first served is the most common approach, but be aware that many shoppers will find the item sold out again.
Write an alert email that converts
The back-in-stock email has one job: get the shopper back to the product page while the item is available. Keep it focused.
- Subject line: name the product and option. “Amber Noir 50 ml is back in stock” beats “Good news!”.
- Body: a product image, the option they asked for, the price, and one button that links straight to the product with that option selected.
- Language: if your store is multilingual, send the email in the language the shopper used when signing up.
- Styling: use your store’s email template so it looks like every other email from you, not like a third-party service.
Avoid stuffing the email with other products. A short “You might also like” row is fine; a full newsletter is a distraction.
Measure what alerts are worth
It is easy to set up alerts and never look at them again. A few simple numbers tell you a lot:
- Most-wanted products. Which products and variations have the most people waiting? This is direct demand data for purchasing decisions.
- Waiting per product. Seeing a “Waiting” count next to stock levels helps decide what to reorder first.
- Alert-to-order rate. How many alerts led to a click and an order? This is the number that justifies the effort.
Even without full attribution, the most-wanted list alone often changes what a store reorders.
Keep it fast and cache-friendly
Product pages are the pages you most want cached. A back-in-stock form should not add per-visitor content to the page, because that forces page caches to bypass or vary by visitor. Render the same markup for everyone, and handle the sign-up with a request that is never cached.
Also check the basics: the form should be fully usable with a keyboard, labelled for screen readers, readable on a phone, and protected against spam with a honeypot field and rate limiting rather than an intrusive CAPTCHA.
A quick checklist
- On variable products, show in-stock alternatives before the alert form.
- When everything is sold out, show a simple form with an option picker.
- Use an unticked consent checkbox and link your privacy policy.
- Make sure alerts fire on stock changes from imports and sync tools.
- Send in batches, once per sign-up, in the shopper’s language.
- Review your most-wanted products every month.
- Keep the product page cacheable and accessible.
How Stockbell approaches this
We built Stockbell around the first pattern: when a shopper picks a sold-out option and another is in stock, it shows the available options with one-tap buttons before offering an alert. When everything is sold out, it shows a clean form with an option picker and an unticked consent checkbox. Emails go through the WooCommerce mailer in batches, and a “Most wanted” report shows what shoppers are waiting for. You can read the setup steps in the Stockbell docs.
If your shoppers also save products for later, a wishlist with opt-in restock emails covers a related case: see Heartlist.