BUilt in filtering- taxonomy as a filter source on category and subcategory archive pages

This topic has 2 replies, 2 voices, and was last updated 12 hours, 2 minutes ago ago by Andrew Mitchell

  • Avatar: S
    S
    Participant
    April 27, 2026 at 02:02

    Hi XStore team,

    We are building a WooCommerce store using XStore and have a question about the built-in filter widget.

    We are thinking to register a custom taxonomy called product_application (rewrite slug: solutions) on the product post type via functions.php. We need the XStore filter widget to use this taxonomy as a filter source on category and subcategory archive pages — the same way it handles etheme_brands and WooCommerce global attributes.

    Specifically we need to confirm:

    1. Can the XStore filter widget be configured to read from a custom taxonomy we registered ourselves (product_application), not just built-in taxonomies like etheme_brands?
    (1. Does the XStore filter widget automatically pick up custom taxonomies registered via functions.php, or does it only read its own built-in ones (etheme_brands, product_cat)?)

    2. If yes, how do we add it as a filter source — is it available in the filter widget settings automatically once the taxonomy is registered, or does it require additional configuration?

    3. Does the filter widget support showing only relevant attribute values based on the current category or subcategory context (i.e. on /products/pumps/submersible-well-pumps/ it only shows brands and attributes that exist within that subcategory)?

    If the built-in filter cannot support a custom taxonomy as a filter source, please let us know whether FacetWP or WOOF is the recommended third-party solution for this use case with XStore.

    Thank you.

    1 Answer
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 27, 2026 at 06:35

    Hello, S,

    Thank you for contacting us and for choosing XStore for your WooCommerce project.

    Regarding your inquiry about the built-in filter widget and custom taxonomies:

    1. The XStore filter widget is primarily designed to work with WooCommerce’s default taxonomies (such as product categories, product tags, and global attributes) as well as the built-in etheme_brands taxonomy. It does not automatically detect or include custom taxonomies registered via the functions.php file.

    2. Additional customization is required for this functionality. You can find a link to the customization options in the private content section.

    3. Yes, it is possible. However, this functionality is disabled by default to improve the theme’s performance. You can enable it by adding the following filters to the functions.php file of your child theme:

    add_filter('et_swatch_filter_check_empty_tax', '__return_true');  
    add_filter('etheme_widget_product_brands_cache', '__return_false');  
    add_filter('etheme_is_category_check', '__return_true'); 

    Please let us know if you need any further assistance with the implementation.

    Best regards,
    8Theme Team

    Content is visible for topic creator and
    support staff only.
  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

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