Product page pricing - Show metafield for product or variant via custom liquid snippet

Hi all,

I have created a custom liquid snippet under “Price” on the product page under B2B.

I have created metafields to show “RRP” (MSRP in USA) in both the single products and the variant products.

I can get the single product page to show the product.metafield.custom.rrp but I am having trouble showing that on the variant product pages, especially when selecting or deselecting the variants.

Any help would be hugely appreciated!

If it is a variant metafields, it will be more troublesome. You need to modify the js code that controls the variant switching so that it can be displayed or hidden according to the variant switching.