What's your biggest current challenge? Have your say in Community Polls along the right column.

Collapsible content metafield not working

Collapsible content metafield not working

danzoc90
Visitor
2 0 1

Hello,

I am selling gaming PCs and need collapsible content (other than description) on product page to display specifications of each PC so it has to be metafield as it will be different for each product.

I am doing as per instruction: creating product metafield, filling up the metafield in products, creating collapsible content on product page, adding metafield into content box and it shows nothing.

I've tried many different ways and it always comes to the same - the box is empty no matter what I type in the metafield box. I tried multiple line, single line text etc. It only shows any value if I choose content from page but then I would have to create a separate page for each product and this is not what I want. Can anyone help with that ?

Screenshot 2024-11-08 125039.jpg

 

Screenshot 2024-11-08 124815.jpg

 

Screenshot 2024-11-08 124903.jpg

 

Reply 1 (1)
danzoc90
Visitor
2 0 1

Thank you so much. I was struggling with it for a few days. I never looked at code and it was there. Metafield was created correctly but it was taking info from the block rather than from product. Changed that bit and all good. Thanks again