Hello,
The customer just notify me that product stock notifier is not working (module: product stock).
1. If you visit product in private (under 1.). You will notice it’s a variable product. 1000 pcs are set to “out of stock” and 300 pcs are on stock. The problem is that it’s not showing the “out of stock” notification instead it shows “in stock” but it’s not.
2. I have a code in functions.php that always chooses the first variation so that the add to cart button stays active.
3. If you check in private under 3. you will see a product that is also not in stock but the notification shows just fine.