Navigation überspringen

Adding a Custom Taxonomy to WooCommerce Products

A custom taxonomy lets you further organize your products. It’s like product categories but it provides another level of grouping your products.

Selecting a custom taxonomy term when editing a WooCommerce product
Selecting a custom taxonomy term when editing a WooCommerce product

For example, you can use standard product categories to classify products by types (heels, boots, sandals, slippers, etc.) and use a custom taxonomy to classify your products by departments (Women, Men, Children).

Steps for adding a custom taxonomy to products

  1. Go to the Toolset Dashboard page and click the Add custom taxonomy button in the Product row.
  2. Enter the plural and singular name for your taxonomy. The slug is created automatically.
  3. Click the Save Taxonomy button.
Adding custom taxonomy to WooCommerce Products
Adding custom taxonomy to WooCommerce Products

Your new taxonomy will now appear in the main WordPress admin menu under the Products section.

Go to this taxonomy page to add your actual categories to it. These categories are called taxonomy terms.

Custom taxonomy for products: Departments and its terms: Childresn, Men, Women
Custom taxonomy for products: Departments and its terms: Children, Men, Women

How to display custom product taxonomy

You can easily display custom product taxonomies using Toolset blocks. Usually, you would do this when designing single-product templates or product archives like the Shop Page.

Use the following steps to display custom taxonomy information:

  1. Insert a Toolset block to display the taxonomy. For example, you could use the Toolset Single Field block.
  2. In the right sidebar, select Taxonomy for the Field Type option and then use the Post Taxonomy dropdown to select your custom taxonomy.
  3. In the right sidebar, use the Field Options, Typography, and other sections to design the output for taxonomy information.
Using the Toolset Single Field block to display information coming from a custom Product taxonomy
Updated
November 16, 2020