Out of stock Products, Still showing in product count in catergories
I Hided out of stock items from the catalog in Woocommerce > settings > inventory and The out of stock products didn't appear in category page or any listing page and that is good so far .. However My product Categories widget is still counting my products including the out of stock products.
How can I also make the product Categories widget counting in stock products only?
Thanks in advance.
How can I also make the product Categories widget counting in stock products only?
Thanks in advance.
Comments
this is how woocommerce and woocommerce widgets work, we do not controll the bahviour of the plugin. You would have to reach the plugin author and ask him if it is even possible to do it without changing the plugin files.
thanks