
Show a capped "visible stock" and limit purchase quantities based on global, category, role, or product thresholds. Strict Mode is supported.
| Author: | modulux (profile at wordpress.org) |
| WordPress version required: | 5.8 |
| WordPress version tested: | 6.9 |
| Plugin version: | 1.1.0 |
| Added to WordPress repository: | 20-11-2025 |
| Last updated: | 31-01-2026 |
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | https://modulux.net/visible-stock-threshold |
| Total downloads: | 237 |
![]() Click to start download |
|
Visible Stock Threshold lets you control what customers see and can buy:
- Visible stock cap: If real stock is above the threshold, only the threshold amount is shown/purchasable.
- Strict Mode: If real stock ≤ threshold, the product is Out of Stock (not purchasable).
- Multiple levels: Per-product, per-category, role-based, or global default.
- Custom message: “Only {qty} left in stock” (fully editable).
- Secure limits: Frontend input is capped and server-side validations prevent bypassing limits.
- Variation support, i18n-ready, clean code, no templates overridden.
Precedence: Product > Role > Highest Category > Global.
Why this plugin?
Urgency marketing without lying: keep internal buffer stock while honestly limiting visible/purchasable quantity.
Works with
WooCommerce stock-managed products (simple & variations). If stock management is off, plugin stays out of the way.
Screenshots
FAQ
ChangeLog




