I’m using the product type meta field as a reference product.
product.metafields.custom.free_product
I want to get the variant of the meta field in the same way I get the variant of the current product on the product page.
Current product variant id:
product.selected_or_first_available_variant.id
output: 43370243719392
My reference product variant id would be: 42897774051552
How can I get this number from Metafield’s product?
Any help would be appreciated
Thanks in Advance
Mir