# How To Set Up Product Property By Metafields?

<figure><img src="https://3284033180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fag3h7ZduRGWlquTgGUHi%2Fuploads%2F6Fk0GeROhqpBnAGB7hts%2Fproduct-property-1.png?alt=media&#x26;token=2093a670-b6dc-4b42-ad75-ca131d94f405" 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** -> **Custom data**.
2. Click **Products → Add Definition.**

<figure><img src="https://3284033180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fag3h7ZduRGWlquTgGUHi%2Fuploads%2FBuFwpBv2o3fPUJiC4H0F%2Fmeta-field.jpg?alt=media&#x26;token=58a9be46-483a-461d-ba87-7bef16a76dce" alt=""><figcaption></figcaption></figure>

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="https://3284033180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fag3h7ZduRGWlquTgGUHi%2Fuploads%2Fb5lGwvNypDycYZmP84Dg%2Fproduct-property-3.png?alt=media&#x26;token=c069c416-c83b-4665-91b8-06901eadc8a6" 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](https://halosoft.gitbook.io/ella-documentation/product-page/product-information/broken-reference) to edit multiple products.
{% endhint %}

## **By Variant Metafields**

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

1. From your Shopify admin, go to **Settings** -> **Custom data**.
2. Click **Variants → Add Definition.**

<figure><img src="https://3284033180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fag3h7ZduRGWlquTgGUHi%2Fuploads%2FUmggtOawf8J1vftP4CC8%2Fmeta-field-variant.jpg?alt=media&#x26;token=fd16450d-127a-45dd-ac01-f1333de67be2" alt=""><figcaption></figcaption></figure>

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="https://3284033180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fag3h7ZduRGWlquTgGUHi%2Fuploads%2FvBY0MNcYnQJ8IxFjn1Uc%2Fproduct-property-4.png?alt=media&#x26;token=14827746-d4af-4d82-89dd-9717b6734f08" 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="https://3284033180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fag3h7ZduRGWlquTgGUHi%2Fuploads%2FErmpMChoejEg5uop3uD4%2Fproduct-property-5.png?alt=media&#x26;token=d9d53f20-438b-4ec2-975f-96876e9f198c" 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"
}
```
