🔗 How Stock Filters and Visibility Modes Work Together
WhoKnew Views™ Pro Smart Visibility Modes use a layered evaluation system: the optional Stock Filter acts as a priority gate, followed by your selected visibility mode. This allows you to create powerful combinations that target very specific scenarios.
⚙️ The Evaluation Order
When the plugin decides whether to show a counter, it evaluates conditions in a specific order:
Evaluation Flow:
┌─────────────────────────────────────────┐
│ GATE 1: Stock Filter (Optional) │
│ Priority: HIGHEST │
│ • If FAIL → HIDE (stops immediately) │
│ • If PASS → Continue to visibility mode │
│ • If not enabled → Skip to visibility │
└─────────────────────────────────────────┘
↓
┌─────────────────────────────────────────┐
│ STEP 2: Visibility Mode (Pick ONE) │
│ • First View Only │
│ • Once in Window │
│ • Performance-Based │
│ • AI Smart │
└─────────────────────────────────────────┘
↓
┌─────────────────────────────────────────┐
│ FINAL DECISION: SHOW or HIDE │
└─────────────────────────────────────────┘🚪 The Stock Filter Priority Gate
The Stock Filter is special—it runs before any visibility mode and can block everything:
“❌ Stock Filter: FAIL (blocks all other rules)”
If a product fails the Stock Filter, the counter is immediately hidden—the visibility mode is never even checked.
| Stock Filter | Visibility Mode | Final Result |
|---|---|---|
| ❌ FAIL | (Not checked) | HIDE |
| ✅ PASS | Check Mode | Depends on Mode |
| Not Enabled | Check Mode | Depends on Mode |
🎯 One Visibility Mode at a Time
Within each Smart Visibility Mode, you pick ONE core visibility condition:
- 🎯 First View Only — Time-based, per-visitor, uses Cookie Lifespan
- 🪟 Once in Window — Time-based, per-visitor, uses View Counting Window
- 📊 Performance-Based — Count-based, per-product, uses real view threshold
- 🤖 AI Smart — Machine learning-based, site-wide learning
You cannot select multiple visibility modes for the same product—they’re mutually exclusive (that’s why the UI says “Pick ONE”).
💡 Powerful Combinations
The real power comes from combining Stock Filter + Visibility Mode:
Example 1: Scarcity + First Impressions
| Setting | Configuration |
|---|---|
| Stock Filter | Low Stock ≤ 15 units |
| Visibility Mode | First View Only (Range 1) |
Result: Counter shows to new visitors ONLY when stock is 15 or fewer units. Creates urgency precisely when scarcity is real.
Example 2: New Products + Low Stock
| Setting | Configuration |
|---|---|
| Stock Filter | Low Stock ≤ 20 units |
| Visibility Mode | Performance-Based (≤ 50 views) |
Result: Counter shows ONLY when product has fewer than 50 real views AND stock is low. Double-targeted boost for new products running out.
Example 3: Well-Stocked + Bestsellers
| Setting | Configuration |
|---|---|
| Stock Filter | High Stock ≥ 50 units |
| Visibility Mode | Performance-Based (≥ 100 views) |
Result: Counter shows ONLY on popular products that you can actually fulfill. No false urgency on items you’ll run out of.
📊 How the System Reports Decisions
In System Info diagnostics, you can see exactly how each condition evaluated:
✅ Stock Filter: PASS (12 units low)
✅ First View Only: Currently SHOWING (in display window)
──────────────────────────────────────────────────────────
🟢 FINAL DECISION: COUNTER WILL SHOWOr when a condition fails:
❌ Stock Filter: FAIL (blocks all other rules)
──────────────────────────────────────────────────────────
🔴 FINAL DECISION: COUNTER WILL HIDE🛠️ Configuration Tips
- 📦 Stock Filter is optional — Only enable it when inventory-based targeting makes sense
- 🎯 Pick the right visibility mode — Time-based (First View/Once in Window) for per-visitor control, Performance-Based for product-level targeting
- 🔄 Use different modes for different product types — Assign Green to new products, Blue to established ones
- 📋 Test with System Info — See exactly which conditions pass or fail for any product
⚠️ Important Notes
- ❗ Stock Filter blocks everything if it fails — Even if your visibility mode would show the counter
- ❗ Products without stock tracking skip Stock Filter — They proceed directly to visibility mode
- ❗ Only ONE visibility mode per product — You can’t combine First View Only + Performance-Based