Need someone to get this tutorial for dynamic sections to work on my page

Highlighted
Tourist
11 0 1

Hi, 

 

I have been trying to get this to work. Dynamic sections on custom pages.

I get some of the sections to work, for some I can't get the schema to work.

If anyone can apply this to my page, please drop me a message.

 

https://www.cadence-labs.com/2019/07/shopify-add-dynamic-sections-to-page/

0 Likes
Tourist
11 0 1

lil' edit..

 

The ones I don't seem to get to work are the ones that already have blocks in them. so if it looks like this, and the block got blocks in it, I get an error: 'blocks' is not a valid attribute. I guess I just don't understand the nesting yet..

{% schema %}
{
"blocks": [
{
  "type": "video",
  "name": "Full Width YouTube Video",
  "settings": [
    {
      "type": "text",
      "id": "videoID",
      "label": "Video ID",
      "default": "Enter Video ID Here"
    }
  ]
}
]
}
{% endschema %}
0 Likes
Tourist
11 0 1

Bumping this as I know it’s possible do this

I have read all the tutorials, but none of them covers sections that have blocks in them.

0 Likes