> For the complete documentation index, see [llms.txt](https://ova-themes.gitbook.io/vedhak/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ova-themes.gitbook.io/vedhak/accommodation/custom-taxonomy.md).

# Custom Taxonomy

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

## 1) Create Custom Taxonomy <a href="#id-1-create-custom-taxonomy" id="id-1-create-custom-taxonomy"></a>

Go to **Products >> Custom Taxonomy >> Add Taxonomy**

<figure><img src="https://3028035080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCn882iXNlFdOzfgUWR1w%2Fuploads%2Fts6KQC7VYpQ5kq3RU4Re%2FScreen%20Shot%202024-08-23%20at%2018.02.00.png?alt=media&amp;token=66c10b8e-4781-40a2-96ec-382cd1b92b5b" alt=""><figcaption></figcaption></figure>

**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

<figure><img src="https://3028035080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCn882iXNlFdOzfgUWR1w%2Fuploads%2FRyP1SdCLpntPXEnoGwBI%2FScreen%20Shot%202024-08-23%20at%2018.02.38.png?alt=media&amp;token=a2aba98d-e076-4bd8-a2e3-52f00a572acb" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3028035080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCn882iXNlFdOzfgUWR1w%2Fuploads%2Fol1XQ9foymUSg4Mw1QO4%2FScreen%20Shot%202024-08-23%20at%2018.03.12.png?alt=media&amp;token=fed5b1d1-b1ba-4ce1-b735-3ed3207aa117" alt=""><figcaption></figcaption></figure>

## 2) Add Custom Taxonomy in Product <a href="#id-2-add-custom-taxonomy-in-product" id="id-2-add-custom-taxonomy-in-product"></a>

#### Step 1: Setup Custom Taxonomy in Global Setting <a href="#step-1-setup-custom-taxonomy-in-global-setting" id="step-1-setup-custom-taxonomy-in-global-setting"></a>

WooComemrce >> Settings >> Booking & Rental >> General >> Show Taxonomy depend Category: Yes/No

#### Step 2: Setup Custom Taxonomy in Category <a href="#step-2-setup-custom-taxonomy-in-category" id="step-2-setup-custom-taxonomy-in-category"></a>

[Read here](/vedhak/accommodation/create-category.md)

#### Step 3: Add taxonomy in product <a href="#step-3-add-taxonomy-in-product" id="step-3-add-taxonomy-in-product"></a>

Product >> Add New Product

## 3: Display Custom Taxonomy at frontend

### 1: Display in search form element

<figure><img src="https://3028035080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCn882iXNlFdOzfgUWR1w%2Fuploads%2FLEJEyDZRXIKzjzO72D8t%2FScreen%20Shot%202024-08-23%20at%2018.11.46.png?alt=media&amp;token=f9efa6e0-c589-4d0f-b476-d6f9f48cd098" alt=""><figcaption></figcaption></figure>
