Product Metafields now showing up in collection page

jessica_0430
Excursionist
57 0 8

hi all,

I am trying to build a "material" metafield on my collection page by using the copy of my current scheme in the library

jessica_0430_3-1716924757496.png

 

First, I am now trying to test that I am writing the codes in the right place in "card_product.liquid" for one of my product

I add the codes:

Test
{{card_product.metafields.custom.material_material}}

 

 

However, in collection page, only "Test" is showing up. The material metafield is not showing up in the next line.

Can anyone help?

Thanks!!

 

jessica_0430_0-1716924434395.png

 

jessica_0430_1-1716924592853.pngjessica_0430_2-1716924619943.png

 

 

Reply 1 (1)

LuffyOnePiece
Shopify Partner
612 87 105

Hi @jessica_0430 ,

 

Try adding 

{{card_product.metafields.custom.material_material.value }}

 

Thank you

Sandeep Pangeni
Need help with your store? sandeeppangeni17@gmail.com
For quick response, Contact In WhatsApp +9779867521184