Shopify Metafields can be used in a number of different ways in Omnivore.  From populating eBay item specifics and Amazon bullet points through to having a different description that can be used on the marketplaces.

Creating Shopify Metafields

Metafields are created in Shopify under Settings - Metafields

You can create different types of metafields in Shopify.  The ones we use in Omnivore are 'Product' and 'Variant' metafields.

Click on either Products or Variants to create a new metafield.

Click on 'Add Definition' to add a new metafield.

Enter a Name, Namespace and key and Description.  Namespace and key is what will be shown in Omnivore when mapping fields.  It is a good idea to have the first part of the name indicating the use for the metafield (in the example below the metafield is for use in the Iconic integration).

Click on Select content type.

For general Text fields select 'Text' for image urls select URL.

NOTE: When adding metafields to be used for Amazon attributes ensure the case shown in the namespace and key field matches the case expected for Amazon attributes. For more information on using Metafields for Amazon attributes click here.

Adding values to Shopify Metafields on products

Once you have created your metafields you can then enter values into them on the product edit page in Shopify.  

'Product' Metafields are visible at the bottom of the Edit product page in Shopify.  Click on the 'View All' link if the metafields you want to use are not visible.

'Variant' metafields are visible when clicking on the 'Edit' button on a Variant.

Enabling Shopify Metafields in Omnivore

By default access to Shopify metafields in Omnivore is not enabled.  To enable this go to Settings - Shopify Feed - General and then check the 'Shopify Metafields' checkbox.

Mapping Shopify Metafields in Omnivore

Once Shopify metafields are enabled in Omnivore, go to your Omnivore Dashboard and hit the Import from Shopify button

When the import has completed you will then be able to map the metafields in Omnivore so that we pull the data into your Omnivore products.

In Omnivore go to Settings->Shopify Feed->Map Fields

Drag the attributes you would like to use from the left-hand Your data fields box to the relevant right-hand Omnivore data fields

Using Metafields in Product Actions

Metafields can be used in product actions to change listing details such as product titles and descriptions.  You will need to make sure that the metafields you want to use are mapped across to the product attributes box in the Map Fields screen.

When referring to metafield names in your product actions you only refer to 'key' part of the metafield name.  You also need to remove any of the '_' in the metafield name.  For example if your metafield name is Amazon.product_title, you would refer to this in the product actions as $producttitle.