Skip to content
DiviMise

Documentation

WooCommerce Quantity Progress Bar: Stock Urgency & Display Guide

Quantity Progress Bar Extension

The Quantity Progress Bar extension visualizes remaining inventory using animated progress bars and customizable stock count messaging. It helps generate purchase urgency on low-stock items.

Prerequisites / Requirements

  • WordPress version 5.0 or higher.
  • WooCommerce active with Track stock quantity enabled on products.

Step-by-Step Setup Guide

  1. Activate Quantity Progress Bar in Woo Toolbox → Extensions.
  2. Open the settings and select the display locations (single product pages / shop listings).
  3. Choose the display calculation mode (Remaining stock percentage or Sold vs available percentage).
  4. Enable inventory tracking on the target WooCommerce products under Product Data → Inventory.
  5. Test the progress bar on the frontend product pages.

Configuration Settings Reference

Setting Name Description Default Value Options
Show on Product Displays the progress bar on individual product pages. On On, Off
Show on Shop Displays the progress bar on shop grid product cards. Off On, Off
Display Position Placement relative to the product add to cart form. Replace stock message Replace stock message, Before add to cart form, After add to cart form
Layout Structural orientation of the text and bar. Inline (text beside bar) Inline (text beside bar), Stacked (text above bar)
Display Mode Formula used to calculate the progress bar fill percentage. Remaining stock percentage Remaining stock percentage, Sold vs available percentage
Hide Out of Stock Hides the bar when item stock reaches zero. On On, Off
Hide Unmanaged Hides the bar for items that do not track stock inventory in WooCommerce. On On, Off
Show Text Displays a custom text label next to or above the bar. On On, Off
Show Sold Count Displays a secondary line indicating the total items sold. Off On, Off
Show Only Low Stock Hides the bar until stock falls below the low stock threshold. Off On, Off

Warning: Progress calculations require explicit stock quantities defined in the WooCommerce inventory settings.

Shortcode / Block Usage

The Quantity Progress Bar automatically hooks into WooCommerce stock positions. Custom text templates support the tokens {quantity}, {sold}, and {percent}.

Troubleshooting / FAQ

  • Issue: The bar does not display on the product page. Solution: Check that Track stock quantity for this product is selected in the WooCommerce inventory settings.
  • Issue: The bar does not change to the low stock color. Solution: Set a threshold under Global low stock threshold or in the product's individual WooCommerce inventory settings.