Filtering by stock status Woo

Hello everyone

In addition to the standard Woo stock statuses, I also use custom statuses on the site.

When filtering, they are not displayed now. The _stock_status field has only the instock, outofstock, and onbackorder values available in the filter.

It would be convenient if the filter also saw custom stock statuses and displayed them.


I will add one more point here.

When saving a template that has filters, they are always regenerated. I think filter regeneration should be made optional. If I haven’t made any changes to the filters, then I don’t need to do any extra work.

When adding 6 Checkbox + Taxonomy filters, saving the template freezes and it is not saved :roll_eyes:


I have a large number of products on my site and the constant regeneration of values with each save leads to a freeze.