• Resolved kwebdesign

    (@kwebdesign)


    I have a Wiper Blades category containing a lot of products, which needs Make and Model filtering options. This is just an example of many product categories.

    After you’ve selected a Make, I don’t want irrelevant entries listed in the Model filter.

    I’ve looked into hierarchical attributes, but I don’t think this will resolve my issue.
    I really need to be able to create conditional attributes.

    I’ve looked into various plugins…
    https://learnwoo.com/woocommerce-product-filter-plugins/
    They all appear to focus on the front end filtering and not the back end admin.

    I need an option to enable Conditional Logic when adding an attribute term.
    E.G. When I’m adding a Model attribute term, I want to be able to say only applicable if Make equals a certain value.
    I’m assuming if the attributes were set up this way, there wouldn’t be any need to modify the Product Attribute assignment screen.
    E.G. The Models would be bundled together in the admin. However, once the Make has been selected on the front end, the conditional logic behind the Attribute Terms, ensures only relevant Models are displayed.

    Am I going about things incorrectly? Can anyone suggest a solution?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    E.G. The Models would be bundled together in the admin. However, once the Make has been selected on the front end, the conditional logic behind the Attribute Terms, ensures only relevant Models are displayed.
    Am I going about things incorrectly? Can anyone suggest a solution?

    You give a good description, unfortunately I have never seen any kind of faceted filtering that works in the backend.
    Advanced product filters that fit your description need fancy / shmancy Javascript to realise the effects and also the faceted filtering. I suspect that is why you are not finding any solutions for the backend.

    The next best thing that comes to mind is setting up custom admin columns: https://www.ads-software.com/plugins/codepress-admin-columns/

    Kind regards,

    Thread Starter kwebdesign

    (@kwebdesign)

    Thanks for your reply, but I’m not sure I have given a good enough description.

    I want the filtering to take place on the front end, but without modifications to how attributes are configured in the back end, I can’t see how conditional filters would be possible.

    Maybe attributes aren’t the best way of achieving these filtering requirements.

    As the stock isn’t being monitored, a workaround would be to duplicate products for each relevant Make. That way, each Make would just have applicable Model attribute terms applied. I’m hopeful that a better solution is available, rather than listing the same product multiple times.

    I’ll try and further clarify with another example…
    A single product applies to 2 Makes. Make A and Make B.
    The same product applies to 3 Models.
    2 of the Models relate to Make A and 1 Model relates to Make B.
    Make A is selected in the Make filter.
    All 3 Models are still displayed in the Model filter.
    At this point, the Model relating to Make B should be removed.

    Plugin Support con

    (@conschneider)

    Engineer

    Thanks for your reply, but I’m not sure I have given a good enough description.

    Went off in the wrong direction with my reply from the start. I see ;).

    I’ll try and further clarify with another example…
    A single product applies to 2 Makes. Make A and Make B.

    Ok so a single product can come up as a result in two different criteria at the same time. How about: https://facetwp.com/

    Does that go into the right direction?

    Thread Starter kwebdesign

    (@kwebdesign)

    Thanks, but that option also doesn’t appear to provide conditional filtering either.

    I’ve now created a custom solution.

    I’m surprised no one has delivered this functionality to WordPress yet.

    Plugin Support abwaita a11n

    (@abwaita)

    Hi @kwebdesign,

    >I’m surprised no one has delivered this functionality to WordPress yet.

    Would be nice to suggest it on the WooCommerce ideas board.

    >I’ve now created a custom solution.

    Glad to hear it – thanks for letting us know!

    I’ll mark this thread as resolved now. If you have any other questions, please feel free to create a new thread.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WooCommerce Product Filtering with Conditional Options’ is closed to new replies.