Hello,
• Go to WooCommerce > Settings > Products > Inventory.
• Check Enable stock management.
Set Thresholds Globally
• In the same section, set:
o Low stock threshold: The number of items that triggers a low stock notification (e.g., 1).
o Out of stock threshold: The number at which products are marked as out of stock (e.g., 0).
Set Thresholds for Individual Products (Optional)
• Edit a specific product in Products > All Products.
• Scroll to the Inventory tab in the product data section.
• Enable Manage stock?, then set custom thresholds for the product.
Display Stock Notices on the Product Page
• Ensure that the Stock Display Format is set to only show the remaining quantity messages or always show the remaining stock in WooCommerce > Settings > Products > Inventory.
Best Regards