Product Stock Level Condition
The Product Stock Level display condition allows you to show or hide content based on the current stock status of specific WooCommerce products. This targeting tool enables you to create urgency messaging, manage customer expectations, and provide relevant information based on real-time inventory levels.
How It Works
This condition evaluates the current stock status of a chosen product in your WooCommerce inventory. You can set rules to display content when the stock status meets specific criteria, allowing for dynamic messaging that responds to inventory changes and helps drive purchasing decisions.
Setting Up the Rule
When configuring the Product Stock Level condition, you'll need to specify:
- Product: Select the specific product you want to monitor from your WooCommerce product catalogue
- Stock Status: Choose from three options:
- In stock - Display content when the product is available for purchase
- Out of stock - Display content when the product is not available
- Backorder - Display content when the product is available for backorder
- Value: Set to true or false to determine whether the condition should trigger when the selected stock status is present (true) or absent (false)
Common Use Cases
Urgency Messaging
Create compelling urgency to drive immediate purchases:
- Show "Only X left in stock!" messages when products have low inventory levels
- Display "Limited availability" banners for products approaching out-of-stock status
Inventory Management
Keep customers informed about product availability:
- Show "Back in stock soon" messages for out-of-stock items
- Display estimated restock dates for products on backorder
Alternative Recommendations
Guide customers when preferred products aren't available:
- Suggest similar products when items are out of stock
- Promote related items when stock levels are low to encourage alternative purchases
Important Notes
- The Product Stock Level condition only works with WooCommerce-enabled sites
- The rule monitors specific individual products, not product categories or variations
- Product variations are treated as separate products with their own stock levels
- The condition updates in real-time as stock levels change
- Stock status depends on your WooCommerce inventory management settings
- Products set to "manage stock" will show actual quantity-based statuses
Troubleshooting
If the Product Stock Level condition isn't working as expected:
- Ensure WooCommerce is active and properly configured
- Verify you've selected the correct product from the dropdown
- Check that stock management is enabled for the product in WooCommerce
- Confirm the product's current stock status matches your rule expectations
- Test with different stock statuses to ensure the rule triggers correctly
The Product Stock Level display condition provides dynamic inventory-based targeting, enabling you to create responsive messaging that adapts to stock changes and helps optimise sales opportunities whilst maintaining transparent customer communication.