Skip to main content

Send product data to Shopify metafields

Metafields are extra fields on a Shopify product, such as its material, capacity or care instructions. Your theme reads them to show details on the product page. When you publish a listing from SKU.io, it can fill those metafields for you. Map each one once, and every product you publish to the store gets it.

Before you begin​

  • Your Shopify store is connected. See Connect a Shopify store.
  • The metafields exist in Shopify, under Settings → Custom data. You can also create one from SKU.io (see Create a metafield from SKU.io).
  • To create metafields or change mappings, you need permission to edit integrations.

Find your store's metafields​

  1. In the sidebar, open Apps & Integrations and choose your Shopify store.
  2. Open Settings, then the Listing Metafields tab.

The Listing Metafields tab, listing the store's metafields with their key, type and where each value comes from

Each metafield defined in your store has a row.

ColumnWhat it shows
Name and KeyThe metafield's name in Shopify and its key, such as custom.material.
OwnerProduct for a metafield on the whole product, Variant for one on each variant.
TypeThe kind of value Shopify accepts, such as single line text, volume or true or false.
Mapped fromWhere the value comes from for every listing on the store, or Not mapped. Click it to open the mapping.
StatusActive; Retired when the metafield was deleted in Shopify; or Unsupported for a type SKU.io can't send yet, such as a page reference.

The list is refreshed from Shopify every night. Click Refresh metafields to bring in one you've just added in Shopify.

Map a metafield for every listing​

To fill a metafield on every product you publish to the store, map it once on the listing mappings page.

  1. On the Listing Metafields tab, click listing mappings page below the list.
  2. Click Add mapping.
  3. In the field box, type the metafield's name, such as Material, and choose it. Metafields are labelled Shopify metafield — every category.
  4. Choose where its value comes from, such as Product attribute, then choose the attribute.
  5. Click Save.

The listing mappings page with the Material metafield mapped from the Material product attribute

You can map a metafield the same way in a listing profile or a listing template. A template's value wins over a profile's, and a profile's wins over the channel-wide mapping.

Give one product its own value​

On a single product's draft, you can override any metafield.

  1. Open the product's draft for the store. See Work with listing drafts.

  2. Click Customise this product's values for this channel.

  3. Scroll to the Shopify metafields section. Each row shows the metafield's key and type.

    A product's draft, with the Shopify metafields section open and Material filled from the mapping

  4. On the metafield's row, choose a source:

    • Static value — type the value for this product only.
    • From attribute — choose one of the product's attributes.
  5. Click Save & check.

SKU.io checks each value against the metafield's definition: its type, its allowed values and its limits. A value that won't fit is flagged on its row, so you can fix it before you publish. When every value passes, the store's row on the publish screen shows All required fields ready.

The publish screen after Save & check, with all required fields ready for the Shopify store

What gets sent​

When you publish or update the listing, the metafields go to Shopify with the product.

SituationWhat happens
A value is blankNothing is sent. A blank value never clears what's already in Shopify.
A measurement, such as 500 ml or 0.35 kgSent in Shopify's own format, with its unit.
A list metafieldEach value is checked against the list's limits before it's sent.
A Variant metafieldSent to each variant of the product.
An Unsupported or Retired metafieldCan't be mapped, and nothing is sent.
A category attribute, such as ColorSent as Shopify's own category value. A value your store doesn't have yet is skipped, and the draft shows Published — some values were not sent, listing each one.

Create a metafield from SKU.io​

If the metafield doesn't exist in Shopify yet, you can create it without leaving SKU.io.

  1. On the Listing Metafields tab, click Create metafield.
  2. Enter a Name, choose the Owner (product or variant), and check the Key. The Namespace is custom unless you change it.
  3. Choose its Type. For a text field, you can add Allowed values.
  4. Click Create.

The metafield is created in Shopify and appears in the list, ready to map.

Next steps​

Last verified: