• Resolved Roberto Ibarra

    (@marsrober)


    Is there a way to use conditional logic?
    Like if I select Cat A I will have x options for Cat B, but if I select another category at the first option, other options are showed for the second category and so on.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nick McReynolds

    (@woobewoo)

    Hello @marsrober,

    Please describe the issue with a specific example, with screenshots or a link to the page with example.

    It is not entirely clear how this should work, because if you select the category “A” in the filter, then the products of the category “B” will not be displayed, as well as the part of the filter concerning the category “B”.

    Or do you mean a category page and not a filter item?

    More: https://woobewoo.com/documentation/attribute-filter-settings/

    Thread Starter Roberto Ibarra

    (@marsrober)

    Hi @woobewoo

    It’s a car selling eCommerce.
    All products will have 3 categories like Brand -> Model -> Year
    So I have a filter with 3 category dropdowns and I want to change Model options depending on Brand selections, so, for example, if I select Volkswagen, then I will have A, B, C Models to select, but if I select BMW I will have other options for Model.
    Is it more clear?

    Thanks!

    Plugin Author Nick McReynolds

    (@woobewoo)

    Hi,

    Turn on “Hide attributes without products” – https://joxi.ru/RmzyYVMuj0Lndr then, when you select VW you will see only those attributes that VW has, the attributes concerning BMW will be hidden.

    Thread Starter Roberto Ibarra

    (@marsrober)

    We are almost there.
    With that option anytime I choose a category I have to push search to achieve that behavior.
    I mean, I select VW as the first category (brand) but it shows all models until I press search. If I don’t press search for each category I select it doesn’t do what I wanted to do.
    So each time I select a category I have to press search in order to achieve the “hide attributes without products” and that’s not a good experience for the user. The idea is to press search when I have selected all categories.

    I hope you can understand what I mean.
    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Conditional logic’ is closed to new replies.