Create metaobjects: Difference between revisions

From Posstack.com Documentations
 
(12 intermediate revisions by 2 users not shown)
Line 3: Line 3:
{{Note|'''NOTE''': Easy Content Builder provides a one-click option that enables you to create a metaobject definition automatically. No need to manually specify the metaobjects’ name, type, and fields like the native Shopify workflow. |inline}}
{{Note|'''NOTE''': Easy Content Builder provides a one-click option that enables you to create a metaobject definition automatically. No need to manually specify the metaobjects’ name, type, and fields like the native Shopify workflow. |inline}}


==Steps to create metaobjects==
==Create metaobjects==
* Open Apps > Easy Content Builder > '''Metaobjects'''
* Open Apps > Easy Content Builder > '''Metaobjects'''
* On the Manage Metaobjects screen > click the '''Create''' button next to the metaobject content types that Easy Content Builder provides to create metaobjects.
* On the Manage Metaobjects screen > click the '''Create''' button next to the metaobject content types that Easy Content Builder provides to create metaobjects.
:{{Note|Please note that metaobjects will serve as a dynamic source for various blocks/sections. You will need to create one or all of the metaobject content types, depending on which one you intend to use.<br><br>Scroll down to view the available metaobjects in Easy Content Builder.|inline}}


==Types of metaobjects available in Easy Content Builder==
:[[File:Ecb-create-metaobject.jpg|frameless|1024x1024px]]
 
:{{Note|Please note that metaobjects will serve as a dynamic source for various blocks/sections. You will need to create one or all of the metaobject content types (listed in the table below), depending on which one you intend to use.|inline}}
 
====Types of metaobjects available in Easy Content Builder====
At present, Easy Content Builder allows you to create six types of metaobjects:   
At present, Easy Content Builder allows you to create six types of metaobjects:   
{| class="wikitable"
{| class="wikitable"
Line 33: Line 36:
|stores Icons With Text's content (Heading, Icons, Description, Links). This is used as the dynamic source for Easy Content Builder's Icons With Text block.
|stores Icons With Text's content (Heading, Icons, Description, Links). This is used as the dynamic source for Easy Content Builder's Icons With Text block.
|}
|}
*'''ECB Media and ECB Rich Text metaobjects''': you can use both of these metaobjects for creating long-form pages (cooking recipes, ingredient lists, product pages with complex specifications, bookstore pages, etc.) with rich content such as videos, images, icons, and rich text.
::**'''ECB Media''': where you store rich media data such as videos, images, icons.
::**'''ECB Rich Text''': where you store rich text data such as headings, subheadings, descriptions, etc.
*'''Metaobjects for specific blocks:'''
::**'''ECB Author Bio''': allows you to store the writer, artist, author profile etc (such as name, position, avatar, and relevant information).
::**'''ECB Tabs''': allows you to store tab content in metaobjects and display this dynamic content on a tab section on your theme using your Shopify theme editor. Read [[Create MetaObjects#How to create Tabs/Accordions metaobjects|setup guide]].
::**'''ECB Accordions''': allows you to store accordion content in metaobjects and display this dynamic content on an accordion section on your theme using your Shopify theme editor. Read [[Create MetaObjects#How to create Tabs/Accordions metaobjects|setup guide]]
::**'''ECB Icons With Text''': allows you to store Icons With Text content (including Heading, Icons, Description, and Links) in metaobject and display this dynamic content on an Icons With Text section on your theme using your Shopify theme editor. Read [[Create MetaObjects#How%20to%20create%20a%20Icons%20With%20Text%20metaobject|setup guide]].


{{Note|'''NOTE:''' If you need to add specific metaobjects - '''tabs''', '''accordions''', or '''Icons With Text'''  - to part of your Shopify pages, we highly recommend you use '''ECB Tabs''', '''ECB Accordions''', or '''ECB Icons With Text''' metaobjects depending on which content type you need. New to metaobjects? Learn when to use metaobjects [[Create_MetaObjects#When_to_use_metaobjects?|here]].|inline}}
===Delete a metaobject===
{{Note|NOTE: You should only use the '''Delete''' functionality the Easy Content Builder app provides.|reminder}}
 
{{Note|CAUTION: If you delete a metaobject, all associated metafields and entries will be removed from anywhere it's published or used in your store. Deleting a metaobject can't be undone.|info}}
 
*In your Shopify admin, go to Apps >  Easy Content Builder > '''Custom Data'''
*Click on '''Delete''' next to the metaobject that you want to delete.
 
==Next Step==
====Add Metaobject entries ====
Once you have created ECB Metaobjects, you can utilize these Metaobjects to store structural data for products, store pages, or articles.  


{{Note|For demo purposes, this guide walks you through the steps to create a product page using metaobjects, which include '''ECB Media''' and '''ECB Rich Text''' Metaobjects. You can apply this workflow to create and display other metaobjects in parts or an entire page/blog post/product.| reminder}}
Learn [[Add_metaobject_entries|how to add data (Metaobject entries) here]]

Latest revision as of 02:56, 14 June 2024


NOTE: Easy Content Builder provides a one-click option that enables you to create a metaobject definition automatically. No need to manually specify the metaobjects’ name, type, and fields like the native Shopify workflow.

Create metaobjects

  • Open Apps > Easy Content Builder > Metaobjects
  • On the Manage Metaobjects screen > click the Create button next to the metaobject content types that Easy Content Builder provides to create metaobjects.
Ecb-create-metaobject.jpg
Please note that metaobjects will serve as a dynamic source for various blocks/sections. You will need to create one or all of the metaobject content types (listed in the table below), depending on which one you intend to use.

Types of metaobjects available in Easy Content Builder

At present, Easy Content Builder allows you to create six types of metaobjects:

Metaobject Definition Description
ECB Media stores videos, images, and icons. This is used as the dynamic source for Easy Content Builder's metaobject templates.
ECB Rich Text stores headings, subheadings, descriptions, etc. This is used as the dynamic source for Easy Content Builder's metaobject templates.
ECB Author Bio stores the writer and author's profile details (name, position, avatar, etc). This is used as the dynamic source for Easy Content Builder's metaobject templates.
ECB Tabs store tab content. This is used as the dynamic source for Easy Content Builder's Tabs block.
ECB Accordion stores accordion content. This is used as the dynamic source for Easy Content Builder's Accordion block.
ECB Icons With Text stores Icons With Text's content (Heading, Icons, Description, Links). This is used as the dynamic source for Easy Content Builder's Icons With Text block.

Delete a metaobject

NOTE: You should only use the Delete functionality the Easy Content Builder app provides.
CAUTION: If you delete a metaobject, all associated metafields and entries will be removed from anywhere it's published or used in your store. Deleting a metaobject can't be undone.
  • In your Shopify admin, go to Apps >  Easy Content Builder > Custom Data
  • Click on Delete next to the metaobject that you want to delete.

Next Step

Add Metaobject entries

Once you have created ECB Metaobjects, you can utilize these Metaobjects to store structural data for products, store pages, or articles.

Learn how to add data (Metaobject entries) here