• Resolved Julien

    (@juju81)


    Hello,

    I am searching without success how I can make a filter hide/show by conditional logic based on another filter’s custom fields.

    I would like to filter models, for that I have custom fields for height, bust, waist, hips… both in metric unit and imperial unit. I would like to create a radio button with 2 choices: metric and imperial. depending which measurement unit is chosen, the height, bust, hips filters using this measurement unit will appear.

    I created 1 separate filter for each measurement unit, with only 1 checkbox, and I make each filter parent of others filters depending their measurement unit. The issue is it is possible to check metric filter AND imperial filter at the same time this way, resulting in too many duplicated filters.

    Can you tell me if there is a way to do it with your plugin?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author stepasyuk

    (@stepasyuk)

    Hello @juju81

    Sorry for the late response.

    In case if your models have both data (metric unit and imperial unit) stored in their post meta fields you can create two Filter sets with filters by different units. Also if you are familiar with JavaScript you can create simple switcher (with radio button) that shows/hides appropriate Filter Set. Or you have to ask a developer to help you with this switcher.

Viewing 1 replies (of 1 total)
  • The topic ‘Is it possible to make a filter child of a custom field of another filter?’ is closed to new replies.