Siblings collection

Metafield editor

Feature introduced in Broadcast 3.5

The second required metafield is theme.siblings

theme.siblings

For the content type, select 'Single line text' and choose the 'One value' option.

This metafield maps each product to the correct collection handle for the siblings.

Start by defining a new Product metafield. You can name it 'Siblings' so that you can more easily find it later.

Important steps:

  • Change the namespace from 'custom' to 'theme'.

  • Set the key to 'siblings'.

Adding a description is optional but be sure to select the correct content type. Choose 'Single line text' and set it to 'One value':

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 Broadcast: theme.siblings By default, the namespace begins with 'custom'. This namespace will not be recognized by Broadcast. You have to change it to 'theme'.

This is a good distinction to make and it helps keep your store, custom, theme, and app metafields separate.

Product setup

Next, we will use these newly defined metafields in the Product Setup for each product:

pageSiblings product setup

Last updated