{"id":259334,"date":"2025-11-20T17:03:47","date_gmt":"2025-11-20T17:03:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/modulux-visible-stock-threshold-for-woocommerce\/"},"modified":"2026-01-31T21:01:27","modified_gmt":"2026-01-31T21:01:27","slug":"visible-stock-threshold-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/nb.wordpress.org\/plugins\/visible-stock-threshold-for-woocommerce\/","author":23378975,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"1.1.0","tested":"6.9.4","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Visible Stock Threshold for WooCommerce","header_author":"Modulux","header_description":"Show a capped \"visible stock\" and limit purchase quantity using global \/ category \/ role \/ per-product thresholds. Strict Mode can mark stock \u2264 threshold as Out of Stock. Includes customizable \"Only {qty} left\" message.","assets_banners_color":"fff8f4","last_updated":"2026-01-31 21:01:27","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/modulux.net","header_plugin_uri":"https:\/\/modulux.net\/visible-stock-threshold","header_author_uri":"https:\/\/modulux.net","rating":0,"author_block_rating":0,"active_installs":0,"downloads":237,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.0":{"tag":"1.1.0","author":"modulux","date":"2026-01-31 21:01:27"}},"upgrade_notice":{"1.1.0":"<ul>\n<li>Fix: If no threshold set for new products, QTY shown is wrong and no limit on purchasable quantity.<\/li>\n<\/ul>","1.0.0":"<p>First release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3399914,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3399914,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3399914,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3399914,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3399914,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3399914,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3399914,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3399914,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Settings page under WooCommerce menu","2":"Product Inventory meta box","3":"Product Category term field","4":"Frontend \u201cOnly {qty} left\u201d text example"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1279,4423,37629,192623,286],"plugin_category":[45],"plugin_contributors":[249697],"plugin_business_model":[],"class_list":["post-259334","plugin","type-plugin","status-publish","hentry","plugin_tags-availability","plugin_tags-out-of-stock","plugin_tags-role-based","plugin_tags-threshold","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-modulux","plugin_committers-modulux"],"banners":{"banner":"https:\/\/ps.w.org\/visible-stock-threshold-for-woocommerce\/assets\/banner-772x250.png?rev=3399914","banner_2x":"https:\/\/ps.w.org\/visible-stock-threshold-for-woocommerce\/assets\/banner-1544x500.png?rev=3399914","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/visible-stock-threshold-for-woocommerce\/assets\/icon-128x128.png?rev=3399914","icon_2x":"https:\/\/ps.w.org\/visible-stock-threshold-for-woocommerce\/assets\/icon-256x256.png?rev=3399914","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/visible-stock-threshold-for-woocommerce\/assets\/screenshot-1.png?rev=3399914","caption":"Settings page under WooCommerce menu"},{"src":"https:\/\/ps.w.org\/visible-stock-threshold-for-woocommerce\/assets\/screenshot-2.png?rev=3399914","caption":"Product Inventory meta box"},{"src":"https:\/\/ps.w.org\/visible-stock-threshold-for-woocommerce\/assets\/screenshot-3.png?rev=3399914","caption":"Product Category term field"},{"src":"https:\/\/ps.w.org\/visible-stock-threshold-for-woocommerce\/assets\/screenshot-4.png?rev=3399914","caption":"Frontend \u201cOnly {qty} left\u201d text example"}],"raw_content":"<!--section=description-->\n<p><strong>Visible Stock Threshold<\/strong> lets you control what customers <em>see<\/em> and <em>can buy<\/em>:<\/p>\n\n<ul>\n<li><strong>Visible stock cap:<\/strong> If real stock is above the threshold, only the threshold amount is shown\/purchasable.<\/li>\n<li><strong>Strict Mode:<\/strong> If real stock \u2264 threshold, the product is Out of Stock (not purchasable).<\/li>\n<li><strong>Multiple levels:<\/strong> Per-product, per-category, role-based, or global default.<\/li>\n<li><strong>Custom message:<\/strong> \u201cOnly {qty} left in stock\u201d (fully editable).<\/li>\n<li><strong>Secure limits:<\/strong> Frontend input is capped and server-side validations prevent bypassing limits.<\/li>\n<li><strong>Variation support<\/strong>, <strong>i18n-ready<\/strong>, clean code, no templates overridden.<\/li>\n<\/ul>\n\n<p><strong>Precedence:<\/strong> Product &gt; Role &gt; Highest Category &gt; Global.<\/p>\n\n<h3>Why this plugin?<\/h3>\n\n<p>Urgency marketing without lying: keep internal buffer stock while honestly limiting visible\/purchasable quantity.<\/p>\n\n<h3>Works with<\/h3>\n\n<p>WooCommerce stock-managed products (simple &amp; variations). If stock management is off, plugin stays out of the way.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code> or install via <strong>Plugins \u2192 Add New<\/strong>.<\/li>\n<li>Activate <strong>Visible Stock Threshold<\/strong>.<\/li>\n<li>Go to <strong>WooCommerce \u2192 Visible Stock Threshold<\/strong> to configure:\n\n<ul>\n<li>Enable on storefront<\/li>\n<li>Strict Mode<\/li>\n<li>Global default threshold<\/li>\n<li>Availability text (use <code>{qty}<\/code>)<\/li>\n<li>Role-based overrides<\/li>\n<\/ul><\/li>\n<li>(Optional) Set thresholds per <strong>Product<\/strong> (Inventory tab) and <strong>Product Category<\/strong>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20change%20real%20stock%3F\"><h3>Does it change real stock?<\/h3><\/dt>\n<dd><p>No. It only changes what\u2019s <strong>visible<\/strong> and <strong>purchasable<\/strong> to the customer.<\/p><\/dd>\n<dt id=\"how%20does%20strict%20mode%20work%3F\"><h3>How does Strict Mode work?<\/h3><\/dt>\n<dd><p>If real stock \u2264 threshold, the product is Out of Stock. If real stock &gt; threshold, visible\/purchasable qty = threshold.<\/p><\/dd>\n<dt id=\"which%20level%20wins%20if%20multiple%20thresholds%20are%20set%3F\"><h3>Which level wins if multiple thresholds are set?<\/h3><\/dt>\n<dd><p>Product &gt; Role override &gt; Highest category threshold &gt; Global default.<\/p><\/dd>\n<dt id=\"does%20it%20support%20variations%3F\"><h3>Does it support variations?<\/h3><\/dt>\n<dd><p>Yes\u2014each variation\u2019s stock is treated independently.<\/p><\/dd>\n<dt id=\"is%20it%20compatible%20with%20backorders%3F\"><h3>Is it compatible with backorders?<\/h3><\/dt>\n<dd><p>If a product allows backorders (and stock management is enabled), the plugin still enforces the visible cap unless another plugin bypasses WC\u2019s checks. Test your backorder flow.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Fix: If no threshold set for new products, QTY shown is wrong and no limit on purchasable quantity.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial public release: visible stock cap, Strict Mode, per-product\/category\/role\/global, server validations, i18n.<\/li>\n<\/ul>","raw_excerpt":"Show a capped &quot;visible stock&quot; and limit purchase quantities based on global, category, role, or product thresholds. Strict Mode is supported.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/259334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=259334"}],"author":[{"embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/modulux"}],"wp:attachment":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=259334"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=259334"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=259334"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=259334"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=259334"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=259334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}