, , ,

WooCommerce Custom Taxonomy – Adding And Customizing

WooCommerce Custom Taxonomy is the feature to show extra product data based on a class. It may be your product color, size or may be style.


What is WooCommerce Custom Taxonomy/WooCommerce Custom Field?

Most WordPress beginner face conflict between Custom Taxonomy and Custom Field. So let’s clear the conflict in a brief.

First of all, the both items are used to show extra product data. But there are some types of data we use for each product individually like product title, price, e-mail, maps. In that case use Custom Field.

On the other hand, sometimes we need to classify a group of product like color, size, category etc. Use Custom Taxonomy to classify a group of product.

So you can use WooCommerce Custom Taxonomy and WooCommerce Custom Field to show extra product information. Use Custom Taxonomy to show the info of a group of product and Custom Field to show individual info of a single product.

However, this article is about using Custom Taxonomy. If you want to know more about Custom Field see How to Use Custom Fields?


How to add WooCommerce Custom Taxonomy?

Adding a WooCommerce Custom Taxonomy requires a plugin. There are some plugin to perform that. Among them I suggest to use Custom Post Types and Custom Fields creator – WCK as it is user friendly.

Now I’ll show step by step how to add and show Custom Taxonomy in WooCommerce.

Step 1: Installation the required plugin

First navigate to Dashboard->Plugin->Add New and in the Search Plugin text-box type WCK. There will appear some plugin. Among them install and active Custom Post Types and Custom Fields creator – WCK.


install custom field creator

Installation of custom field creator


Step 2: Create Custom Taxonomy

Follow the steps below to create custom Taxonomy

  • Navigate to Dashboard->WCK->Taxonomy Creator
  • From here create a Taxonomy Name (The name of the taxonomy. Name must not contain capital letters or spaces.)
  • Input the Singular Label
  • Input the Plural Label
  • Select Attach to option. Also Select product if you want to add the taxonomy for product.
  • Select Hierarchical true

And finally add the entry.


create taxonomy

Create custom taxonomy


I want to add custom Taxonomy to my product to show the products color information. So in the picture given above I’ve added a Taxonomy named color and attached it to product.

Step 3: Add product

Now head over to Dashboard->Product->Add New (or edit an existing one)

Input the Product Name in Add New Product text-box.


add product name

Add product name


Step 4: Add Product image

Head over to sidebar and click on Set product image from product image section.


set product image

Set product image


Click on Upload Files->Select Files and select the image file for your product.

After selecting the image file click on Set product image button as given in screenshot.


upload product image

Uploading product image


Step 5: Input the Taxonomy for product

Here the created value taxonomy was Color (in step 2). So at the sidebar there will be a section called Color.

Now we’ll input the value of color for this product. To input the color name click on +Add New Color and input the value in the text-box. Finally click on the Add New Color button.


input color name

Image input color name


Now click on Publish button from top right sidebar.
Click on View Page to see the changes done.

There is a plugin named Woo Product Table Pro by which you can show the Custom Taxonomy in a Product Table in a dynamic way. Using the plugin the product table may look like


 Color variation in product table

Color variation in product table


In the table you can see a column red marked Color showing the color of different product.

So isn’t it easy to make WooCommerce Custom Taxonomy and show the Custom Taxonomy in product table. Whatever I know making some easy tasks beginner falls in problem. If you face any problem please go through the comment section.

, , ,

WooCommerce Filter for Product Table: Adding and Customizing

This is a complete guide about adding and customizing WooCommerce Filter for Product Table.


What is filter in WooCommerce?

Actually filter in WooCommerce is the feature that enable a dropdown to filter your products. The procedure are performed with Ajax that needs no page reload.

So filtering helps to find the desired products more specifically that saves the valuable time of your customer. As a result sells increases with conversion rate.

Why should I use?

Few days back I just need to buy a pair of shoes. So I had look into a Ecommerce site who are famous for exporting worldwide brand shoes, slippers and some other accessories. They have thousands of products in their store which assigned different categories.

I wanted to purchase a pair of casual shoe of size 9 in Black. But unfortunately there was no functionality for filtering product for size. For this I’ve to switch to another site as I was then in a little hurry.

Now let’s see how to add Filter in WooCommerce Product Table.

In this guide I’ve used Woo Product Table pro (the bestselling Product table of CoeCanyon) to use Filter in Product Table. Good news is that you can add filter to product table in three ways. There are:

  • Default filter in Woo Product Table
  • Add Filter by Custom Taxonomy
  • Filter by Custom Fields


Default Filter in Woo Product Table


Now we’ll add WooCommerce Filter for Product Table which is given default. First make a product table. To do navigate to Dashboard->Product Table->Add New Shortcode.

Now customize your table by shortcode post and click update button. Copy the shortcode and paste in a new page.

If you don’t know about using Woo Product Table, please follow  How to Make a WooCommerce Product Table Using Woo Product Table Pro

Let’s have a look how is the product table before using Filter.


Before filter

Before filter


Now we’ll add a filter to the table.

To add filter navigate to Dashboard->Product Table->Add New Shortcode and customize shortcode. Go to Search Box And Filter Tab and in Mini Filter box choose Filter Show(Default).


active filter

Active filter in shortcode


Now update shortcode and paste it to a page or post where you want to show the filter.

shortcode of woocommerce product table

shortcode of woocommerce product table

Here I’ve taken a new page named Filter and pasted the previously copied shortcode in text area. Now publish the page and click on view page.


After selecting filter

After selecting filter


On the top of the table there is a WooCommerce Filter for Product Table by which you can filter your products in Category and Tag.


Add Filter by Custom Taxonomy

There is a good news that you can add WooCommerce Filter for Product Table  by custom taxonomy. Following the five steps given below you can do that very easily.

Step 1: Installation plugin

To add filter by custom taxonomy we need to install an additional plugin to create custom taxonomy. There are some plugins in wordpress to do that. I’ve used  Custom Post Types and Custom Fields creator – WCK.

Navigate to Dashboard->Plugins->Add New search for  Custom Post Types and Custom Fields creator – WCK.


wck plugin installation

Custom field plugin


Install and activate the plugin.


Step 2: Create Custom Taxonomy

Go to Dashboard->WCK->Taxonomy Creator

Select the name of the taxonomy (must not contain capital letters or spaces), Singular Label and plural Label. Then choose Attach to Page/Post/Product.

Here I’ve chosen product as I’ll show it for product. Select Hierarchical True and click on Add Entry.


create taxonomy for filter

Create custom taxonomy


To see more on using Custom Taxonomy please see Custom Taxonomy in WooCommerce


Step 3: Add Taxonomy to Products

Now Navigate to Dashboard->Products->All Products and edit the products you want to do.

At the right sidebar you’ll get the taxonomy what you have created before.

add taxonomy to product

Add taxonomy to product


Click on Add New(Taxonomy Name) and input the value. Then click on on Add New (Taxonomy Name) button.


Step 4: Customize in Shortcode  Configuration

Now navigate to Dashboard->Product Table->Add New Shortcode->Search Box And Filter.

In Taxonomy Keywords for Filter (Separate with comma[,]) type your taxonomy name. In the box there is color and size for taxonomy that we created in taxonomy creator and product_cat and product_tag for default taxonomy in Product Table Plugin.

Remember here, each taxonomy must be separated with comma.


add category tag in filter for product table

Customize in Shortcode Generator for Custom Taxonomy


In the given screenshot color and size are for custom taxonomy. The rest of two are for WordPress default Taxonomy Category and Tag.

Step 5: Use the Shortcode

Update shortcode and paste to a page/post and publish it. Go go View Page to look the change.


add all filter in product table

Custom taxonomy in filter

So in table shown above you can see a WooCommerce Filter for Product Table.

Filter from Custom Field

There is a great news that in WooCommerce Product Table plugin you can use Custom Fields. You can use Advanced Custom Fields with this WooCommerce Filter for Product Table to show extra product data.

With the comparability of Custom Field it can be used to Filter products. Isn’t that awesome.

When there are too many products in product table to find the exact desired one, customer can find by Filtering products from table.

You can make a WooCommerce Filter for Product Table in easy three steps.


Step 1: Install and Configure Advanced Custom Fields

Install and activate Advanced Custom Fields plugin from WordPress Plugins root directory.



There are some customization needed to use Advance Custom Field.

To know about creating and customizing Custom Field please see How to Use Custom Field in WooCommerce Product Table Pro.

Step 3: View the Table

Then update the page and from the top of the page click on view page.

Then there will be a additional column say Brand. And the Product table may look like after adding the custom field:


Custom Field in product table

Custom Field in product table


So here an extra column has appeared than before named Brand. I hope you’ve got it customizing WooCommerce Filter for Product Table.