metafield html help please

Hello i have read all the other posts an i am completely lost can some one help me please (I’m a none developer)

I am trying to add metafields with HTML to my page which was migrated from our woocommerce website,

I am trying on both collections and product template

For example Collections

This is where all my HTML is stored

Looking at other posts i should be able to post

{{ custom.bottomcollections.value }}

But when i add it to a rich text box in the theme editor

I get this error

Can any one help please?

Thanks in advance

Do you see the Dynamic Source Icon on your Rich Text Box?

yes i see this but when doing this doesn’t format it to HTML

I tried watching https://www.youtube.com/watch?v=INp0qiIc_84 and seem to be doing this correct but I’m obviously not

Hi @LaurneceKay ,

Please change code:

{{ custom.bottomcollections.value }}
=>
{{ collection.metafields.custom.bottomcollections.value }}

Thank you that worked! enjoy your coffee / beer

1 Like

Hi @LaurneceKay ,

Thank you very much.

If you have any questions, you can contact me directly.
Nice to meet you ‌ :hugs: