Hi,
I have a metafield which relates to the standard edition of a product. I am using the product_reference metafield type. The string output for the product_reference metafield is a string using a Global ID. I can use the metafield_tag filter to create a wrapped element but this doesn’t allow you to add classes and automatically uses the product title as the text.
I want to use my own text “Standard Edition” and include a specific class.
Is there a way to pull the URL from the product using the product_reference metafield? I’d rather use the product_reference metafield instead of the url metafield.