Concepts
Content models
Your own content types and their fields.
In the dashboard: A store, Content, Models
Content types
A content type describes a kind of entry and its fields, such as Recipe with a title, an image and steps. Each field has a name and a Field ID (lowercase letters, digits and _, starting with a letter); IDs are unique within a type.
Some types draw their entries from the store, such as collection URLs from the catalogs; they hold no entries of their own.
A reference field points at entries of the types you list. Allow several entries, in order, to let it hold a list.
Built-in types and Duplicate
Why: your site is built on the types it starts with (Page and its sections, the header, the footer, the site settings), so deleting one or changing its fields could break pages without warning. How: those types are marked Built-in in Content models. Their fields and settings are shown read-only, they cannot be deleted, and the store refuses such a change from the API too. Their entries stay fully editable.
- Open the type in Content models and choose Duplicate type.
- Give the copy a name and an API identifier. It gets the fields, the settings and the review stages of the original, without its entries.
- Change the copy as you like. Wherever the original can be placed, the copy can too: a copied section appears in the section list of every page, and a reference field that takes the original takes the copy. On the site, a copied section looks like the section it came from; fields you add to it are kept in the content API and are not drawn by that section.
- A copy of the product or collection page template does not draw product or collection pages: those addresses belong to the original.
- A copy of a site setting such as Brand or Footer is a separate type: the site keeps reading the original.
- Updates keep the built-in types current: new fields a release adds to them reach your store on its next update.
- A built-in type you had already changed before the lock keeps your changes and stays editable. It says so at the top, and updates no longer add new fields to it.
- The bulk import follows the same rule: a bundle may list a built-in type with the fields it has and import entries of it, but a bundle that adds a field to a built-in type is refused, and the refusal names the field. Duplicate the type and import into the copy.
Changing fields safely
- Before a change is saved, the editor lists what it does to stored content: values that move, values that convert, values that cannot convert, and fields that become required.
- Changing a Field ID renames the field: its values move to the new ID, in every language and variant.
- Changing a field's type converts each value where it can, such as text to a number or text to rich text. A change that would remove values from published entries asks you to confirm it.
- Removing a field keeps its values stored and hidden; adding the field back under the same ID brings them back.
Workflow
A type can have review stages an entry moves through, in order; open the entry's Workflow panel to move it. Either the stages are a guide and an entry publishes from any stage, or an entry publishes only from the last stage (needs approval).