How to add a counter "Number of Stock: 1" to product page and description (DEBUT THEME)

Hey Shopify community,

Happy New Year 2022.

Would like to ask about how to add a real-time ticker for stock availability next to the price of a product on the thumbnails and the actual product page. Please ask and see attachments.

https://lucchijewelry.com/collections/all

Thank you in advance

Hi there @LucchiCamma ,

Here is the tutorial to do so

https://ecomexperts.io/blogs/liquid-tutorial-shopify/show-the-number-of-products-left-in-stock-on-your-shopify-product-page

Thank you so much! Not exact but will do just fine! Would like to ask more about your services? Please send me a DM. Thank you!

@LucchiCamma ,

DM sent, thanks.

I actually came across a problem with this code and did not notice it until now, the ticker still displays “1 in stock” even when the “add to cart” button displays “out of stock”, is there a fix to this?

Hey @LucchiCamma ,

If you would like to use an app for this purpose, you can check out this app. It is exactly providing what you asked for. Displays remaining/left in stock just above the add-to-cart button and works for variant level. The threshold can be also selected within the app so that you can only display the widget if you are low in stock.