I have a client who is wanting to display the status of product availability in his future website. We know that you can see the status in the single product page (ie: 5 in stock) and that it’s possible to display it in the store archive and category pages. However, I can’t find a solution where you can display the stock status in the product widget.
Can this be achieved? I looked in the content-widget-product.php template and tried adding but it didn’t work.
Any help is much appreciated. Thanks!
Read more here: Woocommerce stock status in product widget