hi to all
im using the layered nav filters attribute terms, which is fine, however for those attributes that are variations, I would like to include stock in the filtering criteria. That is, if a variation is – out of stock – then the product should not be shown in the result set where the filtering parameters would normally show it.
so basically to filter what is returned from the search results removing the product that has variation selected out of stock
any idea what filter should i use or what hook ?
im using woocommerce 2.0.8
- The topic ‘how to filter out of stock products’ is closed to new replies.