Themes Coder TempletoDocs
Build your store

Metaobjects

Four sections can show entries from metaobjects instead of blocks. You keep the content in one place in your admin, and every section that uses it updates at once.

SectionSuggested definition typeField keys
Team Carouselteamname, role, bio (rich text or multi-line text), image (file), link, and social links link_instagram, link_facebook, link_twitter, link_linkedin, link_youtube, link_tiktok, link_email
Client Reviews Slidertestimonialsname, role, review_text (rich text or multi-line text), image (file), rating (rating or integer)
Shop By Brandbrandsbrand_title, brand_url (URL), brand_image (file), open_new_window (true or false)
FAQ Accordionfaqquestion (single line text), answer (rich text or multi-line text)

Create the definition#

  1. In your admin, open Settings → Custom data → Metaobjects and choose Add definition.
  2. Give it a name. Shopify fills in the type, for example team. You'll type this into the section later.
  3. Add the fields from the table above. The field keys must match exactly, for example review_text, not review.
  4. Under Access, turn on Storefronts. Without it the theme can't read the entries.
  5. Save, then add your entries under Content → Metaobjects.

Connect a section#

In the theme editor, select the section and find Definition type or metafield. Type one of:

  • A definition type, such as team: the section shows all entries of that definition.
  • A metafield that holds a list of metaobjects, such as custom.team: the section shows the entries picked in that metafield. On a product page, that's the product's metafield; elsewhere, the shop's metafield. This lets each product show its own FAQs or reviews.

Type the value by hand. A connected dynamic source doesn't work in this setting.

When the setting is empty, or the definition has no entries, the section shows its blocks as usual. Keeping a few blocks is a safe fallback.

Dynamic sources#

Many text settings can also connect to a metafield with the Connect dynamic source button in the theme editor: descriptions, review texts, team bios and hero slide texts, in 18 sections. Empty connected fields are hidden.