Use "homepage" sections on other pages

New Member
3 0 0

Hi,
I am creating my new shopify website and would like to use some of the standard sections from the "homepage" on my other pages. Is that possible, and if so, how?

 

All the best,

Gustav

0 Likes
Shopify Partner
1341 22 204

Hi Gustav,

At the moment you can include sections on other pages by using:

{% section 'some-section' %}

But... that section will have the same content on all pages, you can't have different content.

If this what you are looking, it's all good.

 

New cool things are coming (and was about time). Soon you will be able to use "sections everyware": https://www.shopify.com/partners/blog/shopify-unite-announcements-2019#onlinestore1

This is only on Unite dev preview atm.

 

https://sections.design tips, tricks & Shopify sections
0 Likes
New Member
3 0 0

Thank you!


Can you tell me exactly how to add it? Right now when I create a new template I see this text:

 

<div class="Container">
<header class="PageHeader">
<div class="SectionHeader SectionHeader--center">
<h1 class="SectionHeader__Heading Heading u-h1">{{ page.title }}</h1>
</div>
</header>

<div class="PageContent PageContent--narrow Rte">
{{ page.content }}
</div>
</div>

 

Do I delete all and add {% section 'some-section' %} or how?

 

All the best,

Gustav

 

0 Likes
Highlighted
New Member
3 0 0
Hi,

How do I paste this code, can you elaborate?
0 Likes
Shopify Partner
12 0 1

Hello , i know problem with you , i created app for this , you can install  app free here https://deprohoang.com/sections-pro/install/

 

0 Likes