ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Shopify Metaobject Pages - Metaobjects now have templates!

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • Wanna go deeper into Shopify Theme Development? Join my mastermind community.
    shopifythemedeveloper.com/
    Or sign up for a free trial with Skillshare and take my Shopify class for free:
    skl.sh/2MCrJIE
    Do you run a business on Shopify and want help with your store? Get in contact
    form.typeform.com/to/Zg0k4BEP
    Chapters
    00:00 Intro
    02:19 Create a template for your metaobject
    05:03 How to use Liquid in a metaobject template
    10:12 Use exisiting sections to display metaobject data
    16:38 Finding the template in your theme code
    18:00 Outro
    Episode Overview
    -----------------------------
    In this video, we are going to be discussing a cool new feature regarding metaobjects that has just been released in the Shopify Summer 2023 edition, called ‘metaobject pages’.
    As you might guess from the name, this exciting new feature allows us to create a template for displaying any metaobject we set up in our store in a similar way to how we do it for products, collections, regular pages, etc.
    So in this short video, let’s run through how it works.
    Check out my stuff online...
    My Skillshare.com channel:
    www.skillshare.com/r/profile/...
    My travel channel:
    / christhefreelancer
    My website:
    christhefreelancer.com
    My socials:
    Instagram: / christhefreelancer
    Facebook: / christhefreelancer
    Twitter: / chrisrdodd

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

  • @sergeif
    @sergeif 11 หลายเดือนก่อน +1

    Thank you for all of your videos mate! very informative and save us all LOTS of time digging through things to figure them out 🙏🏻

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

    Thank you so much! Exactly what I was looking for :)

  • @user-45446
    @user-45446 11 หลายเดือนก่อน

    Exactly looking for metaobjects. Thank you for your time and great video.

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

    Awesome Video Watched your previous videos first and that made this super easy to understand.
    Subscribed!

  • @Hesperuspress
    @Hesperuspress 8 หลายเดือนก่อน +1

    Wonderful! This worked great on our site. Thank you so much

  • @AmedeeBoulette
    @AmedeeBoulette 11 หลายเดือนก่อน +1

    I've been waiting for this for months, if not years... Now, if only they could implement a proper Blog system..... :) Best Shopify content on the web!! Not enough content, I would listen to your stuff for hours! You need more sub, keep it up and thanks so much for your time and effort!

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

    This is perfect 👍

  • @Endrit719
    @Endrit719 6 หลายเดือนก่อน +1

    I just needed to know how to reference the metaobject inside the template I couldn't find this anywhere in the documentation the docs are real crap, thank you

  • @user-wp1nn4ex7e
    @user-wp1nn4ex7e 11 หลายเดือนก่อน

    Hej Chris! Do you have any suggestions for my problem where i need to make a button, typically a form that pops up? I have the code but i cannot seem to get it work since the code on the page is written with JSON and the setting is a url which makes it so the button can only accept links to other for example products on my store...

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

      Not sure exactly what you're talking about but send me a message on Patreon and I'll take a look.
      www.patreon.com/shopifydeveloper

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

    Hey Chris, a couple of questions I hope you can help with -
    I'm wondering if there's a way to build a template that would serve as a collection of these metaobjects - either dynamically displaying the metaobject data on that collection page or linking through to the metaobject's "web page". I notice that when you create the handle for the metaobject there is no page for one page up the heirarchy - for example I've created the handle for ingredients - there are pages for ingredients/xxxxx but we get a 404 page for just /ingredients? Is there anything we can do to design that page one tier up?
    Second question is whether there is a way to dynamically reference the handle/link to that metaobjects webpage when it is being displayed somewhere dynamically. So for example we have the ingredients populate a section on our product page but I can't figure out how to have that sectionalso link out to that metaobjects specific web page.
    Would love to hear if you have any solutions around these :) Thanks!

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

      Scratch that, I found that actually creating a page for ingredients and adding a list of metaobjects in that page's metafields has sort of solved it :)

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

    Thanks for the helpful info Chris! Partially thanks to your tutorials, we were able to build metaobject pages each showing information about our ingredients. And we were able to list the ingredients on each product page. However, I can't figure out how to show the products on each metaobject page. It doesn't seem possible, but also seems like a likely use case of this functionality. Do you have a tutorial on this?

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

    Thanks for this, I'm curious if there's a way for me to link to the prev/next creator at the bottom of the page like you'd do with a blog?

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

      Probably but it wouldn't be native like it is with blogs and collections

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

    Hey, have you found the Variant field type useful in MetaObjects? I'm not sure how to use it in a Liquid template.

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

      I have used it as a product metafield before. It served its purpose in that instance

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

    thanks for your video. I hope if you can answer one of my question-is there a way to append a metaobject page under a product page? I can find only add the "Page" option which allows to just add a page created by the Page template, instead of the metaobject. thanks again!

    • @CodewithChristheFreelancer
      @CodewithChristheFreelancer  8 หลายเดือนก่อน +1

      Metaobject pages allow you to create a page based on the data of the metaobject. If you wanted to add custom data to an existing page, why not use metafields on the page object?

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

    Thank you for this explanation. I am looking for a way to show this dynamically created metaobject page inside a custom html tab in product page, is this possible?

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

    This is a nice approach. We are trying a little bit different.
    We do not reference each product on the creator list. We believe that the metaobject Creator should be changed only once. So we only have fields Bio, Image and Name.
    Instead, when we create a new product, we assign the creator directly on the product. So we don't have to go back to the metaobject and populate the product list again.
    The only thing is that we are not being able to loop through the 'for product metaobject.creator.value' to get the products.
    I see that if a product has the creator assigned, it shows up as referenced on the metaobject. But I am not figuring out how to get these list.
    Do you have any clue how to get these products?

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

      I think what your issue is is that the data is not two-way binding. It's been a while since I made the video but I think you need to have a field on the creator to link to products if you want to loop through products on a creator object and a creators field on a product object for vice-versa.

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

      @@CodewithChristheFreelancer Yeah, I know what you mean. But not being able to access the referenced products does not seem to be an intelligent way to handle.
      If we need to populate the products on the metaobject manually, there would be no need to do it on the Product too.
      Anyway, we had to create a workaround - creating a collection for each metaobject and assign this collection. Double work as well.

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

    Why would I create a metaobject instead of a Collection?

    • @dytra_io
      @dytra_io 11 หลายเดือนก่อน +3

      collections are only for products

    • @notrub225
      @notrub225 11 หลายเดือนก่อน +1

      Any editorial content can use MetaObjects, or any Block content that is unique per product is a perfect candidate for MetaObjects