After creating the metafields and adding values to each of your products, the final step is to add the Siblings block to your Product template under the Product pages section:
Video demonstration: How to add and configure the Siblings block in the Theme Editor: