Master pages & page sections examples

Highlighted
Shopify Partner
4 1 5

Will be great to see the code examples for the Master pages & page sections examples.

 

I've seen that docs already have a content schema examples and frames also, thats nice!

4 Likes
Highlighted
Shopify Staff
Shopify Staff
610 15 156

Hi Ottomen,

 

Nice to hear you've been testing out the examples from the docs in your dev store. Once feature functionality is finalized we'll have more examples available for testing master pages and page sections. I'll make sure that this forum is notified when these updates are made :) 

 

Cheers,

 

Liam Griffin

Shopify | Developer Tools & Education

 

 

2 Likes
Highlighted
New Member
1 0 0

is there any news on that feature? I have been trying to find some examples on how to setup master pages with content-sections, but no luck so far

0 Likes
Highlighted
Shopify Staff
Shopify Staff
610 15 156

Hi @campsafari ,

 

Are you testing out the developer preview with the sections-compatible Debut theme? You can add content sections to the master page of products, as is shown in this example video. This content section will then appear on all product pages that have sections enabled. 

 

Hope this helps,

 

Liam Griffin

Shopify | Developer Community Manager

0 Likes
Highlighted
Tourist
3 0 1

Hi @Liam 

 

What is the release date for content sections on any page?

 

Thanks

Ed

1 Like
Highlighted
Shopify Staff
Shopify Staff
610 15 156

Hi @EdwardLaw 

 

We don't have a full release date for content sections on all pages at the moment, but this will be available to merchants later this year. In the meantime, we have launched sections on the cart, 404, and password pages on developer preview stores. 

 

Hope this helps,

 

Liam Griffin

 

Shopify | Developer Community Manager

 

 

0 Likes
Highlighted
Tourist
3 0 1

@Liam 

Thanks for the update.

 

When adding content sections will the associated data be attached to the theme or the page? 

 

Regards

Ed

 

0 Likes
Highlighted
Shopify Staff
Shopify Staff
610 15 156

Good question @EdwardLaw.

 

So when user-generated content is added to a content section (eg: adding text into a text field on a section setting), that text is not stored on the theme, but rather on a store level. Previously content added to sections would be recorded by the theme and stored in the `settings_data.json` file. With the new section types, this is no longer the case and content is stored on a store level. This makes it easier for content to be ported across to a different theme, when a merchant switches their theme. 

 

Hope this helps!

 

Liam Griffin

 

Shopify | Developer Community Manager

1 Like