Shopify Metaobjects - Create your own objects in Shopify

preview_player
Показать описание
Wanna go deeper into Shopify Theme Development? Join my mastermind community.

Or sign up for a free trial with Skillshare and take my Shopify class for free:

Do you run a business on Shopify and want help with your store? Get in contact

Episode Overview
-----------------------------
Metaobjects. They sound quite similar to metafields but while metafields are used to extend existing models in Shopify, metaobjects allow us to create completely new ones.

Metaobjects were first announced as part of the Shopify Winter 2023 Edition. To be honest, not a lot of fuss was made about them but for some users, I’m sure it would have been so exciting to see that you can now create your own objects in Shopify.

So let’s take a deeper look at Shopify Metaobjects, we’ll run through an example, talk about how metaobjects are different from metafields and finally, look at the numerous areas of our online store where we can bring in this new metaobject data.

Chapters:
00:00 Intro and theory
02:48 Creating a Metaobject and adding entries
08:29 Using Metaobjects in Shopify Liquid
17:38 Accessing a Metaobject via a metafield
24:38 Using Metaobject data in the theme customiser

Check out my stuff online...

My travel channel:

My website:

My socials:
Рекомендации по теме
Комментарии
Автор

Yo thanks for this, spent 2 hours trying to figure out why this didn't work but now I've got it fixed. cheers.

legascii
Автор

Excellent run down of metaobjects, thank you! Also, those dynamic looping blocks towards the end of the video are awesome, I did not know about that feature until I watched your video!

Etcher
Автор

Looks really powerful. Thank you for your video. Right now it is out of reach of regular users that have no clue about coding but i hope one day this very flexible system can be used without coding and create pages with the values of all the metaobjects we created and their references to metafields too if we related both . This is so much powerful than collections but as I said for small users still not a feasable way to construct the website. Maybe the next Shopify 3.0 will make these metaobjects easy to use and publish on their 3.0 themes without any code knowledge.

mastixmastix
Автор

Brilliant overview and demo, thanks, Chris.

TobyCumpstay-zg
Автор

02:07 which tool you are using for creating such a good presentation of Objects and attributes?

SastaTechProduct
Автор

Thanks a lot for this! Is it possible to use HTML in metaobjects? Cheers!

humbertg.
Автор

Wow man, incredible stuff! You should offer a full custom theme + application course, I’d pay for that!

MehdiBouhalassa
Автор

Very helpful video! It looks like you associated products with the metaobjects of creators in the first part, and then associated creators via metafields in the second part. If you already have the first association, could you pull in the applicable creators onto the product pages without reselecting creators at the product level?

gregbrown
Автор

Thanks in advance if you can shed some light. We sell car styling kits, hundreds of products but there’re only few styles and colours, while for many different car models.
Is there a feature within shopify, or an app will let us create individual modules of product description, such as modules for each style description; modules for each colour description; modules for each car models. So we can pre-create all those modules and store in the system. When compose description for a product, we can just select its relevant style module; colour module; and compatible car model module, instead of have to repeatedly write up description for each product. Maybe it’s like metafield with pre-filled contents, not under each product, but store in the system and available for each product to select and utilise.

dynamn
Автор

Which tool have you used to showcase all information in box for different definitions to display in pages, blogs, cart...

Автор

Hey legend, I have a collection metafield on my “guides” metaobject so I can select a collection.

Now I want to add a grid on my collections page which loops through the guides that have the same collection selected.

Do you know how this can be done?

SacDePollo
Автор

Is this same technique the same if we want to call information in from a metaobject inside a metaobject? Example; Metaobject with fields that list business profile data information and in that list is another metaobject list that has contests. This will allow a businesses profile to show contests related to that business. If so, what do you put instead of product.title or product.url? I guess to sum up the question, how do you call metaobject list items that are not products?

Ps. Your videos are great! Keep it up!

PurchaseLocallyInc
Автор

Why is this only working with list of entries and not single list on the metafield selection? Im trying to make it so that its only possible to use one product.

ervinveisz
Автор

Thanks for making this video! How would you reference a metafield that is referencing a metaobject with "one entry"? I'm assuming we wouldn't need to use the "for" loop if it's not a list of entries

jaredingold
Автор

i want to learn shopify web components

sss-gsrs
Автор

hi can put your courses in udemy please

sss-gsrs
Автор

You doing too much with this code black screen thing i got lost 😂 im mad

yasminemaqsood
visit shbcf.ru