Home Forums WoodMart support forum Woodmart filter with OR logic

Woodmart filter with OR logic

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #508242

    marco1970
    Participant

    Hi,

    I believe your Woodmart Layered Nav attribute filters behave not correctly when:

    1) Query Type is OR
    2) an archive page for a specific attribute is shown (e.g. https://mydomain.com/country/italy)

    Reason is that your filter show ALL the other values of the attribute, except for the current one, instead of showing ONLY the current one (standard behaviour for all filter systems, including default Woo and BeRocket Ajax Filters). In addition, if user clicks on ANY of the values shown in the filter, Woo returns an empty results page, because this type of query is inherently wrong:

    https://mydomain.com/country/italy/?filter_country=france&query_type_region=or

    It absolutely makes no sense to filter by country X when we are within the archive page for country Y.

    Why did you choose to implement your filters like this?

    TY

    M

    #508600

    Luke Nielsen
    Keymaster

    Hello,

    Could you please check how it works on the default filters from WooCommerce with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?

    Kind Regards

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