I want to show if a product is in stock as in our industry right now being “in stock” is a very important feature. I don’t want to add "In stock " on photoshop and each time change the photos.
Rather I want this to be automatically done.
I want to show if a product is in stock as in our industry right now being “in stock” is a very important feature. I don’t want to add "In stock " on photoshop and each time change the photos.
Rather I want this to be automatically done.
Hello @borque ,
I think by default this feature is available in all themes. If product is available then customer can add it to cart otherwise it show ‘sold out’
btw if you have a specific requirement like you want to display in collection list over image or in single product page when variant change then you have to make a extra code for it.
You can use this as refrence
{{ current_variant.inventory_quantity }}
it will return you the inventory count. Now extend it and do the further logic.
Thanks