Hello,
We have hidden the out of stock items from the WooCommerce – Settings – Inventory and put checkbox not to show out of stock products. And it is working.
But! We use wood mart category widget filter which is still counting the out-of-stock items with number next to category and this category can be clicked as well and after it is clicked nothing is shown in product list.
What we expect: not to count out of stock items and hide categories which have only out of stock products.
Example: https://emma.w3b.ee/tootekategooria/naised/naiste-vood-rihmad/
Category shows 3 items. Once i click nothing is displayed as all 3 are out of stock. In this case we do not need to show the category and the number 3 next to it.
Another example with Size attributes
https://emma.w3b.ee/tootekategooria/naised/naiste-seelikud/?filter_suurus=34
It is telling that 34 size of scirts are 5, but showing only 3 as 2 are out of stock for 34 size. In this case size 34 amount should read 3 and not 5.