Out of Stock Notification for Magento 2 extension allows customers and guests to sign up for out of stock products. The extension will automatically send to notification email to the list of subscribed customers when the product is back in stock.
2. How Does It Work?
2.1 General Config
Go to Stores ⇒ Configuration ⇒ BSSCommerce ⇒ Out of Stock Notification.
2.1.1 Product Alerts
In Enable, choose Yes to enable the extension or No to disable it.
In Allow Product Subscription for, select group to apply out of stock notification.
In Send Notification Based on Available Number of Product, choose Yes to allow sending notification email according to the number of items in stock. For example, if there are 15 people sign up for the out of stock notification for a product, but there are only 10 items available. The extension will send product alert for the first 10 people, the remaining 5 people will be put on the waiting list.
In Notification Message, enter a message to guide customers to fill in the email field.
In Limit Email Send per Customer, restrict the number of stock alert email sent to each customer.
In Send Mail When Quantity, send email to the customer only when product quantity reach meets this requirement.
In Stock Alert Email Template, choose the template of stock alert email.
InAlert Email Sender, choose the sender of the stock alert email.
2.1.2 Product Alert Run Settings
In Choose Type Cron, there are two ways to set the frequency of running cron job to send emails.
- Dropdown: On selecting dropdown cron type, there are various options available in Frequency. You can run cron daily/weekly/monthly.
Accordingly, out-of-stock notification emails will be automatically sent daily/weekly/monthly as set.
- Field: This option helps you send notification emails more flexibly without selecting Run cron now button.
In Frequency field, enter cron values in the following order:
*/1 * * * * = Minute Hour DayofMonth MonthofYear DayofWeek
Here, we set to run cron every minute. In other words, product alerts will be updated every minute.
In Start Time, set the starting time to send emails.
In Error Email Recipient, set email to receive error mail in case of cron job’s error.
In Error Email Sender, set email to send error mail in case of cron job’s error.
In Error Email Template, set an error email template.
*Note: Remember to enable displaying out of stock product.
Go to Stores Configuration
2.2 Manage Customer Subscription
BSSCommerce ⇒ Manage Customer Subscription.
Admin can manage stock subscription information of customer here, including customer name, email, product, send count (the number of times that stock email is sent to the customer), send date and status of the subscription.
*New Update: The extension has a new feature to export the list of customer subscriptions. You can find the Export button next above the Manage Customer Subscription Grid.
2.3 Set Stock Alert Email Template
Go to Marketing ⇒ Communications ⇒ Email Templates.
Click the Add New Template button to create the email template.
In Template, select Stock Alert.
Then click Load Template button.
You can modify the template by inserting variables in the Template Content.
Fill in all the required fields, and click Save Template button.
Then go back to the General Config Products Alert Stock Alert Email Template. You choose a new template you just created, and save the configuration.
2.4 Display Notify Button on Product Page and Category Page
2.4.1 Category Page
The Notify button is located under the Out of stock status when hovering on each product. You will be redirected to the product when clicking this button.
2.4.2 Product Page
Guest or not-logged-in customers fill in the email field and click Notify Me button to receive stock alert notification. A message will be shown as “Alert subscription has been saved” and a Stop Notify button appears to stop notification for that product if customer need.
For the logged-in customer, the email field will be automatically filled in.
2.5 Product Subscription tab on Customer Account Page
An additional tab called Product Subscription is included on the Customer Account Page of logged-in customers. The customer can check information of products that they have subscribed here, stop notification of any product and stop notification of all products.
2.6 Stock Alert Email
When the product is back in stock, the extension will automatically send notification email as set up in 2.1.
2.7 Work with Product Types
2.7.1 Simple Product
2.7.2 Configurable Product (Parent Product, Child Product)
2.7.3 Grouped Product (Parent Product, Child Product)
2.7.4 Bundle Product (Parent Product, Child Product)