Filters don’t follow the “either/and” rule in the store

This topic has 5 replies, 2 voices, and was last updated 3 months ago ago by Andrew Mitchell

  • Avatar: Carneiro
    Carneiro
    Participant
    September 14, 2024 at 16:49

    The filter is not obeying the “and/or” rule, I want when I click on the BLUE color, it only stays blue, when I click on the PINK, it shows PINK feathers, it is united “blue and pink” in the same filter.
    Even changing the filter type, the rule remains the same.

    Please, contact administrator
    for this information.
    4 Answers
    Avatar: Carneiro
    Carneiro
    Participant
    September 16, 2024 at 14:40

    I need this support

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    September 16, 2024 at 15:25

    Hello, Carneiro,

    Thank you for reaching out to us.

    I would like to clarify the logic of the filters as follows:
    – With the “AND” option selected, the filter will display products that simultaneously possess both BLUE and PINK colors.
    – With the “OR” option selected, the filter will display products that have either BLUE or PINK colors.

    We have modified the file for you:
    xstore-core/app/models/widgets/swatches-filter.php
    Additionally, we have introduced a new Query type – “One select”, which should function as you described. Please verify whether the filter’s performance meets your expectations.

    This enhancement will also be included in the next theme update.

    Best Regards,
    The 8Theme Team

    Files is visible for topic creator and
    support staff only.
    Avatar: Carneiro
    Carneiro
    Participant
    September 16, 2024 at 18:02

    I understand how the filter works, the problem is that it is not respecting the rule.

    The problem continues, when we filter Black and then Red, it combines the two filters.

    I want only the products from the last selected filter to remain.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    September 16, 2024 at 18:10

    Dear Carneiro,

    We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.

    Click here to rate now: https://themeforest.net/downloads

    Thank you sincerely for your ongoing support!

    Best Regards,
    The 8Theme Team

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘Filters don’t follow the “either/and” rule in the store’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.