> For the complete documentation index, see [llms.txt](https://docs.globo.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.globo.io/filter/year-make-model-ymm-form/configure-ymm-metafield-values.md).

# Configure YMM metafield values

✨If you're using **metafields** as the data source for your Year – Make – Model (YMM) search form, it's important to format the metafield values correctly so the dropdowns work as expected.

This guide will walk you through exactly how to structure those values.

***

### ⚡️1. Rule to define product metafields

You should create a product metafield based on the below rules:

* Metafield's namespace is **custom**
* Metafield's key has to start with **vehicles\_**

> Example:\
> product.metafields.<mark style="color:red;">**custom.vehicles\_**</mark>year \
> product.metafields.<mark style="color:red;">**custom.vehicles\_**</mark>make \
> product.metafields.<mark style="color:red;">**custom.vehicles\_**</mark>model

* Use a **List of values** instead of **one value**

<figure><img src="/files/GvPUD7eg5KFgggiIbc8I" alt=""><figcaption></figcaption></figure>

***

### ⚡️2. Why is the above rule important?

When using metafields for your YMM form, the values in your product metafields determine what options appear in the dropdowns. The app reads this information to create links between the fields, for example, to show the correct Model and Year options after a Make is selected.

***

### ⚡️3. Where to add these product metafield values?

Each product’s metafield data set must include the **full combination of Year, Make, and Model.**

#### ✅ Example:

* `2020|Toyota|Camry`
* `2021|Toyota|Camry`
* `2021|Toyota|Corolla`

You’ll need to add the values above to the metafield field you’re using for YMM.&#x20;

<figure><img src="/files/0xz0io29Oc7G6kw28cle" alt=""><figcaption></figcaption></figure>

***

### ⚡️4. Video instructions

<https://www.youtube.com/watch?v=TCrQuF6n2zw&t=13s>

***

### ⚡️5. Tips

* Be consistent with spacing and spelling — e.g., `Toyota` is not the same as `toyota`.
* Make sure every product that should appear in the YMM search has these metafield values added.
* Use the same metafield definition and format across all relevant products.

***

### 🎉  You’re Done!

Once you’ve added these values to your products, your YMM filter will automatically show the correct Model and Year options based on the selected Make.

***

## 💬 Need Help?

Not sure how to define your metafields or can’t find the right setting? Reach out to us at **<contact@globo.io>** — we’re here to assist you.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.globo.io/filter/year-make-model-ymm-form/configure-ymm-metafield-values.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.
