WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
how to filter out of stock products (1 post)

  1. skomfare
    Member
    Posted 1 year 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

    regards

    http://wordpress.org/extend/plugins/woocommerce/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic