Enable Notify me when this product is in stock in Magento 2

By Lars Roettig10 December 2018 2 min read

This feature is available in Magento 2 OpenSource and Commerce Edtion. As Merchant, you can enable this feature for registered customers. It allowed subscribing to two types of alerts. The first is price change alert, and the sound is in-stock alert. For each alert type, you can choose the email template to use.


Allow show Display Out of Stock Products:

Stores — Catalog — Inventory — Display Out of Stock Products Option

image with step one

Step 2:

Enable allow Alert When Product Comes Back in Stock:

Stores — Catalog — CatalogProduct Alerts — Allow Alert When Product Comes Back in Stock

image with step two

Optional Step: Enable Product Alerts Run Settings:

Stores — Catalog — Catalog — Product Alerts Run Settings 

These settings will allow you to select how often Magento checks for changes that require alerts sent to the subscribers.

image from optional step

The in-stock alert setting creates a link called “Notify me when this product is in stock” for every product that is out of stock. Customers can click the link to subscribe to the alert. When the product is back in stock, customers receive an email notification that the product is available. Attention the Mail is only sent by the configured time (Magento cron job). Products with alerts have Product Alerts sections in the Product Information panel that lists the customers who have subscribed to an alarm.

image from alert config