Taxonomy filter

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 4 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19374
    Avalon
    Avalon
    Participant

    Hello,

    I am currently working on a website for a client. I use Ajax Search Pro one one specific page to filter results.
    I created several category for crossed search but actually the search logic doesn’t seem to work as it should.

    Without any change made to the plugin, the logic is now on AND for the taxonomies. But it works as if it where OR.

    Here is the page with the plugin :
    http://scopus.fair-agenceweb.fr/imprimantes-consommables/

    Here are the htpasswd access :
    login : scopus
    passwd : scopus33700

    For example, if you uncheck under “Gamme” everything but “Semi-professionnelle”, only one result should appear.
    I tried several combinations into parameters but none seems to work as expected here.
    There is no error, just not the behaviour i’m expecting.

    I want to constrain the system to get me only the result that is consistent with the fact that on or all brands a checked (“Marques”), but exclude results when one peculiar use or product range is checked (“Usage”, “Gamme”)

    Can you help me getting this result please ?

    Best regards,
    Fabien.

    #19376
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Fabien,

    Thank you for the details, it helps us a lot!

    The taxonomy connection logic in this case does not apply, as all the terms are within the same taxonomy (category). That means, that ‘Marques’, ‘Gamme’ etc.. are not actually separate filter groups, but simply a part of the same exact, single category filter.
    When unchecking everything in under the ‘Gamme’ main category, but ‘Semi-professionale’ has no effect on the items, that are not marked with any of the categories within the ‘Gamme’ category subset.

    Say, you uncheck ‘Professionelle’. Then anything marked with that category will be excluded. There are however items, that are not marked with that category, but marked with something else. On those, this has no effect, since it is the same filter group.

    The only solution here, is to separate these items into different taxonomies, so that separate filters are created for them automatically, and the taxonomy logic then will apply on them. In that case, unchecking something under ‘Gamme’ will be separately queried, as well as all the other filters.

    I hope this helps!

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.