Version 1.12.2 :

Version 1.12.2

Modified on Fri, 19 Jun at 4:43 PM

What’s new in version 1.12.2

Version 1.12.2 of the Shopify connector is now available. It includes a minor but important improvement to the way Shopify metafields are named and mapped in Sales Layer.

This version is especially recommended for customers who work with Shopify metafields whose namespace contains underscores, such as custom namespaces created directly in Shopify.

Main update in version 1.12.2:

All the changes described in this article are available from Shopify connector version 1.12.2 onward.

Metafield naming format

Shopify metafields in Sales Layer should generally follow the following naming convention:


Plain text

For example, this field name in Sales Layer:


Plain text

is sent to Shopify as:


Plain text

Namespaces with underscores

If the Shopify namespace contains an underscore, each underscore in the namespace must be written as three underscores in the Sales Layer field name.

For example, this field name in Sales Layer:


Plain text

is sent to Shopify as:


Plain text

Note: Use the triple underscore only for underscores that belong to the namespace. The key should keep the same structure defined in Shopify.

Existing metafields without underscores

Existing metafields whose namespace does not contain underscores keep the same format as before.

For example:


Plain text

Before synchronizing metafields

The Sales Layer connector can send metafields to Shopify, but the metafield definition should be created in Shopify before sending any data. This helps Shopify apply the correct metafield type and validations.

If the metafield definition does not exist, the connector may create it automatically, but it will be incomplete. In that case, Shopify may treat the received value as plain text instead of applying the intended metafield type.

For more information about creating and mapping metafields, see the article Metafields.

Best practices

Before synchronizing metafields, create and define them in Shopify, then check that the namespace and key in Sales Layer match the Shopify configuration. If the namespace contains underscores, replace each namespace underscore with three underscores in the Sales Layer field name. When working with data that Shopify should recognize natively, use Shopify standard metafields whenever possible.

Useful Shopify links