Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Prerequisite:

We don't have to import all metafields from a store. Some metafields belong to custom apps and we don't need to import them. To skip those metafields, we can specify in the channel configuration the namespace we should use during the import. If empty, we will import all metafields.

1- Import:

Shopify has multiple metafield types but we are not importing all of them. Here is the ones we are skipping:

  • collection_reference

  • file_reference

  • metaobject_reference

  • mixed_reference

  • page_reference

  • product_reference

  • variant_reference

  • dimension

  • money

  • rating

  • volume

  • weight

  • variant_reference

  • list.dimension

  • list.volume

  • list.weight

  • list.collection_reference

  • list.file_reference

  • list.metaobject_reference

  • list.mixed_reference

  • list.page_reference

  • list.product_reference

  • list.variant_reference

Note: If a client wants to import one of those types into the PIM they will have to delete the metafield definition in Shopify before importing the store.

2- Metafields mapping

Here is how we translate Shopify metafield types to PIM attribute types:

Shopify Metafield Types

PIM Attribute Types

  • multi_line_text_field

  • list.number_integer

  • list.number_decimal

  • list.color

  • list.date

  • list.date_time

  • list.single_line_text_field

  • list.url

selectbox

  • multi_line_text_field

textarea

  • single_line_text_field

  • color

  • date

  • date_time

  • money

  • number_decimal

  • number_integer

  • url

text

  • No labels