Display Quantity available on Shopify Theme Venture

New Member
1 0 0


Does anyone know where I can find the proper place to adjust the code to display quantity available? 

I currently have the check box "Track Quantity" for the specific product. 

I know there is a way to have it display quantity if it's less than 10 but I want it to show the whole time until its sold out.


Thank you.

Shopify Partner
292 47 124

Hi @plyzo26 

Aibek is here from Speedimize.io 

Hope everything is fine on your end. 

You can use the code below to track the number. You will need to insert this code into the product-template:

{% comment %} Inventory tracking on product page {% endcomment %}
            <div id="variant-inventory" class="{% unless current_variant.available %} hide {% endunless %}">
              {% if current_variant.inventory_management == "shopify" and current_variant.inventory_policy != "continue" %}
              We have {{ current_variant.inventory_quantity }} in stock.
              {% else %}
              This product is available.
              {% endif %}

For more details check this article: https://community.shopify.com/c/Shopify-Design/How-do-I-Show-inventory-quantities-on-product-pages-u...

Hope that helps you. 

We Speedimize your store
Have a problem with speed performance, send me email here: hello@speedimize.io

If our advice was helpful please LIKE or ACCEPT SOLUTION