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
Go to Stores > Configuration > Catalog > Inventory > Stock Options.
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.
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:
Go to Stores > Configuration > Catalog > Catalog > Product Alerts.
Allow Alert When Products Come Back in Stock: choose Yes to enable stock alert.
Stock Alert Email Template: choose the template to apply for product stock alert email.
Alert Email Sender: select the store contact as the sender of the stock notification email.
*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.