Creating and Using Shopify Metaobjects - Shopify Tutorial

Поділитися
Вставка

КОМЕНТАРІ • 60

  • @lilianarodriguez2886
    @lilianarodriguez2886 Рік тому +11

    After 300 videos, I finally found somebody that can explain! Thank you and thank you!

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

      Thanks you, we're so happy that our video helped!

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

      @@sunriseintegrationnow if only I could find someone who knows how to iterate over metaobjects in a collection 🙄👍

  • @mrdonald6421
    @mrdonald6421 5 місяців тому

    This is the best tutorial video on getting to understand what Metaobjects is and learning the practical use of it with the impeccable demonstration by the creator. Thank you a million times is just not enough!

    • @sunriseintegration
      @sunriseintegration  5 місяців тому

      Thanks so much. So glad it was helpful. Metaobjects are super useful and now you're ready to try 'em out.

  • @aloryaart-o.kenanyildirim7843
    @aloryaart-o.kenanyildirim7843 Рік тому +3

    Amazing thank you, most of the things i found on the internet were for really advanced users, even shopify`s help section was too much complicated. I understood it with your help. Thank you

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

      That's so great to hear, we are super happy that our tutorial helped. We have a lot more Shopify videos coming soon so hopefully we can help with other features too.

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

    Very clear and easy to follow tutorial. Thank you!

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

      Thanks so much for watching the video. We're so glad it helped.

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

    Brilliant! Simple, Clear and relevant. Thank you so much 👍

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

      You're welcome and thanks for watching the video. Let us know if there are other Shopify features you want us to review.

  • @devanshrana4564
    @devanshrana4564 11 місяців тому +2

    Most helpful video available on youtube for this query!

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

    Great tutorial, simple and clear. thanks!

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

    Thank you for your very detailed video!!!

  • @everluisacosta6362
    @everluisacosta6362 Рік тому +2

    This is an awesome feature thanks for the good explanation!

  • @RapidTurtle47
    @RapidTurtle47 5 місяців тому

    Hey, thanks for such a useful video!
    I see the potential of utilising metaobjects in various ways.
    Could you also go through connecting metaobject on the whole block itself?
    For example at 9:32, you demonstrated connecting metaobject for required section (ex. Image), but I see that we can also connect metaobject on the whole block itself.
    I wonder under which situations that would be required.

    • @sunriseintegration
      @sunriseintegration  5 місяців тому +1

      Each section can be assigned to any object in the block. Just assign the metaobjects to the appropriate item within the block and you can complete the info. For example, the image, title and description (like the within the video) all make up elements of the metaobject.

  • @Purple-qi4hj
    @Purple-qi4hj Рік тому +1

    Wow. This is a huge feature update.

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

      Ya, it's very helpful. We've already used it in many new projects.

  • @alexrusin
    @alexrusin Рік тому +2

    This is very helpful! Thank you.

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

    Thanks for the helpful info! 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?

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

      Oddly, the Storefront API does provide the reference list, however you can call the Metaobject Admin API via GraphQL and get that reference list. You will just need to make the backend API call and do some custom section work. We don't have a tutorial, but that would be a good one for us to make.

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

    Cracking Video thank you :)

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

    Excellent....one problem.....is there a way to specify metafield directly while uploading product_template.csv? If so, please share.

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

      We are not familiar of any way to add metafields via the native CSV. There may be some apps that support this. You would need to check the Shopify app store.

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

    Hello, Thanks very much for the video. Any sugestion How we can see all the Products from Farm A or Farm B. Is there any options that also this is dynamic?
    Thanks in advance.

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

      Within the Metaobject (in the Custom Data section) it will list all items that are attached to that metaobject. If you want to use it on the site, then you need to work on some custom liquid to grab this data and display on the page.

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

    Excellent video, that is definitely powerful

  • @sashaadato3642
    @sashaadato3642 Рік тому +2

    Hello! Thanks for this awesome video, What about if one of my products doesn't have a metaobject, Would it appear empty? Is there a way of hiding that section when a metaobject is not associated with it?

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

      If the metaobject has no data for that product then it will appear blank. You can however apply some conditional logic to the section to suppress the section if it is blank. This takes a little Liquid coding though.

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

    Hi, great video! I have a problem with metaobjects. I created a metaobject for the "text with image" section, linked it to a specific product, but the "text with image" section is also visible in other products, only empty (without content). Will the metaobjects be visible on the product page for each product?

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

      This is a common issue. You need to use Liquid to suppress the section if there isn't any data.

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

      This should work. Use following code where in you need to replace namespace with metaobject name and key with which field you want to supress.
      {% if product.metafields.namespace.key != blank %}
      {{ product.metafields.namespace.key }}
      {% endif %}

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

    Good stuff... but what if you have a list of objects to render for a category for example?

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

      Sorry, not following your question. Are you talking about a Collection page?

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

      @@sunriseintegration sorry, thats right. I added a list of metaobjects to collections, can't seem to access them in liquid

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

      @@m12652 Have you tried using the theme editor to custom your collection page and add the metaobjects to the theme? Sounds like that should be what you need.

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

      @@sunriseintegration thats right, I assign each product a parentCollection metaobject which is the content of a metafield in a collection object

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

    Thank you!

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

    Would it be possible to let a user with an account on my website fill in their clothing sizes on their profile and have the website show pricing for their size or preferred color and show if it’s in stock in the quick view for shopping?

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

      If you have all your sizes and colors configured as variants, then yes, the user could select their option and see the price (and availability.)

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

    I want to add different grid images for different products, is it possible with meta-objects?

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

      The metaobjects are reusable blocks of content so if your goal is to use the new product grid across multiple items, then it makes sense to create a metaobject for this purpose.

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

    Thank so much. Can you show how we can access a value of a metaobject? I've done everything but cant read the value, {{ product.metafields.custom.metaobject_farms.farm.name.value }} in editing code mode...

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

      The metaobject value(s) are going to be an array (since you can add multiple entries for the definition.) You will need to loop through the metaobject to get the values for each. Take a look at this Shopify Community post: community.shopify.com/c/technical-q-a/metaobject-values-in-metafields/m-p/1939164

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

    Is there also a way to use filters with metaobjects?

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

      You can use metafields for filters but the metaobject values will not be filterable since they custom data object of multiple values.

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

      @@sunriseintegration Ah oke. Hope they will add that in the future then. Also it would be golden if collections are automaticly created.

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

    can you please share the liquid code ?

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

      There is no custom Liquid for this implementation. Everything uses the native Shopify themes and sections.

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

    This is very useful! Thank you

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

      Glad to hear that! Let us know if you're looking for other tutorials.