# 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="/files/tvhRYy9C73fMj9VwBsPO" 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="/files/Y9hff4QItaaudRGKPHjA" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/fpUNheFOwyvk1GdkPoqm" 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="/files/4bbfVrOy8uB2dX1tf8Js" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ova-themes.gitbook.io/vedhak/accommodation/custom-taxonomy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
