How can i show how many of each product is still available?

Highlighted
New Member
1 0 0

I am using Debut theme. On my home page, I display all products within a certain collection. I would like to display the quantity available for each product under the price on the home page listings as well as on the specific product pages under the price.

Ideally, I would like it to read "Spots Available" as opposed to something like "Quantity Remaining".

I have tried every suggestion that I could find in the community and nothing is working. Any help is greatly appreciated. 

0 Likes
Highlighted
Shopify Partner
562 67 91

@mstmartin ,

Welcome to the Shopify community, if your store has inventory tracking enabled then you can put specific code to display the quantity available ( or spot available or parking available for that matter )

Please DM me if you need help in putting the custom code.

 

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution

Skype : lokendra.panwar1
0 Likes
Highlighted
Shopify Partner
562 67 91

Hope the code worked

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution

Skype : lokendra.panwar1
0 Likes
Highlighted
New Member
2 0 0

Hi Propero, 

How did you go about doing that? I am also in Debut theme and looking to add quantity available to both my collection page grid and individual product pages.

 

Thank you!

 

- Madeline

0 Likes
Highlighted
Shopify Partner
562 67 91

@madelinelbush ,

Please use the below

 <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 %}
            </div>
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution

Skype : lokendra.panwar1
0 Likes
Highlighted
Shopify Partner
562 67 91

Please check out this related thread too

https://community.shopify.com/c/Shopify-Design/Show-Quantity-in-stock-on-Product-Page-and-have-it-ch...

In case you need support implementing this please send me direct message

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution

Skype : lokendra.panwar1
0 Likes
Highlighted
New Member
2 0 0

Hi Propero, 

Thank you! I do need help implementing but am not currently seeing the direct message feature available to me as I am a newish user. Is there another way I can see the implementation recommendations?

0 Likes
Highlighted
Shopify Partner
562 67 91

I am available on lokendra@propero.in

 

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution

Skype : lokendra.panwar1
0 Likes