How Stock Quantity Placeholders Work in Custom Labels

The plugin supports dynamic placeholders in the label text. This makes your stock messages more informative by automatically displaying live stock data.

Supported Placeholder:
{stock_quantity}
This placeholder will be replaced with the current quantity of the product that is available in stock.

Example Usage:
If you write the label like:

“Only {stock_quantity} items left – Order now!”

And your product has 5 items in stock, it will appear as:

“Only 5 items left – Order now!”

This feature works on both shop and single product pages, making it easy to keep customers informed in real-time.