Siblings collection

Metafield editor

Feature introduced in Story 3.2.0

The second required metafield is theme.siblings


The content type is: Text, Single line text.

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:

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.

Important step: Rename my_fields to theme

And the key to siblings

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:

Save the definition.

Check the saved metafield

Your second metafield should look like this:

Please ensure you change the Namespace and key to this custom version for Story: 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.

The content type is Text and the style is Single line text.

Next step

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

pageSiblings product setup

Last updated