Shopify themes, liquid, logos, and UX
How do I display each variants quantity inside the product-variant-option.liquid?
Tried pretty much any combo I could think of, but not getting any values...
Need the quantity of each listed variant (for size) so I can display it next to each size
Solved! Go to the solution
This is an accepted solution.
Hi @Zeuligan,
You can use the following for the product-variant-options.liquid file:
Code:
{{ value.variant.inventory_quantity }}
Hi @Zeuligan,
Please send the website link, I will check it for you
Hi @Zeuligan
Can you share you store URL and Password if it password protected so I can check and try to help you out
-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR
-If you need an expert Shopify developer for customization and development, feel free to contact me.
Email: Mehran.ali5300@gmail.com
WhatsApp: +92 343 0211536
Please share with me your store URL and show me specifically which place do you want to add the feature
Best,
Daisy
I can't share anything, its both a secret project and mostly it's a local CLI environment. It's Dawn 15 and it's in the product-variant-option.liquid. Basically next to each size I want to display that variants stock levels.
I'm closer, but not solved.
This is an accepted solution.
Hi @Zeuligan,
You can use the following for the product-variant-options.liquid file:
Code:
{{ value.variant.inventory_quantity }}
THANK YOU SIR 😍 I'm so grateful. Works like a charm 🙂
You again, thats 2 times you helped me. Thank you!
Do you know if there is a way to show only the available variant options when the
Hi @Zeuligan,
Please send me the product link describing this, I will check it out
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025