Skip to content

Field Mappings

Field mappings translate canonical attribute codes from your catalogue into the specific field names expected by the destination platform (Magento, Shopify, WooCommerce).

Each platform uses different field structures:

Canonical attributeMagento 2ShopifyWooCommerce
delivery_dayscustom_attributes.delivery_timemetafields.custom.delivery_daysmeta_data.delivery_days
weightweightweightweight
colorcustom_attributes.coloroptions.Colorattributes.color

Without field mappings, canonical attributes won’t appear on the destination platform unless they match a standard field name exactly.

  1. Open an export profile
  2. Go to the Field Mappings tab
  3. Click Add mapping
  4. Select:
    • Canonical attribute code: the attribute from your catalogue (e.g. delivery_days)
    • Destination field: the path in the destination format (e.g. custom_attributes.delivery_time)
    • Transform (optional): apply a transform before sending

Standard product fields (name, description, price, stock, SKU, GTIN) are always exported automatically and don’t need field mappings.

Field mappings are only needed for custom/additional attributes beyond the standard set.

The same transforms available for attribute mappings are also available at export time:

TransformDescription
trimRemove whitespace
regex_extractExtract substring
number_formatFormat a number (decimal places, separator)
prependAdd prefix
appendAdd suffix

This lets you format values for the destination’s requirements — for example, Magento might expect weight in grams while your catalogue stores it in kilograms.

Attribute overrides set a fixed value for an attribute on exported products, optionally with conditions.

Example: Force brand_visible = false on all products from Supplier A:

  • Condition: supplier_id = Supplier A
  • Attribute: brand_visible
  • Value: false

Overrides are applied after pricing rules and before the export is sent to the destination.

Custom attributes use the custom_attributes.{code} path. The attribute must already exist as an EAV attribute in Magento with a matching code. CatalogRelay sends the value; Magento handles validation.

Metafields use the metafields.{namespace}.{key} path. The namespace and key must match the metafield definition in Shopify. Standard product fields (title, body_html, vendor, product_type) are available without mappings.

Custom attributes use the attributes.{name} path. Meta data uses meta_data.{key}. WooCommerce attribute names are case-sensitive.