Shopify Theme Development – Theme Blocks | Nesting Blocks in Sections

In this video we will see Theme Blocks, the latest addition to Liquid Shopify Themes. Theme blocks are blocks that are defined at the theme level, they can be reused across different sections of the theme, and can be nested within other theme blocks.

In the video we cover how to create Theme Blocks, how to make include them in sections, how to nest them, make them private and use dynamic sources within them.

Resources
– Theme Blocks Announcement – https://www.shopify.com/editions/winter2025#theme-blocks-now-live
– Theme Blocks Overview – https://shopify.dev/docs/storefronts/themes/architecture/blocks#theme-blocks
– Theme Blocks Documentation – https://shopify.dev/docs/storefronts/themes/architecture/blocks/theme-blocks/quick-start
– Theme Blocks Reference Theme – https://github.com/Shopify/reference-theme

Timestamps
00:00 – Introduction
01:42 – Creating a Theme Block
02:42 – Creating a Section that accepts Theme Blocks
05:08 – Nesting Blocks
14:18 – Private Blocks
17:17 – Dynamic Sources and the Closest of Type object
22:20 – Closest of type parameter

コメント

タイトルとURLをコピーしました