App reviews, troubleshooting, and recommendations
How can we display the total number of available items of a product?
Through variants we can define size, color and how many available. For example you have a product of 3 different sizes, one items each size with the same price so overall three items of the product and on xml you can see all variants but not the total available items per product.
Is there a solution for this?
Some integration platforms like Skroutz in Greece require the total number of items per product as well
Solved! Go to the solution
This is an accepted solution.
Hi @sunderwear,
For liquid code you need to enable 'Track quantity' in Inventory for products/variants.
liquid code :
Quantity : {{ product.selected_or_first_available_variant.inventory_quantity }}
I hope this might be helpful for you.
Thanks...
This is an accepted solution.
Hi @sunderwear,
For liquid code you need to enable 'Track quantity' in Inventory for products/variants.
liquid code :
Quantity : {{ product.selected_or_first_available_variant.inventory_quantity }}
I hope this might be helpful for you.
Thanks...
Thank you very much. This was helpful
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025