WapifyDocs

Back-in-stock widget

The Notify me button on sold-out product pages — install it, style it, and place it where you want.

Premium Sneakers

EGP 1,250

Sold out
Notify me when available

Get a WhatsApp alert

We'll message you on WhatsApp the moment this is back in stock.

Your name
WhatsApp number
Notify me

Button on the product page, popup on tap. Every field label is editable from the theme editor.

The widget is what turns a sold-out product page into a waiting list. It's a Shopify theme app embed — no code, no theme file edits — and it appears automatically on products that are out of stock.

Installing it

  1. Open the Back in Stock automation

    Its Storefront widget section checks your published theme and reports the truth: "The widget is live on your published theme", or that it isn't enabled yet.

  2. Press "Enable widget in theme editor"

    Shopify's theme editor opens with the Wapify embed ready to switch on, under App embeds.

  3. Switch it on and save
  4. Press "Recheck" in Wapify

    The section should now read as live.

App embeds are per theme. If you switch themes or duplicate one, enable it again in the new theme — Wapify's check will tell you it's missing rather than leaving you to discover it.

If Wapify can't read your theme automatically it says so, and points you at the theme editor to check by hand. Some theme setups don't expose their configuration to apps.

Settings

All of them live in the theme editor, on the app embed.

SettingDefaultWhat it does
Button labelNotify me when availableThe text on the button that replaces Add to cart when a product is sold out.
Also ask for the customer's nameOnAdds a name field to the popup. A name makes the alert message personal; turning it off makes signup marginally faster.
Popup headingGet a WhatsApp alertThe heading inside the popup.
Popup textWe'll message you on WhatsApp the moment this is back in stock.The explanation under the heading. Say what they'll get and where.
Confirmation messageYou're on the list! We'll WhatsApp you when it's back.Shown after a successful signup.
CSS selector to place the button insideEmptyAdvanced. Leave blank and the widget places itself next to the Add to cart button, which works on most themes.

When the button appears

Only when Shopify reports the selected variant as unavailable. It follows the variant picker, so a product available in one size and sold out in another shows the button only on the sold-out variant.

If the button doesn't appear

The product isn't actually sold outCheck inventory tracking is on and the variant's quantity is zero. A product that allows overselling never reads as unavailable.
The embed isn't on the published themeThe most common cause, especially after a theme change. Recheck from the automation card.
The theme lays out product pages unusuallyUse the advanced CSS selector setting to name the element the button should be placed inside — usually the container around the Add to cart button.
A theme customisation hides itSome heavily customised themes replace the whole buy-button area. The selector setting is the fix here too.

What happens after signup

  1. The subscriber is recorded

    Phone number, product, and the date. Visible in the automation's subscriber list, with a live count of everyone waiting.

  2. You restock

    Inventory crosses from zero to positive in Shopify.

  3. Everyone waiting is messaged

    After your configured delay — 5 minutes by default, so an accidental inventory change doesn't trigger a blast.

  4. They're removed from that product's list

    Each subscriber is messaged once per product. Restocking again later only messages people who signed up since.

Customers hand over their phone number explicitly, for a stated purpose, on a form that says what they'll receive and where. That's the consent basis for the alert. The number is used for the restock alert and becomes part of your campaign audience — so it's worth keeping the popup text accurate about what you'll send.

The subscriber list is also a demand signal you can't get any other way: a ranked list of what customers want to buy from you and can't. Use it to decide what to reorder, not just who to notify.