Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I have successfully added a block to one of my product template json files.
"banner": {
"type": "main-collection-banner",
"settings": {
"show_collection_description": true,
"show_collection_image": false,
"color_scheme": "background-1"
}
}
},
"order": [
"main",
"related-products",
"featured_collection_3mYRDQ",
"banner"
]
}When I view the page in the editor, I can see the block is added to the template. but there is nothing rendering inside the block.
It seems to be missing the collection object. I can't understand how that is referenced and populated differently in the collections.json... I tried to add a parameter to the banner block but that didn't work (ie. "collection":"flexies",)
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025