The Inventory Counter feature helps create urgency and scarcity by displaying stock availability directly on your WooCommerce product pages.
When customers see that inventory is running low, they are more likely to make a purchase before the product becomes unavailable.
Inventory Counters are one of the most effective conversion optimization tools for WooCommerce stores because they create a Fear of Missing Out (FOMO) effect.
What is an Inventory Counter?
An Inventory Counter displays stock information such as:
- Available stock quantity
- Remaining inventory
- Products sold
- Inventory progress bars
- Low stock warnings
- Scarcity messages
Example:
Only 5 items left in stock
or
🔥 Selling Fast! Only 3 remaining
or
Stock Remaining: 12/100
Enable Inventory Counter
This setting controls whether the inventory counter is displayed.
Enabled
The inventory counter becomes active when the campaign conditions match.
Customers will see stock information on eligible products.
Disabled
The inventory counter will not be displayed.
Other campaign elements such as timers and discounts may continue working.
Inventory Source
The Inventory Source determines where DealPulse gets stock information.
Available sources:
- WooCommerce Stock
- Custom Inventory
WooCommerce Stock
DealPulse reads inventory directly from WooCommerce product stock.
This is the recommended option for most stores.
Example
WooCommerce Stock Quantity:
25
Inventory Counter:
Only 25 items remaining
Whenever WooCommerce stock changes, the inventory counter updates automatically.
Best For
- Physical products
- Stores using inventory management
- Accurate stock tracking
Custom Inventory
Custom Inventory allows you to define your own stock values.
The displayed inventory does not depend on WooCommerce stock.
Example
WooCommerce Stock:
500
Custom Inventory:
20
Inventory Counter Displays:
Only 20 remaining
Best For
- Marketing campaigns
- Product launches
- Scarcity campaigns
- Limited edition offers
Inventory Display Type
The Display Type controls how inventory information appears to customers.
Common display options include:
- Remaining Stock
- Products Sold
- Stock Progress
- Scarcity Messages
Remaining Stock
Displays the available inventory quantity.
Example
Only 8 items left in stock
or
8 products remaining
This is the most common inventory display.
Products Sold
Displays how many products have been purchased.
Example
128 units sold
or
Over 500 customers purchased this product
Benefits
Social proof increases trust and purchase confidence.
Inventory Progress Bar
Displays stock levels using a visual progress bar.
Example
Stock Available:
15 of 100
Progress:
15%
The progress bar automatically adjusts as inventory changes.
Benefits
Customers can visually see inventory depletion.
Initial Stock
Initial Stock defines the starting inventory amount.
This value is used when displaying stock progress bars and sold percentages.
Example
Initial Stock:
100
Current Stock:
25
Inventory Remaining:
25%
Sold:
75%
Current Stock
Current Stock represents the inventory currently available.
This value can come from:
- WooCommerce stock
- Custom inventory
Example
Current Stock:
12
Inventory Counter:
Only 12 remaining
Low Stock Threshold
The Low Stock Threshold determines when urgency messaging appears.
Example
Threshold:
10
When inventory drops to 10 or lower:
- Urgency styling activates
- Warning messages appear
- Colors can change automatically
Low Stock Message
Displayed when inventory falls below the threshold.
Example Messages
Only {stock} left in stock
Hurry! Only {stock} remaining
Selling Fast — Only {stock} left
Limited Availability
Dynamic Variables
DealPulse automatically replaces:
{stock}
with the actual inventory quantity.
Example
Stock:
5
Message:
Only 5 left in stock
High Stock Message
Displayed when inventory remains above the low stock threshold.
Example Messages
In Stock
Available Now
Ready to Ship
Stock Available
Out of Stock Message
Displayed when inventory reaches zero.
Example Messages
Out of Stock
Currently Unavailable
Sold Out
Coming Soon
Inventory Bar
The Inventory Bar displays a visual representation of stock levels.
Enabled
Customers see a progress bar.
Disabled
Only inventory text appears.
Example
████████░░ 80%
Inventory Remaining
Progress Bar Calculation
The inventory bar calculates stock using:
Current Stock ÷ Initial Stock
Example
Initial Stock:
100
Current Stock:
40
Progress Bar:
40%
Inventory Colors
Customize inventory counter appearance.
Available options include:
- Text Color
- Background Color
- Progress Color
- Border Color
Example
Normal State
Text:
Black
Progress:
Green
Low Stock State
Text:
Red
Progress:
Red
Inventory Animation
Animations help attract customer attention.
Common animations include:
- Fade In
- Slide Up
- Pulse
- Bounce
Best Practice
Use subtle animations.
Avoid distracting visitors.
Position
Controls where the inventory counter appears.
Common positions:
- Above Product Price
- Below Product Price
- Above Add To Cart Button
- Below Add To Cart Button
- Custom Hook Position
Recommended Position
Below the product price and above the Add to Cart button.
This location provides maximum visibility.
Mobile Visibility
Control whether the inventory counter appears on:
- Desktop
- Tablet
- Mobile
Example
Desktop:
Enabled
Tablet:
Enabled
Mobile:
Disabled
Dynamic Variables
Inventory messages support dynamic placeholders.
Available placeholders may include:
{stock}
Current stock quantity
{sold}
Total sold quantity
{initial_stock}
Original stock amount
Example
Message:
Only {stock} left from {initial_stock}
Result:
Only 5 left from 100
Inventory Counter Evaluation Process
DealPulse evaluates inventory counters using the following order:
- Campaign Status
- Campaign Schedule
- Campaign Rules
- Product Eligibility
- Inventory Source
- Inventory Calculation
- Inventory Message Generation
- Display Rendering
The counter only appears when all conditions pass.
Common Inventory Campaign Examples
Low Stock Warning
Inventory Source:
WooCommerce
Threshold:
10
Message:
Only {stock} remaining
Purpose:
Increase urgency when stock becomes limited.
Product Launch
Inventory Source:
Custom Inventory
Initial Stock:
100
Message:
Limited Edition Release
Purpose:
Create scarcity during launch campaigns.
Flash Sale
Inventory Source:
WooCommerce
Inventory Bar:
Enabled
Countdown Timer:
Enabled
Purpose:
Combine scarcity and urgency.
Best Practices
- Use WooCommerce stock whenever possible.
- Keep inventory values accurate.
- Enable low stock warnings.
- Combine inventory counters with countdown timers.
- Use realistic scarcity messaging.
- Avoid fake inventory values that may reduce customer trust.
- Place inventory counters close to product pricing and purchase buttons.
- Test inventory displays on desktop and mobile devices.
Troubleshooting
Inventory Counter Not Showing
Check the following:
- Campaign is published.
- Campaign schedule is active.
- Product matches campaign rules.
- Inventory counter is enabled.
- Product has stock available.
Stock Quantity Incorrect
Verify:
- WooCommerce stock management is enabled.
- Product inventory values are correct.
- Custom inventory settings are configured properly.
Progress Bar Not Updating
Check:
- WooCommerce inventory synchronization.
- Campaign cache settings.
- Product stock updates.
The progress bar updates automatically whenever inventory values change.
