I have enabled and set it up so it runs on cron on my site. My question is in regards to configurable products:
1, Initially, configurable products are out of stock.
2, If a child product of a configurable product comes into stock, it changes the configurable product to in stock. I believe this runs every 5 mins.
=> It will only send out emails when you manually run the cron. If you don’t run the cron job manually it will not send out the emails for the configurable products.
We found that the part checking productType doesn't check if the product exists or not, so it gets exceptions and can't run the cron automatically as expected.
To resolve the issue, we edited the file app/code/Bss/ProductStockAlert/Model/StockEmailProcessor.php as below: