how to filter out of stock products (1 post)

  1. skomfare
    Posted 3 years ago #

    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



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic