Add metaobject entries: Difference between revisions
From Posstack.com Documentation
Line 3: | Line 3: | ||
To populate the Metaobject template with data, you need to create Metaobject entries for each product/page/blog post. This will enable the template's Blocks to display the relevant information. | To populate the Metaobject template with data, you need to create Metaobject entries for each product/page/blog post. This will enable the template's Blocks to display the relevant information. | ||
==Add | ==Add Metaobject entries== | ||
{{Note|'''NOTE''': This guide provides instructions for adding Metaobject entries for products. The steps are the same for articles and store pages. |inline}} | {{Note|'''NOTE''': This guide provides instructions for adding Metaobject entries for products. The steps are the same for articles and store pages. |inline}} | ||
Line 14: | Line 13: | ||
:For each metaobject you want to display on your theme, click on the corresponding metafield > click '''Add entry''' and fill out the fields for your metaobject entry. | :For each metaobject you want to display on your theme, click on the corresponding metafield > click '''Add entry''' and fill out the fields for your metaobject entry. | ||
: | :====For Metafield referenced to a Single Metaobject entry:==== | ||
:The list of metafields in this group: | :The list of metafields in this group: | ||
Line 26: | Line 25: | ||
<GIF > | <GIF > | ||
:For Metafields referenced to Multiple Metaobject entries: | :====For Metafields referenced to Multiple Metaobject entries:==== | ||
:The list of Metafields in this group: | :The list of Metafields in this group: |
Revision as of 04:21, 4 June 2024
To populate the Metaobject template with data, you need to create Metaobject entries for each product/page/blog post. This will enable the template's Blocks to display the relevant information.
Add Metaobject entries
NOTE: This guide provides instructions for adding Metaobject entries for products. The steps are the same for articles and store pages.
Steps:
- Go to your Shopify admin > Products.
- Find and select the product to which you want to add metaobject-backed sections.
- On the Edit Product screen, scroll down to the Metafields section, you will see a list of new metafields (depending on which metaobject definitions you created in Step 1).
- For each metaobject you want to display on your theme, click on the corresponding metafield > click Add entry and fill out the fields for your metaobject entry.
- ====For Metafield referenced to a Single Metaobject entry:====
- The list of metafields in this group:
- ECB Rich Text
- ECB Media
- ECB Author
- ECB Accordions.
- ECB Tabs
- For Metafields in this group, you only need to add one metaobject entry for each metafield, like in this video:
<GIF >
- ====For Metafields referenced to Multiple Metaobject entries:====
- The list of Metafields in this group:
- Icons With Text.
- Note: You can add one or more Metaobject entries for each Metafield, and each entry will be displayed as an item in the linked block. For example, you can add multiple items for the Icons With Text block.
For Metafields in this group, you can add multiple metaobject entries, like in this video: < GIF >