# How To Set Up Product Property By Metafields?

<figure><img src="/files/8DjJF5pmfSVy7hRS0ww8" alt=""><figcaption></figcaption></figure>

There are 2 ways to set up: **By Product Metafields** and **By Variant Metafields**

## **By Product Metafields**

### **01: Add a new Product Metafield:**

1. From your Shopify admin, go to **Settings** -> **Metafields**.
2. Click **Products → Add Definition.**
3. Please enter correct **Namespace and Key** as we noted below.

```
Name: Product Property or any name.
Namespace and key: c_f.property
Select content type: JSON
```

### 02: Insert the content for Product Metafield:

1. From your Shopify admin, go to **Products -> All products**.
2. Find and choose the product that you want to edit.
3. In the **Metafields**, please enter the content for "**Property**" field with **JSON format**.

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

```
Sample code:

{
  "Width": "182 cm",
  "Height": "182 cm",
  "Depth": "39 cm",
  "Max. Load/Shelf": "13 kg",
  "Article Number": "703.015.42",
  "Package": "1"
}
```

{% hint style="info" %}
You can use [Bulk Editor](broken://pages/KL6PTNrFZtms98ZiKvSF) to edit multiple products.
{% endhint %}

## **By Variant Metafields**

### **01: Add a new Variant Metafield:**

1. From your Shopify admin, go to **Settings** -> **Metafields**.
2. Click **Variants → Add Definition.**
3. Please enter correct **Namespace and Key** as we noted below.

```
Name: Variant Property or any name.
Namespace and key: c_f.property
Select content type: JSON
```

<figure><img src="/files/9pIJLjGyKGFICuhjHmTW" alt=""><figcaption></figcaption></figure>

### 02: Insert the content for Variant Metafield:

1. From your Shopify admin, go to **Products -> All products**.
2. Find and choose the product that you want to edit.
3. Choose variant to edit.
4. In the **Metafields**, please enter the content for "**Variant Property**" field with **JSON format**.

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

```
Sample Codes:

{
  "Width": "70 cm",
  "Height": "76 cm",
  "Depth": "58 cm",
  "Min. Height": "33 cm",
  "Seat Depth": "48 cm",
  "Seat Height": "45 cm",
  "Gross Weight": "14.53 kg",
  "Package(s)": "1",
  "Item Number": "404.556.49",
  "Color": "Yellow",
  "Frame": "Plywood (poplar), polyurethane 35kg/m³, polyurethane 30kg/m³, steel, epoxy-based powder coating",
  "Fixed seat": "Polyurethane 30kg/m³, polyester wadding, highly elastic polyurethane (cold foam) 35 kg/m³",
  "Loose Pillow": "Highly elastic polyurethane (cold foam) 23 kg/m³, polyester wadding",
  "Legs": "Steel, Epoxy/polyester Powder Coating",
  "Material": "100% polyester",
  "Designer": "BINGSTA",
  "Made in": "Swedish"
}
```


---

# 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://halosoft.gitbook.io/bonnita-documentation/product-page/product-information/how-to-set-up-product-property-by-metafields.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.
