DEV Community

Lars Roettig
Lars Roettig

Posted on • Originally published at larsroettig.dev on

2 3

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.)

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay