Liquid, JavaScript, themes, sales channels
Hi everyone.
I am wanting to add a "low in stock" label to products which have less than x items left in stock. Same as when a product is sold out it has the "sold out" label underneath the image of the product in collections.
I've read on here at {% if product.first_available_variant.inventory_quantity < 2 %}<div>low in stock</div>{% endif %} would do the job but unsure where to place it on the Brooklyn theme
Can anyone help please?
Thanks
Simon
Hi Simon_Brindle,
You can add “Low Stock” badges to your store with ModeMagic as well. You don’t need to search for any coding for your badges. You can apply them to your product image in minutes. Not just that, you can even automate these badges on your store to keep it updated with your stock. Trust me, it saves a lot of time. 😄
Here’s a loom video for you. Do let me know if this was helpful to you.
Pasting the app link here for you here: LINK
Please lemme know if this helped. 🙂
User | RANK |
---|---|
33 | |
27 | |
19 | |
9 | |
9 |
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023