• would it be possible to include a woocommerce filter into your code, similar to this function?

    'meta_query' => array(
                array(
                    'key' => '_stock_status',
                    'value' => 'instock',
                    'compare' => '=',
                ),
                'relation' => 'OR',
                array(
                    'key' => '_stock_status',
                    'value' => '',
                    'compare' => 'NOT EXISTS'
                ),
            )
  • The topic ‘exclude woocommerce categories with 0(zero) stock’ is closed to new replies.