How to filter results? Now each taxonomy is adding results to another.

Forums › Forums › Search & Filter Pro › How to filter results? Now each taxonomy is adding results to another.

Viewing 4 posts – 1 through 4 (of 4 total)
  • Anonymous
    #34839

    Hi,

    In the demo each click on the checkbox add new taxonomy to results. I want to limit results – when user choose more checkboxes. The results will show only if products match the taxonomies of checkboxes. How to do that ?

    Thanks,
    Benny

    Ross Moderator
    #34901

    In the taxonomy field, you will see and option Search Operator – change this to AND

    🙂

    Anonymous
    #34918

    I have the same settings like you wrote.

    In the template archive I have:

    <?php if ( have_posts() ) : ?>
    <div class=”products-list”>
    <?php while ( have_posts() ) : the_post(); ?>
    <div class=”product”>product variables</div>
    <?php endwhile; ?>
    </div>
    <?php else: ?>
    <p>No products.</p>
    <?php endif; ?>

    But when I check couple checkboxes always one product left. I never had a results with “No products” what is strange – even I check all checkboxes.

    I have logic error in my template or what ?

    Thanks for you answer,

    Benny

    Ross Moderator
    #34919

    It could be a sticky post? Disable them in the “posts” tab

    Thanks

Viewing 4 posts – 1 through 4 (of 4 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.