How to Enable Stock Alert and Display Out of Stock Product in Magento 2

Stock management is always one of the biggest concerns of store owners. When the product is temporarily out of stock, how can store owner notify customers about this stock status and encourage them to come back to buy when the item is back in stock? This tutorial blog will guide you to display out of stock products and enable stock alert email in Magento 2.

How to Display Out of Stock Products in Magento 2

magento 2 display out of stock product

Go to Stores > Configuration > Catalog > Inventory > Stock Options.

how to display out of stock product in magento 2

Display Out of Stock Products: Choose Yes to enable displaying out of stock products in the frontend.

In order to enable the stock alert function of Magento 2, you need to enable this config first.

How to Enable Stock Alert Email in Magento 2

When the product is temporarily unavailable, a link called “Notify me when this product is in stock” will be displayed in place of Add to Cart button. Customer can click this link to subscribe for the product stock alert and get notification email when the subscribed item is back in stock.

magento 2 enable product stock alert Customer can sign up for stock alert notification

This function helps admin know which products are highly demanded and quickly refill stock with the products that customer want to buy. Admin can understand customer preference and provide better service for their target customers. However, the stock alert function is only available for logged-in customer by default. Guest users or not-logged-in customers won’t be able to sign up for product stock alert.

Here are 4 simple steps to enable product stock alert function in Magento 2:

Step 1:

Go to Stores > Configuration > Catalog > Catalog > Product Alerts.

magento 2 set stock alert email notification How to set up product stock alert

Allow Alert When Products Come Back in Stock: choose Yes to enable stock alert.

Step 2:

Stock Alert Email Template: choose the template to apply for product stock alert email.

Step 3:

Alert Email Sender: select the store contact as the sender of the stock notification email.

Step 4:

Save configuration.

*Please note that the message “Notify me when this product is in stock” appears only when you enable displaying out of stock product.

I hope this post can help you to manage stock and enable product stock alert easily. In case you want more advanced stock alert functions than the default, BSSCommerce has developed Out of Stock Notification for Magento 2 extension.

magento 2 out of stock notification extension

 MAGENTO 1 EXTENSION MAGENTO 2 EXTENSION WEBSITE DEVELOPMENT SERVICE

Leave a Reply