# Product Metafield

**Metafield** is a simple piece of code to display data that can be used on products and pages.

The discussion about **Metafields** is long. For this tutorial, there is more on the built in **Metafield** that has been embedded in the :&#x20;

* **Solaris** theme&#x20;
* **Hartamas** theme.
* **Tampin** Themes.

See an example of the built-in **Metafield** for custom labels.

See the orange "Fast Selling" label which is a built-in custom label that can be used in each online store.

![](/files/-MGqrx949dwAqD_49_vz)

## Set up Product Metafield

1. Log in to the Shoppego dashboard and click on **Online store**.

![](/files/VCvdwwBNMP2Wl4iZzvCi)

2. Then click on **Metafields**.

![](/files/xhRd6GFDD3e1l0KTyHu3)

3. Then click on **products**.

![](/files/-MkeNPTllxhz3jirQvUr)

4. Select the name of the product for which you want to display the custom label and click on the product name.

![](/files/-MkeNg30lzZBMfkZtJKL)

5. Next click the **Add Metafield** button

![](/files/-MkePGZ6fKwzsVRgCjvD)

## Add a metafield

6. Fill in the information in the Key and Namespace fields just like the picture below, that is:
   * **Key** : custom
   * **Namespace** : label
   * **Value Type** : String
   * **Value** : **New Arrival** or **according to your creativity**.
7. Next click the **Save** button.

![](/files/-MkeQYhRbm8U-6qWHyta)

7\. Go back to your store front and see the results on the homepage, a New Arrival label will be displayed on the product you have specified.

![](/files/-MGqsSTaNH1tyGeeH85B)

## Additional Information&#x20;

* Only **one label** can be added to **one product**.&#x20;

## Color Label Product Metafield Changes&#x20;

To change the **color of the product label in Themes**, you can go to:&#x20;

<mark style="color:blue;">**Solaris**</mark>: Dashboard Overview -> Online Stores -> Installed Themes -> Customize **-> Homepage Settings -> Custom Label Color.**&#x20;

<mark style="color:blue;">**Hartamas**</mark>: Dashboard Overview -> Online Stores -> Installed Themes -> Customize **-> General Styling -> Label Color.**&#x20;

<mark style="color:blue;">**Tampin**</mark>: Dashboard Overview -> Online Stores -> Installed Themes -> Customize **-> Homepage Settings -> Custom Label Color.**&#x20;

{% hint style="info" %} <mark style="color:red;">**Attention**</mark>: If changes do not take effect, you can try **clearing your browser cache** and **restarting your browser.**
{% endhint %}

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

The result will be displayed as below :&#x20;

<figure><img src="/files/u6f7fBSui5HBnJzcQ8se" 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://docs.shoppego.com/en/online-store/metafields/product-metafield.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.
