smootify-metaobjects
Paged list of the metaobjects of a type, or of a product metafield. 2.0: data-type="metafield.<ns>.<key>" with data-parent-id="customer" lists the entries of the logged-in customer's metafield, such as metafield.smootify.gift_list, the entries a metaobject-creator[customer-field] made for them (newest first; logged out, or none yet: is-empty; an entry deleted in the admin is skipped).
Where it can go
- Anywhere on the page.
- Must contain
smootify-metaobject. - Out of place, Smootify removes it from the page: also without data-type, or data-product-id / data-parent-id=“customer” for metafield lists.
What it requires
Nothing beyond Smootify: it works on every plan.
Attributes on the element
- It reads
data-type,data-limit,data-product-id,data-parent-id.
Attributes inside it
| Group | Attribute name | Values |
|---|---|---|
| Loading | skeleton | 5 |
| Metaobject list | data-action | 3 |
Loading
Its code loads only on pages that have smootify-metaobjects.