Product categories settings and filtering

In this tutorial, we will consider the main steps to set up the product categories.

Each product you’re planning to sell should be listed as a WooCommerce product.

Create the Categories

In order to set the product Categories, move to the WooCommerce -> Products – Attributes section:

Product categories for your store can be managed here. To change the order of categories on the front-end you can drag and drop to sort them.

Set a name (f.e. Sale), a slug, select parent category and fill description (optional) and press the “Add new category” button. A new category will appear in the list.


Add the Category to the product

Open a product, move to the right panel, Categories section, and add new category/select Parent category:

woocommerce product categories

Also, you can add a new category as well. Notice, that you can add more than one category for each product.

Here you can see a short video instruction step by step:


Categories Filter settings

Now you can use created attributes for filtering by Categories in the Product Filter Plugin:

Categories Product Filter

Here you can:

  • Put Filter title and description.
  • Show in front-end as checkbox list or drop-down. Depending on whether you need one or several categories to be available at the same time, you may show your categories list as checkbox or drop-down.
  • Hide categories without products. Do not show filter option if there are no products with such category.
  • Set a Drop-down label. 
  • Sort by. Here you may set categories sorting by ascending or descending price.
  • Order by custom. Categories are displayed according to the order of their selection in the input fields.

  • Show hierarchical. Show paternal and subsidiary categories (for checkbox list).
  • Enable Show count.
  • Product categories. Here you may select product categories to be displayed on your site from the list. If you want to select several categories, hold the “Shift” button and click on category names. Or you can hold “Ctrl” and click on category names. Press “Ctrl” + “a” for checking all categories.
  • Exclude terms ids. Here you may exclude category terms from the filter by ids. Example input: 1,2,3
  • Show search – enable if you need to add a field for searching  by categories 
  • Maximum height. Set maximum displayed height on front-end.
  • Hide child. Hide child taxonomy.

Categories
Latest Articles