WOOF by Category is an extension for WooCommerce Product Filter (WOOF). It shows a different set of WOOF filters in different WooCommerce product categories. The plugin is developed by KAGG Design.
Features
- An options page to link any product category to any set of WOOF filters
- The selected filters are shown on the category page and on the pages of its child categories
- Any number of category and filter set pairs
- Compatible with WPML
Links
- The plugin on WordPress.org, with the description, screenshots and the support forum
- The repository on GitHub
- Our post about compatibility with WPML
For developers
Two filters change the behaviour without editing the plugin: wbc_allowed_filters changes the set of filters for the current categories, and wbc_product_categories adds taxonomies that work as categories.
// Filter sets for product brands too.
add_filter(
'wbc_product_categories',
static function ( array $taxonomies ): array {
$taxonomies[] = 'product_brand';
return $taxonomies;
}
);