brand
The brand assets for the store.
Properties
- colors
The brand's colors.
- metafields
The social links for the brand.
Social links are stored in metafields, and can be accessed using the syntax
.
Platforms facebook
pinterest
instagram
tiktok
tumblr
snapchat
vimeo
ExampleAccess social links{{ shop.brand.metafields.social_links.twitter.value }}{{ shop.brand.metafields.social_links.youtube.value }}{{ shop.brand.metafields.social_links.twitter.value }} {{ shop.brand.metafields.social_links.youtube.value }}
{ "shop": { "brand": { "metafields": {} } } }
Output
https://twitter.com/ShopifyDevshttps://www.youtube.com/c/shopifydevs
Anchor to
Anchor to
{
"colors": {},
"cover_image": {},
"favicon_url": {},
"logo": {},
"metafields": {},
"short_description": "Canada's foremost retailer for potions and potion accessories. Try one of our award-winning artisanal potions, or find the supplies to make your own!",
"slogan": "Save the toil and trouble!",
"square_logo": {}
}
{
"colors": {},
"cover_image": {},
"favicon_url": {},
"logo": {},
"metafields": {},
"short_description": "Canada's foremost retailer for potions and potion accessories. Try one of our award-winning artisanal potions, or find the supplies to make your own!",
"slogan": "Save the toil and trouble!",
"square_logo": {}
}
Was this section helpful?