Creating Shopify sections in other pages

Creating sections in sub pages in Shopify is possible, although there are some restrictions.

Each page needs it’s own template and you can’t have sections within sections or blocks within blocks.

The gist of it is you take your frontpage section template, save it as a snippet, move the schema into the section template and swap out section.settings.xxx to block.settings.xxx

Your layout looks as such:

/templates/page.custom.liquid  (this calls the sections)

/sections/page-builder.liquid (this calls snippets and contains your schema)

/snippets/copy-of-slideshow.liquid (this contains your liquid/html template)

 

Share on facebook
Share on Facebook
Share on twitter
Share on Twitter
Share on linkedin
Share on Linkdin
Share on pinterest
Share on Pinterest