Hey @krvam,
By default, the free WooCommerce plugin will display an out of stock message on products if that product has no stock. Below is an example of the message the WooCommerce plugin displays for out of stock products.

Image Link: https://cloudup.com/cR20hqHASqN
For assistance or questions related to the free WooCommerce plugin itself, you can use this forum below for those as this forum is only for the Storefront theme itself.
https://ww.wp.xz.cn/support/plugin/woocommerce/
Thread Starter
krvaM
(@krvam)
Thanks @stuartduff
Yes, I understand, but it only appears out of stock when you enter the product. I would need it to appear before entering the home page
Hey @krvam,
The out of stock notices are added by the WooCommerce plugin itself and not the Storefront theme. To add out of stock notifications to product archive pages you’d have to use some custom code like these examples below.
https://wisdmlabs.com/blog/woocommerce-add-out-of-stock-label-on-shop-page/
https://www.businessbloomer.com/woocommerce-show-sold-archiveproduct-page/
I hope this helps.