WOOF by Category

Description

WOOF by Category is a WooCommerce Product Filter (WOOF) extension, which allows user to set up different WOOF filters in different categories.

Plugin has options page on the backend, to setup relationships between any WooCommerce product category and any set of WOOF filters. Only selected filters will be shown on the selected category page and its children. Please see screenshots.

It is possible to set up any number of category->filters pairs.

Screenshots

  • The WOOF by Category settings panel.
  • Plugin filters (Color and Material) on an "Assumenda" category page.
  • Plugin filters (Size and Weight) on a "Quisquam" category page.

Installation

Minimum Requirements

  • PHP version 5.6 or greater (PHP 7.3 or greater is recommended)
  • MySQL version 5.0 or greater (MySQL 5.6 or greater is recommended)
  • WooCommerce 3.0 or greater
  • WooCommerce Product Filter (WOOF) plugin

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself, and you don’t need to leave your web browser. To do an automatic install of WOOF by Category, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type “WOOF by Category” and click Search Plugins. Once you’ve found our plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”.

Manual installation

The manual installation method involves downloading our plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains instructions on how to do this here.

Updating

Automatic updates should work like a charm; as always though, ensure you backup your site just in case.

FAQ

How to use additional product taxonomies, not only product_cat?

Add this code to your theme’s functions.php file:

function wbc_product_categories_filter( $categories ) {
    return array_merge( $categories, [ 'tax-1', 'tax-2' ] );
}

add_filter( 'wbc_product_categories', 'wbc_product_categories_filter' );

where tax-1, tax-2, are additional product taxonomies to use with the plugin.

Where can I get support or talk to other users?

If you get stuck, you can ask for help in the WOOF by Category Plugin Forum.

Reviews

December 8, 2019
The plugin does not do what its suppose to do. You can check in the forum that many users have questions but the author Dismisses them in lacunae. Too bad, could have been a helpful plugin.
September 25, 2019
Весьма удобный плагин, рекомендую! Лишь одна пока замечена проблема - видна Шапка фильтра для тех категорий в которых фильтр не используется
July 30, 2019
Хорошая попытка. В нужных категориях показывает нужные фильтры. А в остальных категориях (где фильтры не должны появляться) я вижу пустой блок с заголовком фильтра. Мой запрос (показ фильтра только там, где он вручную указан) этот плагин не решил. Оттого зря потраченное время на тестирование. Оттого и 3 звездочки.
Read all 13 reviews

Contributors & Developers

“WOOF by Category” is open source software. The following people have contributed to this plugin.

Contributors

“WOOF by Category” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “WOOF by Category” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.6.1

  • Fixed the bug with disappearing filters on shop page with ajax.

2.6

  • Added filter to use additional product taxonomies, not product_cat only

2.5.1

  • Fixed php warning in woof_sort_terms_before_out_filter().

2.5

  • Added filtering of unused terms to improve performance

2.4

  • Added compatibility with WOOF v2.2.3

2.3

  • Added Polylang support
  • Fixed bugs in ajax filter
  • Tested with WordPress 5.3
  • Tested with WooCommerce 3.8
  • Required minimal PHP version set to 5.6

2.2.1

  • Fixed php warning in class-woof-by-category.php on line 371

2.2

  • Significantly improved performance on sites with a long list of product categories.
  • Tested with WordPress 5.2
  • Tested with WooCommerce 3.6

2.1

  • Added breadcrumbs for categories.

2.0.2

  • Tested with WordPress 5.1

2.0.1

  • Fixed – Bug when plugin was installed after WPML.
  • Tested up to 5.1
  • Performance optimized.

2.0.0

  • Compatibility with WPML.
  • Fixed php warning when no settings are in WOOF.

1.6.8

  • Tested with WooCommerce 3.5

1.6.7

  • Fixed – Attribute archive pages redirect to homepage.

1.6.5

  • Fixed – Attributes disappear in the WOOF widget.

1.6.4

  • Fixed php warning / notice upon first activation on array_values().
  • Tested with WooCommerce 3.4

1.6.3

  • Fixed 2 php warnings upon first activation.
  • Fixed php notice on array_pop().

1.6.2

  • Fixed filter disappearing in widget on category page during attributes selection clearing.
  • Fixed filtering of main WordPress request in admin.

1.6

  • Fixed filter disappearing in widget on category page.

1.5

  • Added automatic plugin deactivation if WooCommerce or WooCommerce Product Filter plugins are not activated.
  • Tested with WooCommerce 3.3.

1.4

  • Fixed setting of proper filters in AJAX mode.

1.3.3

  • Fixed php warning during execution.

1.3.2

  • Fixed blocking of all filters when “Try to ajaxify the shop” in WOOF is selected.

1.3.1

  • Added auto ordering of category-filter pairs on plugin options page.

1.3

  • Fixed sub-category overrides.
  • Added donate link.
  • Added donate button on the plugin options page.

1.2.1

  • Added information on WooCommerce version compatibility.

1.2

  • Added selection of filters for top shop page.
  • Added settings link on plugin page.
  • Fixed wrong behaviour when selected filters did not cover the whole set.
  • Fixed crash when WooCommerce plugin is not activated.

1.1

  • Added admin messages on plugin activation.
  • Added description and screenshots.

1.0

  • Initial release.