Metafields
A metafield is a column. The header carries the namespace, the key, and the type. Values are not a separate spreadsheet.
You do not import metafields as their own spreadsheet of values. On Products, and on the other sheets that have them, each metafield is a column. Export the sheet once and the headers are already filled in.
The header
Product metafields use Metafield: namespace.key [type]. Variant metafields use Variant Metafield: namespace.key [type]. The type in brackets is used when writing. If it is missing, Leaper looks up the shop definition.
Empty cells
Empty cells are skipped unless Delete blank metafields is on, and then they delete. Values are written as the cell text, and JSON lists stay JSON. One bad metafield is skipped and the product still saves.
References
On import, handles are looked up on this shop. With Ignore ID, a leftover GID is skipped instead of pointing at the old shop. Metaobject lookup needs type/handle and the read_metaobjects scope. Without that scope the field is skipped.
| Type points at | What the cell contains | Example |
|---|---|---|
| Product, collection, or page | The handle. | wool-coat |
| Variant | productHandle:sku | wool-coat:WOOL-M |
| Metaobject | type/handle | shop/size-chart |
| File | The filename. | care.pdf |
| A list | The same values, separated by semicolons. | wool-coat;linen-shirt |
Definitions and metaobjects
Merchant-owned metafield and metaobject definitions are created from the Metafield Definitions and Metaobject Definitions sheets. App-owned $app namespaces are skipped. Metaobject entries are the Metaobjects sheet. Field: {key} columns come from the definition. Headers for those sheets are on Columns.