Are dynamic sources available on the index template?

RyanMacdonald
Shopify Partner
35 3 6

I'm trying to using the "Rich Text" block in Dawn for some promotional content. I can see my metafield on the product, collection, page templates but I can't see it on the index template.

 

Are dynamic sources supported here? How do I get it to appear?

Abra - Automatically apply discounts and change pricing dynamically to see a massive increase in conversions.
Website
Replies 2 (2)
omarhussain
Shopify Partner
32 5 6

Hi, you can't directly show that meta-field you need to give the reference of product object that you can access that on index  like {{product.metafield.custom.metaname}}
you need to get that product object then you can show.
 
if you are not using any product or collection base metafield then you can use MetaObjects those you can access anywhere!

RyanMacdonald
Shopify Partner
35 3 6

Thank you for your reply. I understand how liquid and metafields work. I'm specially asking about dynamic sources in the theme editor in the index template. What would you do in that case?

Abra - Automatically apply discounts and change pricing dynamically to see a massive increase in conversions.
Website