Skip to content

Metafield types

A feed can write a product or variant metafield from one of its columns. Add one with Add metafield in the profile’s Mapping tab (see Map a feed). Each metafield is one field: you choose its feed column and rules, and tick Owned for it, like any other field.

Type What the feed cell holds
Single line text One line of text.
Multi-line text Text; line breaks are kept.
Integer A whole number.
Decimal A number with at most 9 decimal places.
True or false true or false.
URL A URL starting with https://, http://, mailto:, sms: or tel:.
Date A date written YYYY-MM-DD.
Color A color written #RRGGBB.
List of single line text, integers, decimals, URLs, dates or colors Several values in one cell, with a separator between them. See Lists.
Weight, Dimension, Volume A number. The unit is set in the mapping. See Weight, dimension and volume.
Money An amount, in your shop’s currency. See Money.
Metaobject, List of metaobjects Your supplier’s values, such as Red, matched to entries in an Entry table. Category metafields like Color are of this type. See Metaobjects and category metafields.

Use rules to turn your supplier’s values into these. Numbers need a To decimal or To whole number rule; if you choose how Numbers in your feed are written, FeedForge adds it for every number field that has no rules yet. A value a metafield can’t take is an error: that change isn’t written, and the run report gives the reason. The row’s other fields are still written.

A metafield whose definition uses another type is grayed out in Add metafield, for example rich text, JSON, date and time, rating, product, variant, file and page references, and lists of weights, dimensions or volumes. Tell us which one you need.

A list metafield takes several values from one cell, such as Cotton|Linen. Choose what separates them under Items in … are separated by: Vertical bar | (the default), Comma ,, Semicolon ; or Line break.

FeedForge splits the cell, trims the spaces around each item and drops empty items. It keeps the order and any repeats: they are your supplier’s data. Each item is checked like its type, so in a list of dates every item must be written YYYY-MM-DD. Number items are written with a dot: in a list of decimals, 12,5 is an error unless a comma separates the items. A cell with no items left writes nothing, and the metafield keeps its value.

Rules work on the whole cell, before it is split. For example, a Replace text rule can change a supplier’s / into the separator you chose.

Choose the unit next to the field, under Unit of …:

  • Weight: g, kg, oz, lb. New fields start in kg.
  • Dimension: mm, cm, m, in, ft, yd. New fields start in cm.
  • Volume: ml, cl, l, m³, US fl oz, US pt, US qt, US gal, imp fl oz, imp pt, imp qt, imp gal. New fields start in ml.

The cell must become a number: add a To decimal rule. If your supplier uses another unit, add a Convert unit rule from their unit to the field’s unit. When you change the field’s unit, the rule’s target unit changes with it. A value of 0 is written; a negative value, or one with more than 9 decimal places, is an error.

A money metafield is written in your shop’s currency, which the field shows, for example In EUR, your shop’s currency. You can’t choose another currency. The cell must become a number: add a To decimal rule.

The amount must be above 0 and have no more decimal places than the currency has: 2 for EUR or USD, none for JPY. Anything else is an error. FeedForge never rounds an amount. Unlike other fields, an empty cell is an error too; if your supplier leaves some empty on purpose, add a Default when empty rule.

If your shop’s currency changes, the field is flagged and Shopify refuses its values. Remove its feed column, then choose it again, to write it in the new currency. This also removes its rules, so add them again.

A money metafield is not a price: the guard on price changes doesn’t check it.

Category metafields, such as Color or Fabric, hold entries of a metaobject, not text. So does any metafield of type Metaobject or List of metaobjects. You can add these only from one of your metafield definitions.

Choose Entry table next to the field. It lists the values in the feed preview; match each to one of the metafield’s entries in Shopify. In a list, each item is matched on its own: with Rot matched to Red and Blau to Blue, the cell Rot|Blau writes Red and Blue. Values must match exactly, so upper and lower case count. The table lists the feed’s values before any rules, but the lookup uses them after the rules, so a metaobject metafield is best left without rules.

A value you leave Not matched is an error: FeedForge never creates entries. Add missing entries in your Shopify admin, then open the table again. The preview shows only the first rows, so run a dry run after filling the table: it reports every value that isn’t matched yet.

To list the entries, FeedForge needs your approval to read metaobjects and their definitions. If the field asks for it, open the app again from your Shopify admin and approve the new permission.

The run report shows each entry by its Shopify ID, such as gid://shopify/Metaobject/123, not by its name.

Shopify stores some values in its own format, such as 2 as 2.0. FeedForge compares them by meaning, so a feed that hasn’t changed plans no writes.

Undo puts back each metafield’s value from before the run, and clears a metafield that was empty before it.