Your Out-of-Stock Products Are Driving Customers to Competitors
Every time a shopper lands on an out-of-stock product page in your Magento 2 store, you lose control of what happens next. They cannot buy. They cannot subscribe. They leave — and research from Klaviyo and Shopify shows that 30-40% of those visitors will find the same product on a competitor's site within 24 hours.
The scale of the problem is larger than most store owners realize. Magento 2's default behavior for out-of-stock products offers two options: show the product page with a grayed-out "Out of Stock" label and no action button, or hide the product entirely. Neither option captures the intent of a shopper who wanted to buy. If you run a store with 2,000 SKUs and experience seasonal stockouts affecting 10-15% of your catalog at any given time, you are turning away potential buyers on 200-300 products every single day.
The Baymard Institute's ecommerce benchmark data shows that 8% of cart abandonments happen because an item is out of stock. That percentage sounds modest until you apply it to your traffic: a store with 10,000 monthly visitors and a 3% conversion rate loses roughly 240 potential orders per month to stockout abandonment alone. At an $85 average order value, that is over $20,000 in monthly revenue walking out the door.
The fix is not to carry more inventory. Overstocking ties up capital and creates its own set of problems — warehousing costs, markdowns, and dead stock. The fix is to capture demand at the moment it occurs and re-engage the customer when inventory returns. That is exactly what a back-in-stock notification system does.
What Is Out of Stock Notification (and Why Your Magento 2 Store Needs It)
A back-in-stock notification system lets customers subscribe to an alert when a product they want is unavailable. When inventory replenishes, the system automatically sends an email to every subscriber with a direct link to the product page. The customer clicks, adds to cart, and completes the purchase.
Magento 2 has a native product alert feature buried in its core, but it comes with significant limitations. The built-in alert requires customers to create an account and log in before they can subscribe — there is no option for guest signups. The native alert emails are basic, unstyled text templates that do not include product images or direct add-to-cart links. There is no admin interface to manage subscriptions, no analytics on which products generate the most interest, and no way to control batch processing or auto-cleanup. Most Magento 2 merchants who try the native feature abandon it because the subscription rates are too low to justify the effort.
The psychology behind stock notifications is worth understanding. When a customer encounters an out-of-stock product, they experience a mild form of scarcity-driven desire — the product must be good if it is sold out. Research in consumer psychology shows that perceived scarcity increases purchase intent by up to 50%. A visible "Notify Me When Available" button captures that intent at its peak. The customer has already made a micro-commitment by entering their email address. When the notification arrives days or weeks later, that commitment resurfaces, and the click-through rate on back-in-stock emails consistently outperforms promotional emails by a factor of three to four.
Stores that implement back-in-stock notifications typically recover 5-15% of what would otherwise be lost stockout sales. The variance depends on your catalog turnover rate, how quickly you replenish inventory, and how compelling your notification emails are. For seasonal or high-demand products — limited-edition sneakers, electronics launches, craft brewery releases — the recovery rate can exceed 20%.
This extension is not the right fit if your store carries commodity products that are always in stock with low demand variability, or if you replenish inventory so quickly that stockouts last less than a few hours. It is designed for stores that experience regular or seasonal stockouts lasting days or weeks, and where individual product demand justifies the effort of notification.
Key Features of MageRa Out of Stock Notification for Magento 2
MageRa Out of Stock Notification replaces Magento 2's limited native alerts with a complete subscription and notification system. Every feature is designed to maximize subscription rates and convert those subscriptions into sales.
Guest Subscriptions. Visitors do not need an account to subscribe. When an out-of-stock product is displayed, the extension shows an email input field and a "Notify Me When Available" button directly on the product page. Guest visitors enter their email and subscribe in one click. This removes the single biggest barrier to subscription — forced account creation — and typically triples subscription rates compared to the native Magento 2 alert system.
Automatic Email Notifications. When stock replenishes, the extension sends notification emails immediately to all subscribers for that product. Each email includes the product name, product image, a direct link to the product page, the current available quantity, and an unsubscribe link. Emails are sent using Magento 2's native email transport, so they work with any configured SMTP, SendGrid, Mailgun, or Amazon SES integration.
Batch Processing. When a popular product comes back in stock with hundreds of subscribers, sending all notifications at once can overwhelm your email server and trigger spam filters. MageRa Out of Stock Notification processes notifications in configurable batches — for example, 50 emails per batch with a pause between batches. This ensures reliable delivery without straining your server resources.
Admin Subscription Management. The admin panel gives you full visibility into every subscription. Navigate to the Stock Alerts grid to see which products have the most subscribers, which customers are waiting, and how many notifications have been sent. You can export subscription data as CSV files for CRM import, manually remove subscriptions, and view individual subscription details. This is critical for understanding demand patterns — if a product has 500 pending subscriptions, that is a strong signal to prioritize restocking.
Analytics Dashboard. A built-in analytics dashboard tracks subscription volume over time, top out-of-stock products by subscriber count, notification delivery rates, and click-through rates. This data helps you make informed inventory decisions. If you see a product accumulating subscribers faster than your reorder timeline can accommodate, you know to adjust your supply chain. For deeper store-wide analytics, you can connect this data with the MageRa Advanced Analytics extension.
Screenshot of the MageRa Out of Stock Notification admin configuration panel in Magento 2, showing general settings, notification configuration, subscription statistics, and analytics dashboard.
Customizable Email Templates. The notification email template is fully customizable through Magento 2's transactional email system. You control the sender identity, subject line, email body layout, and included variables. Available template variables include customer name, product name, product URL, product image, current stock quantity, and unsubscribe URL. You can create multiple templates for different store views — a concise template for mobile-first shoppers and a detailed template with cross-sell recommendations for desktop users.
Auto-Cleanup. After a notification is sent, the subscription record has served its purpose. The extension automatically removes or archives notified subscriptions based on your configuration. You can set subscriptions to auto-expire after a specified number of days, or auto-remove them once the notification email has been sent. This keeps your database clean and ensures that stale subscriptions do not clutter your admin grid or trigger duplicate notifications.
Duplicate Prevention. The extension enforces one subscription per product per email address. If a customer tries to subscribe twice, the system recognizes the existing subscription and displays a friendly message instead of creating a duplicate record. This applies to both logged-in customers and guest subscribers.
Multi-Website Support. If you run multiple Magento 2 stores or store views, subscriptions are tracked independently per website. A customer subscribed on Store A does not receive notifications for Store B, even if both stores carry the same product. This prevents cross-store confusion and lets you manage inventory and notifications separately for each storefront.
Screenshot showing the MageRa Out of Stock Notification "Notify Me When Available" button and email subscription form on an out-of-stock product page in the Magento 2 storefront.
How to Set Up Out of Stock Notification in Magento 2
Step 1: Verify Stock Alert Requirements
Before installing, confirm that your Magento 2 cron jobs are running correctly. The notification system depends on cron to detect inventory changes and trigger batch email processing. Run php bin/magento cron:run and check var/log/magento.cron.log for errors. Also verify that your Magento 2 email transport is configured and working — send a test email from Stores > Configuration > General > Store Email Addresses to confirm delivery.
Step 2: Install the Extension
Install via Composer (recommended):
composer require magera/module-outofstocknotification
php bin/magento module:enable MageRa_OutOfStockNotification
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
For manual installation, upload the extension files to app/code/MageRa/OutOfStockNotification/ and run the same setup commands starting from module:enable.
Requirements: Magento 2.4.6 or higher (compatible through 2.4.9), PHP 8.3, 8.4, or 8.5, and Composer 2.x. The extension builds on Magento's native Catalog, Customer, and Product Alert modules.
Step 3: Configure General Settings
Navigate to Stores > Configuration > MageRa > Out of Stock Notification > General Settings. Set "Enable Out of Stock Notification" to Yes. Toggle "Allow Guest Subscriptions" to Yes — this is the single most impactful setting because it removes the account requirement and typically triples your subscription volume. If you want to restrict subscriptions to registered customers only, set this to No.
Step 4: Configure Notification Settings
This section has just four fields, so configuration is quick. Set the Email Template used for notifications (a dropdown of registered transactional templates), and set the Email Sender identity from the standard Magento sender list (General, Sales, etc.) — match it to your store's contact identity to avoid spam filtering. There is no separate cron for sending: the extension listens to the catalog_product_save_after event through the ProductSaveAfterObserver. When a product saves and its stock status flips from out-of-stock to in-stock, the observer immediately notifies every subscriber for that product, so alerts go out the moment you restock.
Step 5: Manage Subscriptions
The remaining setting, Allow Guest Subscriptions, was covered in Step 3 and is the lever that decides whether guests can sign up. To review who has subscribed, go to Marketing > Out of Stock Notification > Manage Subscriptions (action outofstocknotification/subscription). The grid lists each subscription with its product and email, and supports single-row delete and a mass-delete action for cleanup. On the storefront, subscribing posts product_id and email to outofstocknotification/subscription/add, which validates the email and rejects duplicates ("This email is already subscribed to this product"); unsubscribing posts a subscriber_id to outofstocknotification/subscription/remove.
Step 6: Test the Full Flow
Before going live, test the complete subscription cycle. Set a test product to out of stock. Visit the product page as a guest and confirm the "Notify Me" form appears (with Allow Guest Subscriptions set to Yes). Enter your email and subscribe, then confirm the row appears under Manage Subscriptions. Now edit the product and bring it back in stock — saving the product triggers the observer. Confirm the notification email arrives with the correct product details and that the unsubscribe action works.
MageRa Out of Stock Notification for Magento 2
MageRa Out of Stock Notification is purpose-built for Magento 2, supporting versions 2.4.6 through 2.4.9 on both Open Source and Commerce editions. It requires PHP 8.3, 8.4, or 8.5 and integrates directly with Magento 2's native inventory, Product Alert, and email systems — no external services, no API keys, no third-party dependencies.
The extension differentiates itself from Magento 2's native product alerts in three key areas. First, guest subscriptions eliminate the account requirement that suppresses subscription rates on the native system. Second, the admin management interface provides full visibility into subscriber data — the native system offers no management grid at all. Third, the analytics dashboard turns subscription data into actionable inventory insights, something neither the native alerts nor most competing extensions provide.
The email system is fully integrated with Magento 2's transactional email engine. Every template is editable, every sender identity is configurable, and every email respects your store's SMTP or mail transport configuration. Batch processing handles high-volume scenarios without overwhelming your server. Auto-cleanup prevents database bloat over time.
Compatibility: Magento 2.4.6, 2.4.7, 2.4.8, 2.4.9 (Open Source and Commerce). PHP 8.3, 8.4, 8.5.
Visit magera.ca/magento-2-out-of-stock-notification.html for full documentation and live demos.
5 Tips to Maximize Back-in-Stock Sales
Installing the extension is the first step. These five strategies will help you extract the maximum revenue from your stock notification system.
1. Always enable guest subscriptions. This is worth repeating because the impact is so dramatic. Stores that switch from registered-customer-only subscriptions to guest-enabled subscriptions see a 200-300% increase in subscription volume within the first month. The reason is simple: most shoppers are not ready to commit to an account creation flow when they encounter an out-of-stock product. They are willing to type an email address. That small action captures their interest and gives you a channel to re-engage them later.
2. Customize your email template to include cross-sell products. The notification email already includes the product the customer wanted. Adding one or two related in-stock products below the main notification gives the customer an immediate alternative if the original product's price or timing no longer fits. This is especially effective for apparel and accessories stores where product coordination drives additional purchases. Edit the email template under Marketing > Email Templates and add a curated product block.
3. Monitor your analytics dashboard weekly. The subscription data tells you which products have the highest unmet demand. If you see a product with 200+ pending subscriptions, that product deserves priority in your next reorder cycle. If you see products with high subscription counts and slow restock timelines, consider setting up a MageRa Pre Order system alongside the notifications — let customers pre-order while you capture additional interest through the notification list.
4. Set a quantity threshold for notifications. If a product comes back in stock with only 2 units and you have 150 subscribers, sending 150 notifications for 2 available units creates a poor customer experience — 148 people will click through to find the product out of stock again. Configure the extension to send notifications only when stock reaches a meaningful threshold relative to your subscriber count. This improves customer satisfaction and reduces unsubscribe rates.
5. Keep notification emails short and action-oriented. The subject line should clearly communicate that the product is back in stock. The email body should show the product image, name, and a prominent "Shop Now" button above the fold. Skip the promotional banners, newsletter signups, and social media links — those belong in your marketing emails. A back-in-stock notification is a transactional message with one purpose: get the customer to the product page. Keep it focused.
Wrapping Up
Out-of-stock products are inevitable in ecommerce. What is not inevitable is losing those customers permanently. A back-in-stock notification system captures demand at the moment it occurs, stores it, and converts it into a sale when inventory replenishes — automatically, without manual intervention from your team.
MageRa Out of Stock Notification for Magento 2 handles the full lifecycle: guest subscriptions on the product page, batch email processing when stock returns, admin management and analytics for demand visibility, customizable email templates for brand consistency, and auto-cleanup to keep your data lean. Stores that implement back-in-stock notifications recover 5-15% of stockout-lost revenue on average, with seasonal and high-demand products seeing recovery rates above 20%.
Stop sending customers to your competitors when products sell out. Install MageRa Out of Stock Notification for Magento 2 and turn stockouts into future sales.
FAQ
Q1: Can guest customers subscribe to stock alerts without creating an account? Yes. MageRa Out of Stock Notification includes a guest subscription feature that displays an email input field directly on the out-of-stock product page. Visitors enter their email address and click "Notify Me When Available" — no registration, no login, no form beyond a single email field. This is the default behavior when "Allow Guests" is enabled in the configuration. The extension stores the guest email alongside the product ID in the subscription database and sends the same notification email that registered customers receive when stock returns. You can also use this as a soft lead-generation mechanism — guest subscribers who click through from the notification email are already engaged with your brand and may create an account during checkout.
Q2: How does batch processing work for high-volume notifications? When a popular product comes back in stock, the extension does not send all notification emails simultaneously. Instead, it processes subscriptions in configurable batches — for example, 50 emails per batch with a configurable pause interval between batches. This prevents your email server from being overwhelmed and reduces the risk of triggering spam filters or hitting your SMTP provider's rate limits. Batch processing runs through Magento 2's cron system, so it operates in the background without impacting storefront performance. Notification delivery is managed under Stores > Configuration > MageRa > Out of Stock Notification.
Q3: What happens to subscriptions after the notification email is sent? By default, subscriptions remain in the database with a "Notified" status so you can track historical subscription data. If you enable the auto-cleanup feature, the extension automatically removes or archives subscriptions after the notification is sent, keeping your database lean. You can also configure a maximum subscription age — for example, auto-expire subscriptions older than 90 days regardless of notification status. This prevents stale subscriptions from cluttering your admin grid and ensures that notifications only go to customers who are still interested. The extension enforces one subscription per product per email address, so duplicate notifications are never sent regardless of cleanup settings.
Internal Links
- /blog/magento-2-pre-order-upcoming-products (Pre Order — capture advance orders for products before they arrive in stock)
- /blog/one-step-checkout-magento-2-conversion-rates (One Step Checkout — convert back-in-stock click-throughs faster with a single-page checkout)
- /blog/magento-2-advanced-analytics-data-driven-commerce (Advanced Analytics — combine stock alert data with store-wide analytics for demand forecasting)
Comments (0)
Be the first to comment.