Hello there,
In order to display variant metafields on the product page in the Shopify theme Dawn 2.0, you will need to edit the product-template.liquid file in the theme’s code. You can access this file by going to Online Store > Themes > Actions > Edit code.
Once you have the product-template.liquid file open, you will need to locate the section of the code that displays the variants. This can typically be found within a for loop that iterates through the product’s variants.
You can then insert the code to display the desired metafields for each variant. For example, if your metafields are named “finish”, “dimensions”, and “product_care”, you can use the following code:
{{ variant.metafields.global.finish }}
{{ variant.metafields.global.dimensions }}
{{ variant.metafields.global.product_care }}
You can place the code in the appropriate place on product-template.liquid file, where you want the information to display on your product page.
It’s worth noting that you should have created the metafields before and should have the right namespace and key, otherwise, these codes will not work.