Back-in-stock emails
A sold-out product does not have to be a dead end. The customer leaves their email address under the Sold out button, and when you have restocked you send them one email saying it is back - then their address is gone.
A Bang! Cart Pro feature, from Pro 1.4.0. It works with free 3.8.0 or newer.
Switching it on
- On the Emails tab, find Back in stock (below your order emails) and tick Offer "Email me when it's back" on sold-out products.
- Word the email if you like: a subject, a heading and a message. Use
{product}for the product's name and{shop}for yours - click either to copy it. Leave a box empty to keep the wording shown in it. - The live preview beside the boxes changes as you type, with the product and shop names filled in. Press Send a test to me to see it in your own inbox. It sends the wording as it is in the boxes, saved or not, without saving anything or reloading the page, and a line beside the button says where it went.
Until you tick the box nothing changes anywhere: a sold-out product just says Sold out, and nobody's address is collected.
What the customer sees
Under a sold-out button, a link: Email me when it's back. Pressing it opens a small box for their email address, with one line saying exactly what happens - "We'll email you once when it's back in stock, then delete your address" - and a link to your privacy page (the one you set under Policy pages on the General tab under Settings). They press Notify me and are thanked by name.
Nothing is shown while your shop is closed.
Sizes and colours
Somebody who wants the small red T-shirt wants to hear about the small red T-shirt, not the shirt. So on a product with variants, each sold-out combination has its own list. With the feature on, a sold-out variant can still be chosen - shown crossed through, and "Small - sold out" in a dropdown - and choosing it turns the button to Sold out with a link for exactly that one: Email me when Small / Red is back. Choose a size that is in stock and the button is back to normal.
With the feature off, a sold-out variant cannot be chosen at all, exactly as before.
Seeing who is waiting
On the Products page, a product with people waiting shows 3 WAITING in its header. The pill turns green once the product is back in stock and ready to email, so you can spot it without opening every product. On a variants product, each variant's row in the table shows its own count.
Open the product and the waiting box says where things stand: still sold out ("Add stock and save, then you can email them"), or back ("It's back - 12 in stock").
See who's waiting lists every address with the date and time it was left, newest first.
Sending is your decision
Nothing is ever sent because a stock figure changed. A mistyped count must never email a list. When you have added stock and saved, the waiting box turns green and Email the 3 waiting wakes up. Press it, answer Yes, email them, and:
- everyone waiting on that product - or that one variant - gets one email;
- the first ten go straight away and the rest follow in the background, so a long list cannot slow your site;
- each address is deleted as its email is sent, so pressing twice cannot send twice;
- you can follow it in the Email delivery log on the Emails tab.
The email uses the same design, logo and colours as your order emails: your heading and message, the product's picture, name and price (and the variant, if there is one), a Buy it now button back to the page they signed up on, and a fixed last line - "We've sent this once because you asked, and we've now deleted your email address."
Keeping bots out
A sign-up form on a public page will be found by bots. Several defences work together, and none of them asks the customer to do anything:
- a hidden field only a bot fills in, and a check that the form was not sent faster than a person can type;
- a limit on how many sign-ups one connection can make in ten minutes;
- each address only once per list, and at most 2,000 waiting on any one list;
- no email is sent at sign-up, so the form cannot be used to mail strangers.
A bot that is caught is answered exactly as a real customer would be, so it learns nothing about what gave it away.
Nobody is ever turned away without a word. If a list does reach 2,000 - in practice, only a bot flood does that - the next customer is told plainly that the list is full right now, and the product shows an amber LIST FULL pill on your Products page. Delete the possible spam and it takes names again.
Possible spam
Anything that slips through is flagged POSSIBLE SPAM in the list - a burst from one visitor, or a run of near-identical addresses like qx81@, qx82@, qx83@. The flag only marks them. Nothing is removed until you say so: press Remove beside one address, tick a few, or press Select possible spam to tick the flagged ones, then Delete selected. Every delete asks first, right there on the page - Yes, delete or No - and there is no one-click "clear the list", so twenty real customers are never lost to a stray press.
Privacy
The customer asked for this one email, so in the UK and EU no extra tickbox is needed: typing an address and pressing Notify me, under a line saying exactly what will happen, is a clear yes. The address is used once and then deleted. It is never added to a mailing list or used for anything else, and the email carries no discount codes or other products, so it stays the single message they asked for. Only administrators can see the list. Uninstalling the plugin deletes every address still waiting.
If Bang! Cart Pro is ever deleted, the waiting addresses go with it when the General tab's If Bang! Cart is deleted choice is Remove everything; with Keep my data they stay for a reinstall.
You may want a sentence about it in your privacy policy. Something like: "If you ask us to tell you when a sold-out product is back, we keep your email address until we send that one email, then delete it."
Next
Variants covers per-variant stock; Emails covers the design this email shares with your order emails.
Still stuck?
Write to me and it is me who answers, not a ticket queue. Tell me what you expected and what happened instead.


