...
4.4.Back-In-Stock Subscriptions
Advantages over a native Magento solution
Magento has its own back-in-stock functionality, however using Magesuite module comes with some advantages:
support for guest users, the native solution requires login
push notifications support (with BackInStockPwaNotifications (optional) module)
counting of the return to stock uses a message queue based on actual salable quantity taking into account reservations just after data update in inventory
counting of the return to stock is not done by cron but "almost live"
in combination with swatchenator module (Swatchenator (optional) ) correct support for simple products in configurable and grouped product
Admin settings
In order to activate this module go to:
...
In the buybox short form for subscribing to back-in-stock email notifications is displayed.
...
When confirmation is required there is a message visible and email is being sent:
...
When confirmation is not required success message is displayed:
...
Logged-in users can unsubscribe from all back-in-stock notifications in the admin paneltheir dashboard:
...
Once a product is back in stock every subscriber will be notify notified by email. This action can be also triggered manually for every product on it’s its page in the admin panel.
Backend
Queue setup
...
Code Block |
---|
bin/magento queue:consumers:start magesuite.consumer.db
|
magesuite.consumer.amqp
:
Code Block |
---|
bin/magento queue:consumers:start magesuite.consumer.amqp |
...