跳到内容

Visible Stock Threshold for WooCommerce

v1.1.0

modulux · 2025年11月20日 上架

Show a capped "visible stock" and limit purchase quantities based on global, category, role, or product thresholds. Strict Mode is supported.

正在使用
10+
评分
暂无
累计下载
734
最近更新
2026年2月1日
需要 WordPress 5.8+已测试到 6.9.12PHP 7.4+

贡献者

截图

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

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums