Custom Taxonomy

Product choose custom taxonomy like category and you can display custom taxonomy in Search Form and Product Detail.

1) Create Custom Taxonomy

Go to Products >> Custom Taxonomy >> Add Taxonomy

Show In Listing: If choosing this, this taxonomy will display in listing of product (Archive Template)

Add Value (term) for a taxonomy

Go to Products >> Custom Taxonomy, a listing of Taxonomies will be showed. If you want add value for a taxonomy, you click the folder icon of that Taxonomy

2) Add Custom Taxonomy in Product

Step 1: Setup Custom Taxonomy in Global Setting

Read here

Step 2: Setup Custom Taxonomy in Category

Read here

Step 3: Add taxonomy in product

Product >> Add New Product

Add Custom Taxonomy in product

3) Display Custom Taxonomy at frontend

a) In Shop/Category Page

  • When create new custom taxonomy, you have to choose "Show in Listing" option.

  • You have to allow to show Taxonomy in Card Setting. Read here

b) In Detail Product Page

You have to allow to show Product Meta setting in Product Details Setting. Read here

c) Display in search form

Go to: WooCommerce >> Settings >> Booking & Rental >> Search Settings

  • Hide/ Show Taxonomy in Search Settings

  • Hide Taxonomy List (slug): Insert Slug of Custom Taxonomy to hide Custom Taxonomy in Drop-down

  • Require Taxonomy List (slug): Insert Slug to make Taxonomy List, and require customers to select taxonomy for searching.

Last updated