Metaobject content types — custom HTML fields
FlexiBlocks can edit custom metaobject entries when your shop already defines metaobject types in Shopify Admin. The app does not create new metaobject types — it adds Gutenberg fields to types you enable.
Enable a content type
Section titled “Enable a content type”- Open Settings → Content types in FlexiBlocks.
- Find a metaobject type from your shop (live definitions from Shopify).
- Click Enable and choose a
multi_line_text_fieldas the HTML body field (not rich text). - The app adds
gutenberg_dataandgutenberg_reusable_refsfields to that definition.
Create and publish metaobject entries in Shopify Admin as usual.
Edit entries
Section titled “Edit entries”After at least one type is enabled:
- Open Metaobjects on the content hub (or go directly if only one type is enabled).
- Pick an entry → Edit in FlexiBlocks → Save.
Saved HTML is stored on the mapped field. Your theme must output that field’s raw HTML inside a wrapper with class .ecom-gutenberg-content so the storefront embed can hydrate blocks.
Reusable blocks
Section titled “Reusable blocks”You can insert reusable block references in metaobject bodies. The reusable block library type itself is not offered as a hub content type.
Storefront
Section titled “Storefront”Enable the FlexiBlocks app embed on templates that render your metaobject HTML. Behavior matches Storefront embed for articles and pages.