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!
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
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?
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?
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!
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?
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?
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.
@@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.
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!
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 :)
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...
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!
Wonderful! This worked great on our site. Thank you so much
Thank you for all of your videos mate! very informative and save us all LOTS of time digging through things to figure them out 🙏🏻
Awesome Video Watched your previous videos first and that made this super easy to understand.
Subscribed!
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
You're welcome.
Exactly looking for metaobjects. Thank you for your time and great video.
Thank you so much! Exactly what I was looking for :)
This is perfect 👍
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?
Probably but it wouldn't be native like it is with blogs and collections
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?
Think I covered this in my video on metaobjects no?
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?
'Inside' like this? www.w3schools.com/tags/tag_.ASP
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!
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?
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?
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.
@@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.
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!
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 :)
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...
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
Hey, have you found the Variant field type useful in MetaObjects? I'm not sure how to use it in a Liquid template.
I have used it as a product metafield before. It served its purpose in that instance
Why would I create a metaobject instead of a Collection?
collections are only for products
Any editorial content can use MetaObjects, or any Block content that is unique per product is a perfect candidate for MetaObjects