Skip to main content

Optional features

Metafield and metaobject definitions each come with a series of optional features you can opt into called capabilities.

This lets you mix in behaviors and logic with your metafields and metaobjects, to unlock the right functionality for your use case. Capabilities are diverse, from adding theme templates to a metaobject, to enabling a metafield to drive filters in the Shopify admin and GraphQL Admin API.


Anchor to Metafield capabilitiesMetafield capabilities

Metafield definitions come with the following capabilities:

  • smartCollectionCondition: Create an automated collection based on metafield values for a given definition.
  • adminFilterable: Filter supported owner types based on metafield values for a definition in the Shopify admin and GraphQL Admin API.
  • uniqueValues: Enforce unique metafield values for a definition.

Anchor to Metaobject capabilitiesMetaobject capabilities

Metaobject definitions come with the following capabilities:

  • publishable: Set metaobjects as either DRAFT or ACTIVE to control visibility in storefronts.
  • translatable: Allow metaobject translations through Shopify's translation APIs.
  • renderable: Set SEO metadata attributes on your metaobjects.
  • onlineStore: Assign a theme template and define a URL to make your metaobjects render web pages in the online store.


Was this page helpful?