Show In-Stock and Sold-Out notifications
The Woocommerce Stock Status Component can be used to trigger notifications on a product page based on whether or not the product is in-stock.
- Set User Status to Logged-In and Logged-Out users.
- Set Post Type to Product.
- Set Stock Status Product to Current Product.
- Set Stock Status Operator to status is equal to.
- Set Stock Status Value to In Stock.