How to Create New Shopify Sections in 2024 (Shopify Editions)

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ค. 2024
  • Everything you need to know about building Shopify Theme Sections in 2024.
    ⭐ Shopify Editions Page 2024
    --------------------------------------------------------------------------
    www.shopify.com/editions?utm_...
    ► Free Help
    --------------------------------------------------------------------------
    🎯 Get Personal Career Advice for Shopify Developers:
    codingwithjan.com/personal-ca...
    👨‍💻 Find a qualified Shopify Developer for your next project:
    codingwithjan.com/hire-a-deve...
    ► Contact
    --------------------------------------------------------------------------
    🌐 Website
    codingwithjan.com
    🤝 LinkedIn
    / jan-frey
    ► Resources
    --------------------------------------------------------------------------
    Shopify Documentation on Input settings
    shopify.dev/docs/themes/archi...
    Shopify Documentation on Sections
    shopify.dev/docs/themes/archi...
    Shopify Theme Blocks Documentation:
    shopify.dev/docs/themes/archi...
    Learn more about Shopify Metaobjects
    • How to use Shopify Met...
    FAQ Section Markup
    appp.me/p8k31z
    Timestamps
    00:00 Today's Video
    00:20 What are Sections and Blocks
    02:53 Understanding Section Theme Files
    05:05 Building a Section from Scratch
    18:41 Where Customizer Data is stored
    20:37 SchemaTranslation Files
    22:00 Global Theme Blocks (Editions 2024)
    25:06 Outro
    🔍 SEO Description
    --------------------------------------------------------------------------
    This video covers how to create your first Shopify Theme Section.
    At a high level, sections are kind of like the building blocks of a theme. They are added via the theme customizer and can be re-used in multiple places of the online store. Merchants can configure sections by using the customizer settings, even without technical experience. As theme developers we can add a variety of different input settings to our section, by defining them in the section schema. Since the release of Shopify's online store 2.0, section can also be used on any page of the store (sections everywhere). Beyond that we're covering how to configure sections blocks as well as all the latest updates concerning Shopify Theme Blocks. This video provides a full and in-depth guide on how to build Shopify sections in 2024.
    codingwithjan.com

ความคิดเห็น • 90

  • @CodingWithJan
    @CodingWithJan  3 หลายเดือนก่อน

    🎯 Get Personal Career Advice for Shopify Developers:
    codingwithjan.com/personal-career-advice
    👨‍💻 Find a qualified Shopify Developer for your next project:
    codingwithjan.com/hire-a-developer

  • @zerogaming5792
    @zerogaming5792 4 หลายเดือนก่อน +7

    one of the genuine guys out there non-fancy talks pure work, complete guidance, thankyou mate ., love you

  • @HaseebAdnan0
    @HaseebAdnan0 5 หลายเดือนก่อน +5

    Was waiting for this video, thanks!

    • @CodingWithJan
      @CodingWithJan  5 หลายเดือนก่อน +1

      Awesome, super welcome! 😃

  • @loigideliguer2341
    @loigideliguer2341 2 หลายเดือนก่อน

    This is the most detailed tutorial I've ever seen. Thanks Jan, keep going!

    • @CodingWithJan
      @CodingWithJan  2 หลายเดือนก่อน

      Glad it was helpful! :-)

  • @indie_rok
    @indie_rok 5 หลายเดือนก่อน

    Pretty cool! Thanks Jan, great tutorial and information as always! Stoked about the new Global Theme Blocks implementation going down the reusable components path like most frameworks does. A nice addition this will be :) Cheers!

  • @ioannisme7495
    @ioannisme7495 2 หลายเดือนก่อน

    amazing clear explanation! thank you

  • @raufaamir
    @raufaamir 4 วันที่ผ่านมา

    Very straight forward explanation!

  • @rajbista1478
    @rajbista1478 5 หลายเดือนก่อน

    Much appreciated, thanks.

  • @_scottdixon_
    @_scottdixon_ 5 หลายเดือนก่อน

    Another awesome video, thank you Jan! 🙌

    • @CodingWithJan
      @CodingWithJan  5 หลายเดือนก่อน

      Thank you, Scott!! 😄🙌

    • @user-zv9wc1sh4m
      @user-zv9wc1sh4m 5 หลายเดือนก่อน

      Please can I have your number

  • @TheNewGreenIsBlue
    @TheNewGreenIsBlue 5 หลายเดือนก่อน +1

    Jan, first of all... I LOVE how approachable your videos are. You don't get too deep in to the weeds of working locally with VS Code or git-integration when explaining something. I love how you break things down to the MVP of what you REALLY need to know.
    If I can give a small amount of feedback when doing these tutorials. Try to avoid using the same name in a lot of places. It can be confusing for new ones to the platform. For example, rather than the block type being "question" you could use "question_answer" with "Question & Answer" as the label. For the blocks, use "question" as the "id" but "Question" as the label... that sort of thing.
    Your CSS actually follows this kind of convention (which makes sense because it has to) with `faq_row` and `faq_question` being different. While a developer can follow along easily, these kinds of conventions (when teaching) can make a world of difference to a newbie.

    • @CodingWithJan
      @CodingWithJan  5 หลายเดือนก่อน +1

      Hey thanks so much for the great feedack. Awesome you find these videos helpful. 😄
      Also really appreciate the fair and constructive feedback. Will def keep this in mind for the next videos. Cheers :-)

  • @CharlieV1221
    @CharlieV1221 4 หลายเดือนก่อน

    Fantastic explanation. Thank you!

    • @CodingWithJan
      @CodingWithJan  4 หลายเดือนก่อน

      You're very welcome!

  • @osamaalsalmi2657
    @osamaalsalmi2657 5 หลายเดือนก่อน

    Good stuff.
    Thanks for the good breakdown.

    • @CodingWithJan
      @CodingWithJan  5 หลายเดือนก่อน

      Awesome, thank you!

  • @AidanONeill-zo5ow
    @AidanONeill-zo5ow 2 หลายเดือนก่อน

    Great tutorial, thank you!

    • @CodingWithJan
      @CodingWithJan  2 หลายเดือนก่อน

      Glad you enjoyed it!

  • @Fedgery007
    @Fedgery007 4 หลายเดือนก่อน

    Great video!

  • @AbhixDev
    @AbhixDev 3 หลายเดือนก่อน

    Learned alot. Thanks.

  • @cmscss
    @cmscss 5 หลายเดือนก่อน

    Thank you.

  • @robertpalmer7729
    @robertpalmer7729 4 หลายเดือนก่อน

    Good clear video

  • @ahmedbayoumi1090
    @ahmedbayoumi1090 หลายเดือนก่อน

    Thanks

  • @davidwatts989
    @davidwatts989 3 หลายเดือนก่อน

    Love the way you explain things. Really helps me wrap my brain around it all.
    Any chance you could do a similar video to this but for creating a simple section that displays a single image using an image picker. With options to change size,alignment and crop shape eg. Square/circle etc?

    • @CodingWithJan
      @CodingWithJan  3 หลายเดือนก่อน +1

      Thanks for the great feedback! :-)
      Also great suggestion! Right now the pipeline is quite busy though.
      As a quick win I'd recommend, checking how its implemented in themes / chatting with chatGTP / testing things and using the documentation.
      Hope this is still a helpful starting point.

    • @davidwatts989
      @davidwatts989 3 หลายเดือนก่อน

      @@CodingWithJan thanks mate, I will have to watch more of your videos and see if i can make sense of some of the existing section code and do some testing.

  • @ryanriaz1163
    @ryanriaz1163 5 หลายเดือนก่อน +2

    Hey @CodingWithJan, I follow all of your instruction now-a-days. It helps me a lot to be a good Shopify developer.
    Jan, Can you guide me how to be a Shopify theme developer as I'm a beginner in 2024?
    which path should I take like Hydrogen learning or Liquid learning?
    Or can you explain more in 2024 which is the best career advice for being a Shopify developer?

    • @Milan_mallhi
      @Milan_mallhi 5 หลายเดือนก่อน +1

      same!

    • @CodingWithJan
      @CodingWithJan  5 หลายเดือนก่อน +1

      Great questions! :-)
      As a beginner 100% Liquid and Themes first.
      Hydrogen is more for enterprise brands, and if you're still developing your portfolio, communication- and sales skills, it will be harder to get in touch with these enterprise brands.

  • @Jan-jf4th
    @Jan-jf4th 5 หลายเดือนก่อน

    I love you daddy Jan! keep it going.

  • @LouisCharlesBlais
    @LouisCharlesBlais 5 หลายเดือนก่อน

    Great video, thanks! Very nuch excited to be using the new theme blocks! Any idea when this is going to be available to the public? I have messed around with it in a development store but can’t find the actual release date anywhere..

    • @CodingWithJan
      @CodingWithJan  5 หลายเดือนก่อน

      Hi Louis, it should be live from today! :-)
      You might need to create a new development store also settings the checkbox --> developer preview

  • @user-rx8ob7ob2v
    @user-rx8ob7ob2v 5 หลายเดือนก่อน +2

    Hi, how can you copy a section code from a theme to another one, let's say section "multicolumn" in Dawn theme, I like how it works, and I want to copy it or make it work on Kalles theme. Please enlight me

  • @jmg9509
    @jmg9509 หลายเดือนก่อน

    8:30 - basic section Input types
    9:27 - Blocks
    13:00 - FAQ - Implementation of HTML, CSS
    16:18 - Using section/schema values in the HTML
    18:40 - Where Data is Stored

  • @mahrukhkhan6496
    @mahrukhkhan6496 หลายเดือนก่อน

    Your tutorial was very helpful. Thank you for sharing this. I have one question though, I added a new section for expanding tabs and for testing purposes, I added it on my homepage. I actually wanted add it on my product pages. But now the size of the section is different on both home page and product page. DO I need to do it from the scratch? or simply just make changes in product JSON?
    Thank you!

    • @CodingWithJan
      @CodingWithJan  หลายเดือนก่อน

      I think this might more be a CSS / styling issue.
      Here it depends a bit on the exact section, but you want to have styling rules in place, that look good even if the available space changes.

  • @TravisRayLive
    @TravisRayLive 5 หลายเดือนก่อน

    Could you please do a video on the Branding API, for example swapping the default Checkout footer for a new one? Their tutorial for it is awful because you have to make all of these GraphQL mutations but how the heck does that apply to the *any* store if the mutations only exist on certain ones? It's so confusing. Love your videos, thank you for your help.

  • @FarmerBrad
    @FarmerBrad 4 หลายเดือนก่อน

    Can you show how to create one using the new Shopify CLI?

  • @MK-Tech
    @MK-Tech 5 หลายเดือนก่อน

    Hi, great video!
    I managed to create a block for my product pages to display our payment methods. It works great, BUT it doesn’t get the blue framing that is showing up for all other blocks in the right preview widow in the theme editor…?! Any idea what’s wrong?

    • @user-zv9wc1sh4m
      @user-zv9wc1sh4m 5 หลายเดือนก่อน

      Please can I have your number

  • @amirhamza3893
    @amirhamza3893 3 หลายเดือนก่อน

    Thank you so much for awesome video. Would you please make a video. How to protect Section code or encrypted. So No one can able to copy code from theme.

    • @CodingWithJan
      @CodingWithJan  3 หลายเดือนก่อน

      Sections are hard to copy because people also need to adjust the CSS to any theme.
      Wouldn't worry about that

  • @rafiullah6552
    @rafiullah6552 5 หลายเดือนก่อน

    Hello jan can you make a playlist from intinal to advance you are to good

  • @user-wp3nk8zq4r
    @user-wp3nk8zq4r 5 หลายเดือนก่อน

    Hi now. Do you have any videos setting up a local Shopify development environment with the new CLI?

    • @CodingWithJan
      @CodingWithJan  5 หลายเดือนก่อน

      I do have one on installing the CLI and getting it to work.
      It's called "How to Install and Use Shopify's CLI as a Beginner"
      As a code editor, I usually use VS Code, which is pretty much the industry standard.
      Hope this is a helpful starting point. :-)

  • @brandon_shopify_expert
    @brandon_shopify_expert 5 หลายเดือนก่อน

    Great work Jan! Keep it up 😁

    • @CodingWithJan
      @CodingWithJan  5 หลายเดือนก่อน

      Thank you Brandon!! :-)
      Here to stay 😁

  • @stephane5294
    @stephane5294 4 หลายเดือนก่อน +1

    Where did you find all the css classes to use? i know Shopify is using a special claases names and they use Bootstrap but im struggling with that. Thanks

  • @arifurrahman5993
    @arifurrahman5993 5 หลายเดือนก่อน

    Hi, thank you for your video. Is it already possible to apply our theme or it will release soon.

    • @CodingWithJan
      @CodingWithJan  5 หลายเดือนก่อน

      So sections are fully available! :-)
      The new Global Blocks are now in developer preview, but not for production stores yet.
      This means Developers can already test and get familiar with them.

  • @kerimtim
    @kerimtim 5 วันที่ผ่านมา

    9:10 For those who are wondering why the Input does not show when clicked.
    It shows on the right hand side of the screen, just a small update or change idk

    • @CodingWithJan
      @CodingWithJan  3 วันที่ผ่านมา

      Could also be screensize, I usually zoom in a bit so people can read it better!
      Cheers

  • @GabriFreire
    @GabriFreire หลายเดือนก่อน

    Great video!! The Dawn theme has a limit of 25 sections per template. How can I increase this limit? Where can I adjust the code to accommodate this limit?

    • @CodingWithJan
      @CodingWithJan  หลายเดือนก่อน

      Hey Gabri,
      great question. This is not specifc to the dawn theme, but rather a general limit.
      "25 sections per template and 50 blocks per section"
      25 sections per page seems a lot though, maybe some of the content could be summarized? Or some content that's now a section could actually be a block?
      Just thinking out loud here. :-)

  • @roning622
    @roning622 3 หลายเดือนก่อน

    can you show example using metaobjects for FAQ questions?

    • @CodingWithJan
      @CodingWithJan  3 หลายเดือนก่อน

      Hi, I think normal sections and blocks are better here! :-)

  • @jimshoes
    @jimshoes หลายเดือนก่อน

    where can i copy/paste your html and css from?

  • @3odesign
    @3odesign 5 หลายเดือนก่อน

    So theme blocks will replace snippets ?

  • @anotherclown897
    @anotherclown897 5 หลายเดือนก่อน

    Hi Jan, how can I join the shopify developer bootcamp?

  • @muneebjoiya
    @muneebjoiya 5 หลายเดือนก่อน

    I need to know about JavaScript lectures from Jan Sir because I am not very much good in making JS functions I hope you will understand. I need to make some popups or something like that in shopify

    • @CodingWithJan
      @CodingWithJan  5 หลายเดือนก่อน

      Yes JavaScript is probably the most advance! I'll think of some cool usecases.

  • @HH-lw2vg
    @HH-lw2vg หลายเดือนก่อน

    It only works when done from the admin panel code editor and not from VS Code, for example. Do Shopify developers mostly work in the Shopify code editor? Or do I need to push the code first if I want to use my own editor for this?

    • @CodingWithJan
      @CodingWithJan  หลายเดือนก่อน

      if you want to develop professionally --> 100% use VS code.
      You can use the "Shopify CLI" to download themes, work locally, and push back changes

    • @HH-lw2vg
      @HH-lw2vg หลายเดือนก่อน

      @@CodingWithJan Ah alright, I am currently using the Shopify theme kit. But do i have to push canges before i can see new sections in my Shopify store?

  • @nym49
    @nym49 4 หลายเดือนก่อน

    How did you get global blocks in Dawn? It's seemingly not yet in the v13 🤔

    • @CodingWithJan
      @CodingWithJan  4 หลายเดือนก่อน +1

      They are in developer preview right now!
      Means when you create a new development store you have to set that checkbox / select that from the dropdown.
      Developer preview will disable the store for transfer, but you get early access to the features to make yourself familiar.

    • @nym49
      @nym49 4 หลายเดือนก่อน

      @@CodingWithJan Ahh, I'll check it out and see how to activate this retroactively in my dev store. Thanks a lot!

  • @GALA01670
    @GALA01670 หลายเดือนก่อน

    Hello brother, this is amazing. But I have a question about the FAQ section. I have a FAQ section, that has A main title, and some categories like general FAQ, Product FAQ, etc and every category has questions and answers. How can I do it? if I think question and ans as a block then how can do Category?

    • @CodingWithJan
      @CodingWithJan  หลายเดือนก่อน

      You could add a third block type called "category" or "separator".

    • @GALA01670
      @GALA01670 หลายเดือนก่อน

      @@CodingWithJan Thanks dear, but as my structure it's some problem for me. I have checked Shopify that they allows nested blocks and blocks folder in the theme, but in dwan theme I don't see it the folder and nested block not work. do you have any idea? Do you have any video about it?

    • @GALA01670
      @GALA01670 หลายเดือนก่อน

      @@CodingWithJan Thanks brother, but as my structure it's not working properly. This is my structure
      b1b2 ...
      ...
      ...
      ...
      if I div make blocks then h3 and p what will do? Blocks inside blocks not work

  • @Rikeshverma007
    @Rikeshverma007 5 หลายเดือนก่อน

    Need a video on ella theme costomisation

    • @CodingWithJan
      @CodingWithJan  5 หลายเดือนก่อน +2

      A little too specific. :-)
      My Vote would be
      1) watch this video
      2) understand the concept
      3) Apply to any theme

  • @11001001tm
    @11001001tm 5 หลายเดือนก่อน

    🎉😁

  • @rashidabbas5061
    @rashidabbas5061 หลายเดือนก่อน

    How to customize a section image that fits on all types of devices like PC, Tab, and cell phone, without changing the image pixel size

    • @CodingWithJan
      @CodingWithJan  หลายเดือนก่อน

      Images are tricky! That could be done with CSS and media queries for example.

  • @IrynaAbrosimova
    @IrynaAbrosimova 2 หลายเดือนก่อน

    thanks, two days I can't understand how to do that

    • @CodingWithJan
      @CodingWithJan  2 หลายเดือนก่อน

      Sometimes all we need is the information in different order. :-)

  • @VlogsSidd
    @VlogsSidd 3 หลายเดือนก่อน

    {% content_for "blocks" %}
    {% schema %}
    {
    "name": "theme block test section",
    "blocks": [
    {
    "type":"@theme"
    }
    ],
    "presets": [
    {
    "name": "test section"
    }
    ]
    }
    {% endschema %}
    test section code error
    Liquid syntax error (line 2): Unknown tag 'content_for "blocks"'
    how can solve this

  • @dan110024
    @dan110024 5 หลายเดือนก่อน

    you're buying the keyboard arent you??

    • @CodingWithJan
      @CodingWithJan  5 หลายเดือนก่อน +1

      Maybe the Keycap 😁

  • @ShoneTheGenije
    @ShoneTheGenije 5 หลายเดือนก่อน

    Jan, I usually like your video, but in this one you spent to much time on the old stuff, with just a short glimpse something new, that is still on the long string.

    • @CodingWithJan
      @CodingWithJan  5 หลายเดือนก่อน +2

      Hey no worries, all feedback is always appreciated.
      I can see where this is coming from. The goal here was to create something that'd also be useful in 6-12 months from here, and more like a full guide for beginners. More advanced topics also coming shortly :-)