https://github.com/magesuite/back-in-stock-pwa-notifications
Complimentary module for Magesuite_BackInStock and Magesuite_PwaNotifications module. It allows receiving push notifications in user’s browser when a product is again in stock.
Installation
This module is optional
composer require "creativestyle/magesuite-back-in-stock-notifications" ^1.0.0
Admin settings
In order to allow customers to subscribe for push notifications go to:
Stores -> Configuration -> Magesuite -> PWA -> Permissions
Set Back in stock notification
to Yes.
Frontend
In the buybox additional button for subscribing to back-in-stock push notification is displayed.
Logged in users can disable all back in stock notifications in the admin panel: