Refresh Theme - Default Collection template - not pulling collection.description

Hope some one can help as been at it for a while now and cant solve.

Using the Refresh theme and on the default collection template I want the pages to show the collection Title and the collection description (my collections all have titles and descriptions in back end).

Currently when viewing this page for any chosen collection it changes the title to the correct collection title but I cant pull across the description.

I have gone into the ‘collections.json’ and the bit of code that is relevant is this:

“heading”: “{{ collection.title }}”,
“heading_size”: “h0”,
“subheading”: “Describe this collection: tell your customers about what types of prod”

I want the subheading to pull the collection description instead of the text as shown in red above.

When I change the code to:

“subheading”: “{{ collection.description }}”

Which I thought would work, the editor says after trying to save "Unable to update the file - Dynamic Source ‘collection.description’ is invalid (see attached image).

Any wise people on here that can help with this I would be very grateful

Hi @MarkF105 ,

This is Richard from PageFly - Landing page builder,

I think it might be because the description is a text Editor, so it’s not supported like yours. Instead of using description you can also use metafiled

I hope it would help you
Best regards,

Richard | PageFly

Hi Richard, thanks for your reply.

Yes I tried the insert dynamic data source option > Add Metafield.

But it then then brings me to the custom data page as shown on the image.

The definition is then shown below for the collection metafield i created.

So despite me having this set up I still cannot add it to the subheading as a dynamic field, there does not appear to be a way to drag it into the subheading or to just press ok and add it into there??

Confused.com!

Hi @MarkF105 ,

Sorry, at the moment shopify does not support multiple text type for this part. You can use Single test form

Best regards,

Richard | PageFly

Hi Richard,

That explains it perfectly, have added a single line meta data and it pulls through perfectly now. Spent ages trying to figure that out. Should have just come on here immediately with so many helpful people. Thanks again so much