How to Set Up a Product Siblings (Product Variations) Block in Product Page
The Product Variations Block lets you display linked product siblings — such as different colors or styles — directly on the product page, so customers can easily switch between them.
There are two ways to configure this, depending on how you want to manage swatch visuals:
- Using metafields with custom swatches (images) — assign a dedicated color or image to each product via a metafield
- Using product images — use each product's existing featured image as the swatch
Method 1: Product Siblings with Custom Metafield Images
Use this method if you want full control over the swatch visuals — for example, showing a specific color swatch or a cropped image that differs from the product's main photo.

Step 1: Set up the Metaobject "Color" (if not already present)
- In your Shopify admin, go to Settings > Content > Metaobjects.
- Click Add definition.
- In the Name field, type Color.
- Add fields like Label, Color, or Image.
- Click Save.

Step 2: Create a Product Metafield — Color
To store color values or images for product variations, create a Color metafield.
- In the Shopify Admin, go to Settings → Metafields and metaobjects → Products.
- Click Add definition.
- Enter a name (e.g., Color) and set the Type to Metaobject.
- Select the Color metaobject from the list.
- Click Save.

Step 3: Create a Product Variations Metafield
This metafield will store a list of related product siblings.
- In Settings → Metafields and metaobjects → Products, click Add definition.
- Enter a name (e.g., Product Variations).
- Select Product as the field type and choose List of products.
- Click Save.

Step 4: Assign Metafields to Products
Now apply the metafields to each product.
- Navigate to Products in the Shopify admin.
- Select the product that will have variations.
- Scroll to the Product Metafields section.
- Click the Color field and assign the appropriate color or image.
- Click Product Variations and add all related products (including the current product).
- Click Save.
The order of products in the Product Variations metafield reflects the order in which the swatches appear on the product page.
Repeat this step for every sibling product, keeping the product order consistent each time.
Connect Variations for Each Product
To ensure seamless linking between products, repeat Step 4 for every sibling product.


Step 5: Configure the Product Page
Now set up the Product Variations Block in your theme.
- Go to Online Store → Themes, then click Edit theme.
- Open the Product template.
- In the Product information section, add the Product siblings block.
- Set the Option Name (displayed above the swatches).
- Select the Input Type - Swatch/Images or Button.
- Enter the namespace and key of the Color metafield (e.g.,
custom.color). You can find this in the Metafield Definition settings. - Click the Dynamic Source icon and select the Product Variations metafield as the product list. 8. Click Save.
How to configure the Product Page to set up the Product Siblings block using swatches (metaobject) →
Method 2: Product Siblings with Product Images
Use this method if you want the swatch to display each product's existing featured image — no Metaobject or Color metafield required.
Instead of a custom color swatch, each sibling product's featured image is used as the visual indicator. A Label metafield is used to display a text label for the currently selected option. You still need a Product Variations metafield to link the sibling products together.
Step 1: Create a Product Metafield — Label
To display a custom label for selected option.
- In the Shopify Admin, go to Settings → Metafields and metaobjects → Products.
- Click Add definition.
- Enter a name (e.g., Label) and set the Type to Single line text.
- Click Save.
Step 2: Create a Product Variations Metafield
This metafield will store a list of related product siblings.
- In Settings → Metafields and metaobjects → Products, click Add definition.
- Enter a name (e.g., Product Variations).
- Select Product as the field type and choose List of products.
- Click Save.

Step 3: Assign Metafields to Products
Now apply the metafields to each product.
- Navigate to Products in the Shopify admin.
- Select the product that will have variations.
- Scroll to the Product Metafields section.
- Click the Label and complete it.
- Click Product Variations and add all related products (including the current product).
- Click Save.
The order of products in the Product Variations metafield reflects the order in which the swatches appear on the product page.
Repeat this step for every sibling product, keeping the product order consistent each time.
Connect Variations for Each Product
To ensure seamless linking between products, repeat Step 3 for every sibling product.
Step 4: Configure the Product Page
Now set up the Product Variations Block in your theme.
- Go to Online Store → Themes, then click Edit theme.
- Open the Product template.
- In the Product information section, add the Product siblings block.
- Set the Option Name (displayed above the swatches).
- Select the Input Type - Product image.
- Enter the namespace and key of the Color metafield (e.g.,
custom.label). You can find this in the Metafield Definition settings. - Click the Dynamic Source icon and select the Product Variations metafield as the product list.
- Click Save.