Can I / How do I reference these items in my theme? Are they available as liquid variables?
For example - It’d be nice to reference be able to insert {{ brand.logo }} or {{ brand.logo.square }} in my theme - rather than having someone add the logo via the customizer.
I can’t find anything on shopify.dev, nor any other info more than the helpfile above.
Thanks. This answers part of my question - this new button is the “Dynamic Sources” function (help file here). Right now, you go to an existing field, and say “go get this source” and pick the item containing your data.
As far as I can tell, this works on image fields, but doesn’t yet work on the url fields. So, you can link the logo, but you can’t yet link the social media fields.
I talked to shopify support about this - and theoretically, all these brand items are metafields. They just haven’t written documentation for it yet.
As a dev, I want the option to skip the customizer field entirely, and just hard code in something like “if the brand.social.facebook metafield is not blank, insert facebook link here”
It’s just one part, when you use the brand logo, it will sync all instead of you adding code for each, like you can install Dawn 6.0, the brand will be added to the logo by default, instead of you having to select display.
If it helped you solve your issue, please mark it as a solution. Thank you and good luck.