Stock level indicator
Product page block
Last updated
Was this helpful?
Product page block
Last updated
Was this helpful?
In the Product template, the Stock level indicator displays the relative availability of your product with a dynamic indicator bar that alerts customers when there are limited quantities.
Displaying your stock level can turn limited stock quantities into an advantage by conveying a sense of scarcity to increase conversion and quicker purchases.
The indicator bar visually represents the remaining percentage of your initial stock quantity, turns red when stock is low, and displays three different messages.
Follow the steps below to set up the stock level indicator block, and enter a inventory base quantity and low level threshold.
If you need to set a different Inventory base quantity and Low inventory threshold for multiple products, you can use Shopify's metafields and dynamic sources.
Follow the steps below to create metafields for your products, add inventory numbers to those metafields, then use Dynamic sources to connect metafields to the stock level settings in your theme editor.
Shopify's Metafields lets you store additional information about your products. You can create custom fields to hold different types of information in your Shopify admin, and enter unique content for each of your products.
The steps below show you how to add two Number metafields for storing an inventory base quantity and Low stock threshold.
Once you've created number Metafields for your products, you can now add quantities those fields by going to your products in the Shopify admin.
Now that the Metafields of your products have content, you can go to the theme editor to insert a Dynamic source to the Stock level indicator settings in the Products template.
Related links
Shopify Before adding a Stock level indicator block, you need to enable the Track quantity option for your product and product variants. See the Shopify guide about how to .
To learn how to set different base quantities for multiple products, see the .
To learn how to set different Low inventory thresholds for multiple products, see the .
For a general introduction, see our .