# How To Set Up Product Property By Metafields?

![](https://584379246-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8AcakjwUSIs90OK0GJi2%2Fuploads%2FYn1CTN6p3ImAJftFqEKS%2Fproduct-property-1.png?alt=media\&token=9a810f17-8a85-4d2c-9b43-6452edbeeefd)

## **By Product Metafields**

### **How to add new Product Metafields?**

1. From your Shopify admin, go to **Settings -> Custom Data** **->** **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
```

![](https://584379246-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8AcakjwUSIs90OK0GJi2%2Fuploads%2FGWSrkKA7t8cDBIQc8o0h%2Fproduct-property-2.png?alt=media\&token=efed23aa-c378-40b2-9ba3-3a7fe8b41e46)

### How to insert content for Product Metafields?

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**.

![](https://584379246-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8AcakjwUSIs90OK0GJi2%2Fuploads%2FtZwaZAW211sclOPDw6eK%2Fproduct-property-3.png?alt=media\&token=0520f00a-a30b-49a1-80f4-a76486758195)

```
// Sample

{
  "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/halo-docs/page/bulk-editor-page) to edit multiple products.
{% endhint %}

## **By Variant Metafields**

### **How to add new Variant Metafields?**

1. From your Shopify admin, go to **Settings -> Custom Data** **->** **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
```

![](https://584379246-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8AcakjwUSIs90OK0GJi2%2Fuploads%2FXmRG5upBq7Nvo6KF5LEg%2Fproduct-property-4.png?alt=media\&token=9334b42b-eda7-4db0-9894-2353bde18cfc)

### How to insert content for Variant Metafields?

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**.

![](https://584379246-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8AcakjwUSIs90OK0GJi2%2Fuploads%2FrXg8GoGBiyrzn7oUVJHP%2Fproduct-property-5.png?alt=media\&token=2f880ee5-83c3-438e-8825-a7a8803ab35f)

```
// Sample
{
  "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"
}
```
