How to set up product links
The Product link block adds a button on the product page that links to a related product — usually another colour or style that exists as a separate listing. Add one block per linked product to build a row of buttons.

Step 1 — Create the metafield definition
In Shopify admin, go to Settings → Metafields and metaobjects → Products, click Add definition, and set:
Name —
Men productNamespace and key —
custom.men_product(or any name you prefer)Type — Product, one value
Click Save.

Step 2 — Assign the linked product on each product
Open a product, scroll to Metafields → Linked product, and select the related product (for example, another colour of the same style). Save, and repeat for every product in the group.

Step 3 — Add the Product link block and connect it
In the theme editor, go to the product page → Product Information section → Details block, and add a Product siblings block. Inside it, add one Product link block per link you want, and connect each block's Product field to its metafield: click the Connect dynamic source icon, pick the metafield, and save.


Last updated