Shopify Debut Theme - Add Sections To Other Pages

Shopify Debut Theme - Add Sections To Other Pages

James Suske

5 лет назад

26,640 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Filip Zizak
Filip Zizak - 17.10.2021 17:01

This isn't working for me for some reason, anyone have any ideas on how to fix?

Ответить
Pind Punjab
Pind Punjab - 29.09.2021 10:09

Hi,

I'm looking for the most efficient way to create sections that I can use on static pages, without having to make a new section file for every single section and render that separately.

Right now, say I want to make an about page... I take the code from a section I want multiple times (for example image with text) and copy it into separate section files called about-feature-row-1, about-feature-row-2 etc. I then make a page.about template and render those sections after each other. If I would just render about-feature-row-1 multiple times, it loads the exact same thing as it has the same section id.

Is there a better way to do this?

Could I not just make a custom-feature-row and have something like a forloop on the section id, so I could render it on any static page and have unique content in it?

Thanks!

Ответить
T M
T M - 05.07.2021 16:55

Worked perfectly - thank you!!

Ответить
Things Beagle Do
Things Beagle Do - 14.05.2021 20:00

Thank me later.

{% section 'feature-row' %}
{% section 'image-bar' %}
{% section 'rich-text' %}
{% section 'custom-content' %}
{%section 'hero'%}
{%section 'article'%}
{%section 'blog'%}
{%section 'cart'%}
{%section 'collection'%}
{%section ' customers/account'%}
{%section 'customers/account_activate'%}
{%section 'customers/addresses'%}
{%section 'customers/login'%}
{%section 'customers/order'%}
{%section 'customers/register'%}
{%section 'customers/reset_password'%}
{%section 'gift_card'%}
{%section 'index'%}
{%section 'list-collections'%}
{%section 'page.contact'%}
{%section 'password'%}
{%section 'product'%}
{%section 'search'%}

Ответить
jermainewill16
jermainewill16 - 21.04.2021 07:56

Why would they make this so insanely stupid

Ответить
Sanitary Dome
Sanitary Dome - 04.03.2021 01:00

I added a slideshow to one of my pages but it is a giant square - completely wrong aspect ratio. How can I change this? Thanks

Ответить
Savanna Leigh // Glamour Witch Boutique
Savanna Leigh // Glamour Witch Boutique - 24.02.2021 00:34

Once you edit the sections, it will copy it to all of the pages. How can this be avoided?

Ответить
Arnold 777 ॐ
Arnold 777 ॐ - 06.02.2021 10:46

OMG I FINALLY UNDERSTOOD HOW TO HAVE MULTIPLE SECTIONS IN ONE PAGE:

1. Follow all the steps on the template "ABOUT" from the video
2. Open your code - templates - page.about.liquid - and type in the code {% section 'featured-row' %}
3. Now go to "Sections" folder - Find file named: FEATURED-ROW.LIQUID
4. Click on it - Select all the code that it contains.
5. Now go back to "Sections" - ADD A NEW SECTION and name it: FEATURED-ROW2
6. Paste everything inside of it - SAVE IT
7. LAST STEP: Go back to page.about.liquid tab (LOOK AT STEP 2 (if confused)) and
type in: {% section 'featured-row2' %} - RIGHT BELOW THE FIRST CODE LIKE THIS:

{% section 'featured-row' %}
{% section 'featured-row2' %}

8. HIT SAVE and THAT'S IT :)

Ответить
Samuel Ogunsola
Samuel Ogunsola - 05.02.2021 14:03

Thank you so much, this was helpful

Ответить
B Renae
B Renae - 30.01.2021 03:49

Thank you! this helped so much! I was able to personalize my pages took a little time but if you watch the video and proceed to do at the same time it should help guys !

Ответить
alijawed
alijawed - 24.01.2021 17:47

Good Job!....

Ответить
Pavlina Slavcheva
Pavlina Slavcheva - 15.01.2021 11:16

I added the section that I wanted, but it is a copy of the section from my home page. So if change the page section, the home page section changes as well. I see that others have the issue as well. Anyone solved it?

Ответить
Osahon
Osahon - 23.12.2020 14:18

Just making sure this is a soundless video. I'm not sure. If so, brilliant. If not, it might be time to get a new laptop.

Ответить
Paul Laschon
Paul Laschon - 22.12.2020 12:21

Surely you don't have to play with code to add sections? I added pages without code but now it looks like I have to delete those pages and add them as per this video so I can add sections. Is Shopify that awful or have I missed something?

Ответить
Valentin Klein
Valentin Klein - 14.11.2020 13:54

Yesssirrr that’s Nice thanks a lot it work perfectly

Ответить
cheung1987
cheung1987 - 22.09.2020 06:18

Thank you for this! Where can I find the list of all of the sections?

Ответить
BizCraftZone
BizCraftZone - 20.09.2020 16:31

Hi! I also have a problem. When I change content on about, it changes automatically on a home page. Does anyone know why? And how to change that? Thanks

Ответить
PhD Networks
PhD Networks - 15.09.2020 00:13

Hi, thank you for the video. do you know the code for Image with Text Overlay. I can't seem to find it anywhere. Thanks in advance

Ответить
DoVi
DoVi - 23.08.2020 14:49

More videos on editing/coding Deput theme, please!

Ответить
Jon Poor
Jon Poor - 03.08.2020 23:44

no sound??

Ответить