BACK TO DIRECTORY

Visible Stock Threshold for WooCommerce

by modulux

0.0
(0 ratings)

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

Settings page under WooCommerce menu

Settings page under WooCommerce menu

Product Inventory meta box

Product Inventory meta box

Product Category term field

Product Category term field

Frontend “Only {qty} left” text example

Frontend “Only {qty} left” text example

Plugin Details

Active Installs
10
Total Downloads
591
Version
1.1.0
Requires WP
5.8
Requires PHP
7.4
Tested Up To
6.9.7
Added
2025-11-20
Last Updated
2026-01-31 9:01pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0