Support » Plugin: WOOF - Products Filter for WooCommerce » Can’t set ‘Logic of filtering’ to AND

  • I have created a filter for product tags. I want to set the ‘Logic of filtering’ to AND, but this option is not available in Structure/product_tags/additional options/Logic of filtering. Only OR and NOT IN are available.

    I have tried these things:

    1) I have disabled all other plugins. It didn’t work.

    2) as suggested in
    I added this to my child theme functions.php:

    add_filter(‘woof_main_query_tax_relations’, ‘my_woof_main_query_tax_relations’);

    function my_woof_main_query_tax_relations()
    return array(
    ‘product_tag’ => ‘AND’

    It didn’t work.

    3) As suggested in your reply to another support post, I commented out a line in woocommerce-products-filter/index.php

    It didn’t work either, because I’m trying to affect a product_tag filter not product_cat.

    What can I do?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.