Shopify Metaobject Pages - Metaobjects now have templates!

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 29

  • @AmedeeBoulette
    @AmedeeBoulette Рік тому +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!

  • @Hesperuspress
    @Hesperuspress 9 місяців тому +1

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

  • @sergeif
    @sergeif Рік тому +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 🙏🏻

  • @ClubSnugs
    @ClubSnugs 8 місяців тому

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

  • @Endrit719
    @Endrit719 7 місяців тому +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-45446
    @user-45446 Рік тому

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

  • @ArdenCove
    @ArdenCove Рік тому

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

  • @igetpaidtocode
    @igetpaidtocode Рік тому

    This is perfect 👍

  • @jenmin
    @jenmin 3 місяці тому

    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?

  • @EinsteinGuy
    @EinsteinGuy 11 місяців тому

    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?

  • @rAmrithRaj
    @rAmrithRaj 8 місяців тому

    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?

  • @tedmeng4795
    @tedmeng4795 9 місяців тому

    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  9 місяців тому +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?

  • @ochies
    @ochies 4 місяці тому

    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  4 місяці тому +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 3 місяці тому

      @@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.

  • @blakemarsden910
    @blakemarsden910 10 місяців тому

    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 10 місяців тому

      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 :)

  • @user-wp1nn4ex7e
    @user-wp1nn4ex7e Рік тому

    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  Рік тому

      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

  • @notrub225
    @notrub225 Рік тому

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

  • @debugstore
    @debugstore Рік тому

    Why would I create a metaobject instead of a Collection?

    • @dytra_io
      @dytra_io Рік тому +3

      collections are only for products

    • @notrub225
      @notrub225 Рік тому +1

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