Metafield editor
Feature introduced in Broadcast 3.5
The first required metafield is theme.sibling_color
The content type is: Single line text and One value.
This metafield is used for both the swatch label for the product which helps with identifying the color version of the current product:
Start by defining a Products metafield and name it Sibling Color. Then change the Namespace from custom
to theme
:
Important step: Rename custom
to theme
Next, add a description. You can use Siblings Color again. Then click on Select content type and choose Single line text and One value:
Save the definition.
Your final metafield should look like this:
Please ensure you change the Namespace and key to this custom version for Pipeline:
theme.siblings_color
By default, the namespace begins with custom
. This will need to be changed to theme
.
The content type is Single line text and the style is One value.
We require a second metafield to be defined:
Feature introduced in Broadcast v3.5
There are two product metafields definitions required to connect each of the products together and generate linked swatches.
Use the metafields editor under Settings in the Shopify Admin:
Both metafields will be defined under the category of Products:
Tip: If you are new to creating custom metafields, a good step-by-step walkthrough is also available in the Upselling with metafields article.
Next, create these two metafields:
Metafield editor
Feature introduced in Broadcast 3.5
The second required metafield is theme.siblings
The content type is: Single line text and One value.
This metafield maps each product to the correct collection handle for the siblings.
Start by defining a Products metafield and name it Siblings. Then change the Namespace from custom
to theme
and the key to simply siblings
.
Important steps:
Rename custom
to theme
The key should be siblings
Next, add a description. You can name this one Collection handle for siblings. Then click on Select content type and choose Single line text and One value:
Save the definition.
Your second metafield should look like this:
Please ensure you change the Namespace and key to this custom version for Pipeline:
theme.siblings
By default, the namespace begins with custom
. This will need to be changed to theme
Next, we will use these newly defined metafields in the Product Setup for each product: