Shopify Theme Development - Metaobjects Tutorial

Поделиться
HTML-код
  • Опубликовано: 9 янв 2025

Комментарии • 19

  • @Cagetopia
    @Cagetopia Месяц назад

    EXCELLENT video. The only one I could find with really good detail about accessing metaobjects. I've been tearing my hair out as a relative newbie to liquid. It gets really tiring trying to find good video content that is anything above and beyond a simple fill-in-the-blanks how-to. Lordy. We can all read. This is a gem. Thank you greatly!!

    • @Cagetopia
      @Cagetopia 28 дней назад

      Hopefully, you can help me with this. When you have more than 50 of anything, seems like an issue. I have more than 50 products to loop through. I think this just doesn't come up as much on demo data. The FOR loop is currently only looking through the first 50 items and ignoring the rest. Every time I hit this, it's takes me a bit to smack my head and realize it's the looping issue. I mean, just note to self and others, sometimes if it LOOKS like it's not working because your data isn't there, it COULD be that the products you are looking for aren't in the first 50 records it's reading. :)

    • @Cagetopia
      @Cagetopia 28 дней назад

      Also, I realize this is pretty inefficient even if I add the workarounds to read all the data. So, in my earlier frustration with it, I decided to add a metafield list to my custom object in order to have efficient references in both directions, hopefully obviating the need for a resource-intensive for-loop across the product database. Extra maintenance in product setup, but I supposed a few extra minutes here and there is worth it. Unless there is some better answer/approach I'm not thinking of. So, by adding a metafield of products to my custom metaobject, I can just loop through that way smaller array and get the data displayed faster and keep shopify happy. I'm still a newbie (site's not live yet) and I'm hoping I'm thinking about this the right way. I have other future projects that will make use of metaobjects, so I just want to make sure I'm thinking right or maybe there's a better way??! :)

  • @willkanoff
    @willkanoff 5 месяцев назад

    Very useful! Thanks a lot!

  • @umairyasin5951
    @umairyasin5951 Год назад +1

    Hi. This is a great series. I wanna ask that will you create themes from psd to shopify? What topics are you gonna cover?

    • @stackingcontext
      @stackingcontext  Год назад +2

      I may do a video on that in the future, although my priority for now is covering Shopify-specific features. Going from a psd to a web page is something that's addressed in plenty other HTML and CSS tutorials out there.

    • @umairyasin5951
      @umairyasin5951 Год назад +1

      @@stackingcontext Are you going for developing theme from scratch ?

  • @MR-sp1em
    @MR-sp1em 5 месяцев назад

    Can you teach us how to create templates🙏

  • @Alessandro_Alessandro
    @Alessandro_Alessandro Год назад

    hey! Can you please make a video review of your visual code extensions? specifically for Shopify, it would be very interesting

    • @stackingcontext
      @stackingcontext  11 месяцев назад

      For these tutorials the only extensions I'm using are the official Shopify Liquid extension marketplace.visualstudio.com/items?itemName=Shopify.theme-check-vscode and Prettier.

  • @codezeloss
    @codezeloss Год назад

    Thank you!!

  • @zion-faithakakpo6602
    @zion-faithakakpo6602 Месяц назад

    17:51