Creating entries
Metaobject entries store your customized data for your Shopify resources. The customized data is determined by the fields in your metaobject definition. After you create ametaobject definition, you can then add information in each entry for the fields from the definition.
For example, you can add in a metaobject definition for product highlights with a heading, caption, image, and description in each entry that is unique to your product.
On this page
Creating metaobject entries
- From your Shopify admin, go toContent>Metaobjects.
- ClickAdd entry. If you have more than one metaobject definition available, then choose the definition to base the new entry on.
- Complete the fields for your entry. These fields are determined by the metaobject.
- Optional: Set the status for your metaobject. New entries are set toActive默认情况下。Activemeans it's ready to be displayed in your store, but it won't be displayed to customers until you publish it. If an entry is set toDraft, then you won't be able to publish it to your store.
- ClickSave.
Entry handle
Your entry has a generated handle, which is a readable, URL-safe unique identifier specific to a single entry. You can edit the entry handle after you have started using entries in your store, but doing so isn't recommended. If you edit the entry handle and it's being used in other parts of your store, then this impacts any references manually set in your store, including in Liquid. Editing the entry handle can result in Liquid errors or not having an entry connected to your product, collection, and other areas of your Shopify admin.
Editing an entry
You can edit entries at any time from theContent>Metaobjectsdashboard.
If the entry is published anywhere on your store, then your edits will automatically be reflected wherever the entry is used.
If you want to make changes to the fields that the entry uses, then you need to edit the metaobject definition and not the individual entry.
Steps:
- Click an entry to load the details.
- Make any required changes to the entry.
- Use the drop-down menu to set the status toDraftorActive.
- ClickSave.
删除an entry
Deleting an entry can't be undone.
Steps:
- In your Shopify admin, go toContent>Metaobjects.
- Click an entry that you want to delete.
- Click删除. Confirmation text displays to confirm that you want delete the entry.
- Click删除to remove the entry.