Skip to main content
Glama
metaobject.md1.18 kB
# Metaobject ## Description A metaobject entry containing values for a set of fields. The field structure is determined by the parent metaobject definition. ## Properties | Property | Type | Description | |----------|------|-------------| | `system` | `metaobject_system` | "Basic information about the metaobject" organized to prevent naming conflicts with custom fields | ## Accessing Metaobjects ### Individual Access Use the two-layer path structure (type and handle): ```liquid {{ metaobjects.type.handle }} {{ metaobjects['type']['handle'] }} ``` ### Field Values Access specific field values using the field key: ```liquid {{ metaobjects.testimonials.homepage.title }} {{ metaobjects['highlights']['washable'].image.value }} ``` ### In Metaobject Templates Within a metaobject template, reference the current object directly: ```liquid {{ metaobject.title.value }} ``` ## Important Notes - When the `publishable` capability is enabled, only metaobjects with `active` status are accessible; `draft` status returns `nil` - Field access uses dot notation or square bracket notation interchangeably ## Used In - Metaobject template - Theme architecture templates

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/florinel-chis/shopify-liquid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server