This simple module allows the store admins to view subscribers for out of stock notifications and allows add a stock notification for products in the product list page
- View subscribers that registered to receive out of stock notifications
- Turn on/off the notify stock button for product in product list page
- Turn on/off the notify stock button for product in product detail page
- Subscriber/un-subscriber for out of stock notifications on frontend
- Support Ajax and Login popup
Require the module
composer require eboosttech/magento2-stock-alertRun setup to install module
php bin/magento setup:upgradeRun comandline below to deploy
php bin/magento setup:static-content:deployYou can go to Eboost > Stock Notification Subscribers to view subscribers for out of stock notifications
- Go to
Eboost > Configurationto setup
- Go to
Product Alertssection and expand it
- Change
Allow Alert When Product Comes Back in Stock's value to turn On/Off the notify button. - Change "Display notify stock button in category page"'s value to turn On/Off the notify button on the category page.
- Change "Display notify stock button in product detail page"'s value to turn On/Off the notify button on the product page.
-
Click
Save Config -
Go to
Cache Management -> Flush magento cache -
Go to frontend and check
- Go to Marketing -> Email templates -> Add New Template
- Go to Eboost > Configuration -> Catalog-> Product Alerts section
- Select
Stock Alertoption -> clickLoad templatebutton
- Add a Name and code, HTMl, CSS for content -> click
Save templatebutton
-
Repeat from step 1 to step 4 if you want to create a custom template for
Price Alert -
Select the new template that you have just created above
Please do open a pull request on GitHub should you want to contribute, or create an issue.
BSD-4-Clause - Do as you wish 👍













