# Siblings collection

> Feature introduced in Story 3.2.0

The second required metafield is **`theme.siblings`**&#x20;

```
theme.siblings
```

The content type is: Text, Single line text.&#x20;

This metafield maps each product to the correct collection handle for the siblings. The metafield is used to indicate which custom collection the product belongs to.

Here's an example of a Collection we've created for in the Shopify Admin -> Collections. The collection name will later be used when mapping with the `theme.siblings` metafield:

![](https://798529998-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frse2xho0gVJCQ27Qc08u%2Fuploads%2FDTZekYzTPpIS09GbwH1m%2FScreen%20Shot%202022-06-01%20at%207.17.38%20PM.png?alt=media\&token=d4084db1-740a-459b-a4c9-8d0a9599ca6c)

Back to creating the next metafield under Settings -> Metafields. Start by defining a **Products** metafield and name it **Siblings collection**. Then change the Namespace from `my_fields` to `theme` and the key to simply `siblings`.

{% hint style="info" %}
Important step: Rename **`my_fields`** to **`theme`**

And the key to **`siblings`**
{% endhint %}

![](https://798529998-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frse2xho0gVJCQ27Qc08u%2Fuploads%2FgvMPYFn5S9DlWF5CckfK%2Fsibs_collection1.gif?alt=media\&token=0a14bde8-bb6d-4b6e-a4c2-2a2f56fc0664)

Next, add a description. You can name this one *Collection handle for siblings*. Then click on **Select content type** and choose **Text**, **Single line** as the type:

![](https://798529998-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frse2xho0gVJCQ27Qc08u%2Fuploads%2FFa7B6bDgKDPMZ15eQRRK%2Fsibs_collection2.gif?alt=media\&token=940ab9c9-df7b-4610-8767-2fe1a2412c22)

**Save** the definition.&#x20;

### Check the saved metafield

Your second metafield should look like this:

![](https://798529998-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frse2xho0gVJCQ27Qc08u%2Fuploads%2FaDo4Do0RnxK3PL4GKRXF%2Fsibs_collection3.png?alt=media\&token=b8ccbe24-42e5-45d1-90e0-23c81193c723)

{% hint style="success" %}
Please ensure you change the Namespace and key to this custom version for Story:\
\
\&#xNAN;**`theme.siblings`**\
\
By default, the namespace begins with **`my_fields`**. This will need to be changed to **`theme`** and also trim the key to just **`siblings`**.&#x20;
{% endhint %}

The content type is **Text** and the style is **Single line text**.&#x20;

### Next step

We will use these newly defined metafields in the Product Setup for each product:

{% content-ref url="siblings-product-setup" %}
[siblings-product-setup](https://story.groupthought.com/siblings/product-siblings/siblings-product-setup)
{% endcontent-ref %}
