Hi Shopify Community !
I’d super appreciate getting your insight on a particular problem that’s been torturing me for an hour :
I have a custom schema here in my section :
{
"type": "text",
"id": "banner-1-text",
"label": "Texte",
"default": "Texte"
},
Now I want to pass the text written in there to a snippet in that same section, so i did this :
{% assign banner-1-text = section.settings.banner-1-text %}
{% render 'collections-banner', banner-text:banner-1-text %}
And in the snippet, I’m outputting a bunch of stuff, but for the sake of this question let’s shorten it to :
{{banner-text}}
This, according to what i read on forums, should do the job, but for some reason nothing is passed to the snippet and the
tag returns an empty tag
I really have no idea what I’m missing, so any help would be of great use and appreciated !
Thanks !