How to display your inventory quantity on text labels?
Last updated
Last updated
To keep buyers informed about the inventory status of your products, you can add the inventory quantity to text labels. Follow the instructions below:
You can refer to our guide to customize a text label using the instruction below:
You can expand the list by clicking on the Show more text and select a product to preview
Depending on the actual product quantity, this variable can return one of three results:
For products with quantity > 0, the {inventory_quantity} variable returns the static text configured in the Content box and the quantity in numeric form
For products with quantity = 0, the {inventory_quantity} variable returns the Sold out text (users can customize the text by changing it in the Sold Out Text box)
For products that have either Untrack quantity or Track quantity & continue selling when out of stock settings enabled, the {inventory_quantity} variable returns the Unlimited Stock text (users can customize the text by changing it in the Unlimited Stock Text box)
Once you have finished configuring your label, simply click on the Save button located in the top bar to complete the creation process.
The {inventory_quantity} variable will now appear on your text labels in your storefront as follows:
When the product quantity is greater than 0
When the product quantity equals 0
When the product has either Untrack quantity or Track quantity & continue selling when out of stock settings enabled
If you have a problem when setting up this feature, please feel free to reach us at support-sbc-ta@bsscommerce.com or Live Chat if you need any assistance.