• Hi,
    I want to display the number of product, so I checked “Show product counts”. It work but the problem is that it also counts products out of stock.
    So if I have an attribute where it is displayed (2) and I have one that is out of stock, when I filter I of course see only one product and this is not very “logical”.

    Can we modified that ?

Viewing 1 replies (of 1 total)
  • Plugin Author themifyme

    (@themifyme)

    Hi,

    Unfortunately that is how WooCommerce count function works, so in the product counts all products will be counted, even out of stock, if the product is published publicly on your site will be included in the count, but in the filter you can enabled / disable Out of Stock products: https://share.getcloudapp.com/eDuBKzZq – if it is unchecked it will show the out of stock products too, so your filter results will be logical in case you have out of stock products.

    Alternatively you can switch your Out of Stock products to Draft or temporarily move them to the trash, so they won’t show up in the product counts.

Viewing 1 replies (of 1 total)

The topic ‘Show product counts’ is closed to new replies.