This is an old revision of the document!
Table of Contents
Magento 2 Back-in-Stock Notifications Extension User Guide
This user guide provides an overview of the Toweringmedia Backorder Extension for Magento 2 (``toweringmedia/module-backorder``). The extension allows customers to subscribe for back-in-stock notifications using email alerts and optional Twilio-powered SMS notifications.
Extension Overview
The Toweringmedia Backorder Extension enhances the Magento 2 shopping experience by enabling customers to request notifications for products that are currently out of stock or unavailable for purchase. When a product becomes available again, the extension automatically notifies subscribed customers through email and, optionally, SMS.
Built as a lightweight and Magento-native solution, the extension integrates seamlessly with both Luma and Hyvä themes. It is designed for merchants who want a simple yet effective restock notification workflow without depending on complex third-party marketing automation systems.
Product Information
- Product Name: Magento 2 Back-in-Stock Notifications Extension
- Module Name: toweringmedia/module-backorder
- Supported Magento Version: Magento 2.4.x
- Supported Themes: Luma and Hyvä
- Notification Channels: Email Alerts and Optional Twilio SMS Notifications
What This Extension Does
- Displays a subscription form on product detail pages when a product is not salable.
- Captures customer email addresses and optional phone numbers with explicit opt-in consent checkboxes.
- Processes subscriptions automatically through Magento cron jobs and sends notifications once product availability is restored.
- Supports email-based notifications and optional Twilio SMS alerts.
- Provides Admin configuration settings for email sender selection, email template management, Twilio credentials, and SMS testing tools.
Installation
Please refer to the official installation guide for step-by-step setup instructions:
Configuration
To configure the extension, navigate to:
Stores > Configuration > Toweringmedia > Back In Stock Notifications
Within the General section, you can enable or disable the extension, select the email sender identity, and choose the transactional email template used for back-in-stock notifications.
The SMS Notifications section allows you to enable Twilio-powered SMS alerts. Enter your Twilio Account SID, Auth Token, and either a Twilio From Number or a Messaging Service SID. You can also use the built-in Send Test SMS button to verify that your Twilio configuration is working correctly.
Make sure Magento cron jobs are properly configured and running in production mode so subscription processing and notification dispatching can execute automatically.
Customer Experience on Product Page
When a product is out of stock, the extension automatically displays a subscription form on the product detail page. Customers can enter their email address and optionally provide a phone number to receive SMS alerts when configured.
1. Back-in-Stock Subscription Form
The following example shows the subscription form displayed on an out-of-stock product page. Customers can subscribe for email notifications and optionally enable SMS notifications if SMS functionality has been configured in the Admin panel.
2. Successful Subscription Confirmation
After the customer submits the subscription form, a success message is displayed confirming that the customer will be notified once the product is back in stock.
Operational Checklist
After configuring the extension, perform the following checks to ensure the back-in-stock notification workflow is functioning correctly.
- Verify that the back-in-stock subscription block is displayed on out-of-stock or non-salable product pages.
- Submit a test subscription and confirm that a new subscription record is created successfully.
- Simulate inventory replenishment or change the product salability status in a staging environment, then verify that notification emails and/or SMS messages are delivered correctly.
- Review Magento and Twilio logs if notifications fail, including issues such as Twilio delivery rejections, invalid credentials, or missing phone numbers when SMS-only notifications are expected.
Troubleshooting
If you encounter issues while using the Back-in-Stock Notifications Extension, review the following common troubleshooting scenarios and recommended solutions.
- Subscription form does not appear: Flush Magento cache, redeploy static content if required, verify that the extension is enabled in Admin configuration, and confirm that the product is truly non-salable according to Magento MSI or bundle product rules.
- Email notifications are not sent: Check the configured email sender identity, verify the assigned email template, and confirm that Magento mail transport is working correctly. Also review SPF, DKIM, and DMARC records for your domain to improve email deliverability.
- SMS notifications are not delivered: Revalidate the Twilio Account SID, Auth Token, Twilio From Number, or Messaging Service SID configuration. Ensure customers have opted in for SMS notifications and use the Admin Send Test SMS feature to isolate configuration or delivery issues.
- Duplicate notifications are sent: Verify that Magento cron jobs are not running multiple times across different environments connected to the same database instance.



