Product Filters: Only show relevant options to current category

Hello,

Is it possible to only show relevant filter options that match the current category?

For example, one category may be for shoes and want to show a "brand" filter.

I'd like only brands that are assigned to products in "shoes" to appear here... not ones that don't make shoes that are in use for clothing.

Right now, an option to filter by brand is showing, but clicking on it shows no results. The option would be best excluded to avoid this poor UX.


Also... could we have the below options moved from the overall element into the individual filters? It would be good to have control of each one to show/hide:

Finally, where there's a "See more", can we have control over whether this shows on a per-filter level?

Comments

  • Hi,

    1) It should already work like that.

    Can you attach a link to your website so we can take a closer look at this?

    2) I will pass it on to the dev team, and we will consider adding that.

    3) Can you explain that in more detail, please?


    Thanks

  • Thanks Phil.

    1) I'll be in a position to share a link soon - it's local dev at the moment.

    2) thanks

    3) When there are lots of terms in a filter, only the first 10 are shown, then "See more" appears.

    That then has a toggle within a toggle.


  • 1) Thanks

    3) I will pass it on to the dev team as well.


    Best regards

  • Hi Phil,

    You can see the issue at [Links visible only for registered users]

    I have pre-selected a brand that is not in this category.

    The brands system in use is [Links visible only for registered users]

    Configured as below:


  • Your brands are taxonomies, just like categories, so for the filters, they are equivalent.

    If you would like it to show only brands that exist in a particular category, you should turn your brands into attributes.


    Best regards

  • Thanks.

    So the Betheme filters cannot filter on taxonomy?

    By extension, does that mean we cannot have context aware filtering by category? This is especially useful for hierarchical category structures to allow for an easier browsing experience.

    Other filter plugins offer this functionality.

    It is not feasible to drop brands as a taxonomy and have as an attribute. There must be archive pages for brands.

    If not possible now, is it something that can be included in thebfuturem

  • I understand your point, but I need to clarify how the filtering logic works in this context. It's important to keep in mind that "Product Categories" and "Brands" are both separate taxonomies within WordPress/WooCommerce. Technically, they are equivalent (on the same hierarchical level) rather than being nested or dependent on one another.


    Because they are parallel taxonomies, the filter does not have a native "parent-child" relationship between a specific category and a specific brand. Therefore, there is currently no built-in way to automatically exclude brands that do not have products assigned to the category you are currently browsing. The filter simply displays all available terms from the "Brands" taxonomy.


    I hope this helps clarify the underlying structure.


    Best regards

  • Thanks, I understand.

    Unfortunately, I'll have to switch to a plugin for now then, as customers of the store will require the ability to filter by brand.

    If it can be added for future consideration, that'd be appreciated.

  • We will take your suggestion into account and check what can be done in this matter.


    Best regards

  • Greatly appreciated!

    The BeTheme filters would certainly be the preferred option!

  • I've noticed that product attributes are showing up as filterable options, but show no products when the filter is applied.

    You can view this filtered page at [Links visible only for registered users]

  • Please send us the WordPress dashboard and FTP access privately through the contact form, which is on the right side at [Links visible only for registered users], and we will check what the reason might be.

    Notice!

    Please attach a link to this forum discussion.

    Sending incorrect or incomplete data will result in a longer response time.

    Therefore, please ensure that the data you send are complete and correct.

    Thanks

  • Thanks - details sent

  • Did you send two messages? I am asking because the person who manages the mailbox forwarded only one message to me, without passwords.


    Best regards

  • Yes, two

  • Could you resend your second message along with a link to this forum discussion, please?


    Thanks

  • Done, thanks.

  • We are checking that now.

    I will let you know when we find anything.


    Best regards

  • Please check it out now. We have made changes on your website.

    For filters, we determined that attributes from parent categories should be included 'include_children' => true.

    We are considering adding an option for that in the Filters element, but we must check what the best approach will be for that.


    Best regards

  • Thanks - with the fix you put in place, the brand taxonomy filtering is working too.

    Please let me know your consideration for updates so I understand if I can safely update.

  • We will add an option for that in the Filters element in the upcoming update.


    Best regards

  • Hello, after the fix, the brands taxonomy filtering was working - now after the most recent update, it is back to showing brands not in the current view.

    Also, I've added a "Price range" slider.

    It, too, is not considering the current view - bringing in a maximum price that is of a product not shown in the loop.

    You can see this at [Links visible only for registered users]

    Could you advise what has changed from the version that was applied to the one that has shipped?

    Thank you.

  • Do you have the following option enabled in your Filters element?:

    Best regards

  • Thanks, that works - other than the price range still taking the prices of the full catalogue, rather than the current view.


  • This will be fixed in the next update.


    Best regards

  • Thank you!

  • Hi everyone! I'm struggling with an issue that I can't seem to solve. I have a WooCommerce store built with BeTheme, and the shop is split into two main custom pages/categories. I want each of these pages to have its own independent product filtering system showing only specific, selected categories.

    For example:

    • Page 1 should only display filters for categories like coffee, tea, ceramics.
    • Page 2 should only display filters for categories like wine gift sets, mug gift sets, etc.

    The built-in BeTheme filters only work globally—I cannot exclude or hide specific categories from appearing in the filter list. I’ve already tried using plugins like Husky (WOOF) and Product Filters for WooCommerce, but with no success; they still display all store categories instead of just the selected ones.

    On top of that, whenever a filter is applied, the layout breaks: instead of staying on my custom BeTheme template, the results load on the default global WooCommerce Shop page, and there is no way to reset/go back easily.


    Has anyone dealt with this or knows a workaround? Any help would be highly appreciated!

  • Hi @Ogrodnik1,

    As a workaround, instead of using the Filters element, you can create two separate menus and then add them to your shop template.

    Then, with conditional logic set to show one menu on a particular page and the second menu on another page.

    Best regards

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.