WALoops Back in Stock Notifications for WooCommerce

By Varni Infotech

0+ active installationsVersion 1.3.2

Let shoppers ask for one email or WhatsApp alert when an out-of-stock product is available again.

Description

Out-of-stock pages lose buyers. This plugin adds a Notify me button to out-of-stock WooCommerce products. The shopper leaves an email address or WhatsApp number, and gets one alert when the product is back.

Email, WhatsApp, or both

Turn on email, WhatsApp, or both. When both are on, the shopper picks one. Email alerts use your site’s normal WordPress mail. WhatsApp alerts are sent through WALoops with an approved message template.

Works with variable products

The form follows the variation the shopper picks, so a request for “Blue / Large” is sent only when that variation is back.

One alert, not a mailing list

Each request is for one product and one alert. Shoppers tick a consent box, and email shoppers get a confirmation with a link to cancel. Requests are never added to newsletter or marketing lists.

Never slows down your store

Restocking a product only marks the waiting requests. Alerts go out in small batches in the background with WP-Cron, with automatic retries if WhatsApp delivery fails for a temporary reason.

Spam protection

A hidden honeypot field and per-visitor and per-product limits stop bots from filling your list or sending alerts to random numbers.

Privacy

Requests are stored in your own WordPress database. They work with the WordPress personal-data export and erase tools, and the plugin adds suggested text to your privacy policy page.

Privacy and GDPR

Built for stores that sell to the EU and UK:

  • Opt-in, not pre-ticked. The shopper ticks a consent box for one alert about one product. It is not a marketing subscription.
  • One message, then done. Each request sends a single alert and is then closed.
  • Cancel link. Email requests get a confirmation email with a link to cancel.
  • Export and erase. Requests show up in WordPress’s own Export Personal Data and Erase Personal Data tools (Tools → Export / Erase Personal Data), matched by email and by the customer’s billing phone.
  • Privacy policy text. The plugin suggests a paragraph for your privacy policy (Settings → Privacy).
  • Email alerts stay on your site. Only WhatsApp alerts go through WALoops (see External services).

External services

This plugin connects to WALoops (app.waloops.com) only when WhatsApp alerts are used. Email alerts do not use any outside service.

  • Connecting: when you click Connect or create a WALoops account, your browser opens app.waloops.com with your site URL, site name and your admin email address so you can sign in or sign up. The plugin then exchanges a one-time code for an API key and a signing secret, sending your site URL and site name.
  • Templates: while WhatsApp is connected, the settings page asks WALoops for your approved message templates, sending your site URL and API key.
  • Sending an alert: when a product is back in stock, for each WhatsApp request the plugin sends the shopper’s phone number, the product name, the product link and a one-time delivery key to WALoops, which sends the WhatsApp message.
  • WALoops terms: https://waloops.com/terms — privacy policy: https://waloops.com/privacy-policy

Optional usage sharing: the plugin asks once whether you want to share your site URL, an anonymous site ID, and your WordPress, PHP and WooCommerce versions and locale with WALoops (app.waloops.com/api/plugin_events.php) when the plugin is activated or deactivated. It is off by default and nothing is sent unless you click Allow.

Trademarks

WhatsApp is a trademark of its owner. WooCommerce is a trademark of Automattic Inc. This plugin is made by WALoops and is not affiliated with, endorsed by or sponsored by WhatsApp, Meta or Automattic.

Installation

  1. Install and activate the plugin. WooCommerce must be active.
  2. Open Stock Alerts → Settings.
  3. Turn on email, WhatsApp, or both. For WhatsApp, click Connect or create a WALoops account and finish the connection.
  4. Set the button and form text, then save.

Requests show under Stock Alerts. As with other WP-Cron tasks, alerts are sent when the site gets visits or a system cron runs.

FAQ

Is this plugin GDPR-friendly?

Yes. Shoppers opt in themselves (the consent box is never pre-ticked), each request is for one alert only, email requests get a cancel link, and requests work with WordPress’s built-in personal-data export and erase tools. Whether your store as a whole meets GDPR also depends on your privacy policy and your other plugins.

Do I need a WALoops account?

Only for WhatsApp alerts. Email alerts work without any account.

Which WhatsApp number sends the alert?

By default, the WALoops number with the approved waloops_back_in_stock_alert template. On an eligible paid WALoops plan with your own connected number, you can pick one of your own approved templates that has exactly two variables: the product name and the product link.

Does it work with variable products?

Yes. The request is saved for the variation the shopper picked.

How do I stop spam requests?

It is built in. Developers can change the limits with the wlbis_ip_limit (default 5 requests per visitor per 10 minutes) and wlbis_product_daily_limit (default 200 requests per product per day) filters. The wlbis_batch_size filter sets how many alerts go out per cron run (default 10).

What happens when I delete the plugin?

Deleting the plugin removes its settings and all alert requests. Deactivating it keeps them.

Screenshots

Changelog

1.3.2

  • Fix: when both email and WhatsApp are on, the form shows only the field for the chosen option.
  • Improved: cleaner form design: channel switch, full-width fields, clearer buttons and messages.

1.3.1

  • Security: the alert form always verifies a nonce (fresh nonce fetched, so cached pages still work).
  • Privacy: usage sharing only after Allow; removed the deactivation feedback form.

1.3.0

  • New: confirmation email with a cancel link when a shopper asks for an email alert.
  • New: per-visitor and per-product request limits.
  • New: personal-data export and erase also find WhatsApp requests linked to the customer’s billing phone.
  • Fix: WhatsApp requests the server rejects for good are marked failed at once instead of being retried.
  • Fix: the form now works on fully cached pages for logged-out shoppers.
  • Fix: the database update runs without needing an admin visit.
  • Improved: code split into includes, admin and asset files; settings and table use the wlbis_ prefix and move over automatically.

1.2.0

  • New: WhatsApp alerts through WALoops, alongside email.