etechflow / module-back-in-stock-notification
Back-in-stock notification for Magento 2. Customer subscribes on out-of-stock product pages, gets emailed when stock returns. Anonymous + customer-linked subscriptions, multi-store aware, one-click unsubscribe, queued/rate-limited delivery. Standalone — works without any other ETechFlow module — and
Package info
github.com/etechflow/module-back-in-stock-notification
Type:magento2-module
pkg:composer/etechflow/module-back-in-stock-notification
Requires
- php: ~8.1.0||~8.2.0||~8.3.0||~8.4.0
- magento/framework: ^103.0||^104.0
- magento/module-backend: ^102.0||^103.0
- magento/module-catalog: ^104.0||^105.0
- magento/module-catalog-inventory: ^100.4||^101.0
- magento/module-config: ^101.2||^102.0
- magento/module-cron: ^100.4||^101.0
- magento/module-customer: ^103.0||^104.0
- magento/module-email: ^101.1||^102.0
- magento/module-store: ^101.1||^102.0
- magento/module-ui: ^101.2||^102.0
Suggests
- etechflow/module-backorder-eta-display: Optional. When installed, restock-on-backorder notifications include BED's per-product ETA in the email body — 'Back on Jun 12!' instead of just 'Back in stock!'.
- etechflow/module-in-store-pickup: Optional. When installed, customers can subscribe to a specific pickup-store's stock — 'notify me when back at my preferred store'.
- etechflow/module-next-day-eligibility: Optional. When installed, 'back in stock' uses NDE's eligibility rules engine — so a product that comes back in stock but is still next-day-ineligible (e.g., supplier drop-ship rule) doesn't fire spurious notifications.
README
Customers subscribe to out-of-stock products. When stock returns, they get an email.
Standalone-first — works on any Magento 2.4.4+ install without other ETechFlow modules. Integrates richer when paired with NDE / BED / ISP.
Install
composer require etechflow/module-back-in-stock-notification:^1.0
bin/magento module:enable ETechFlow_BackInStockNotification
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush
# Restart php-fpm to clear OPcache (mandatory on prod with opcache.validate_timestamps=0)
Activate the licence
php tools/generate-license.php --module=back-in-stock-notification --host=<your-domain>
Paste the key into Stores → Configuration → eTechFlow → Back-in-Stock Notification → License Key.
For multi-module customers, paste the bundle key into the Bundle License Key field instead. One key activates every ETechFlow module installed on the host.
Verify
bin/magento etechflow:bisn:verify
Twelve PASS lines means you're good to go.
How it works
- Customer hits an out-of-stock PDP → a "Notify me when back in stock" form replaces the disabled Add-to-Cart button.
- Form submit →
etechflow_bisn_subscriptionrow created. Anonymous (email only) or customer-linked. - Merchant saves stock with qty > 0 →
StockSaveObserverenqueues a notification for every subscription matching that product + store. - Cron runs every 5 min →
QueueConsumersends batched, rate-limited emails. Default 60 emails/minute. - Customer clicks the email → one-click unsubscribe (RFC 8058 compliant) OR goes to the PDP to purchase.
Configuration
Stores → Configuration → eTechFlow → Back-in-Stock Notification:
- License Key — per-module key (or use Bundle License Key for the suite)
- Module Enabled — toggle the whole feature
- Email Rate Limit — emails/minute (default 60). Adjust to your SMTP capacity.
- Subscription Lifetime — auto-expire unredeemed subscriptions after N days (default 180, 0 = never)
- eTechFlow Suite Integrations — NDE / BED / ISP opt-in toggles (hidden if the sibling module isn't installed)
- Notifications — sender email, sender name, email subject template
Compatibility
- Magento Open Source 2.4.4 – 2.4.8
- Adobe Commerce 2.4.4 – 2.4.8
- PHP 8.1 / 8.2 / 8.3 / 8.4
- Hyvä Theme + Hyvä Checkout (PDP form renders via Hyvä-safe block)
Support
info@etechflow.com — please include your license key + Magento version when reporting issues.