DEV Community

Lars Roettig
Lars Roettig

Posted on • Originally published at larsroettig.dev on

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




Magento frontend with notify links

This feature is available in Magento 2 Open Source, Commerce and B2B

As Merchant, you can enable this feature for registered customers.It allowed subscribing to two types of alerts, first is price change alert, and the sound is in-stock alert.For each alert example, you can choose a different email template.

Allow show Display Out of Stock Products

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




Magento backend display out of stock products option

Enable Allow alert when product comes back in stock

Stores/Catalog/Catalog/Product Alerts/Allow Alert When Product Comes Back in Stock



Enable Allow alert when product comes back in stock

Optional Step

With the Frequency settings, it possible to change how often Magento checks for changes that require alerts sent to the subscribers.

Stores/Catalog/Catalog/Product Alerts Run Settings/Frequency

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 a Product Alerts sections in the Product Information panel that lists the customers who have subscribed to an alarm.




mail_backend

Links:

(This article was posted to my blog at https://larsroettig.dev. You can read it online by clicking here.)

Top comments (0)