Manage and configure metafield definitions for Shopify products and its variants

In addition to the metafields, the integration app gets the metafield definitions for product and their variants from Shopify. This allows you to create additional data constraints for metafields and enable the merchant to edit metafield values in context.

For every metafield that is synced to Shopify, the integration app searches for the matching metafield definition and send sync the metafield “type” accordingly. The metafield definitions act as templates that specify what part of your store a metafield applies to and what values the metafield can have. Adding metafield definitions ensures that the same validation rules apply to every value that you enter for a specific metafield.

To sync metafield definitions, check the Sync Shopify metafield definitions check box in the Settings > General section. Check the box to get the metafield definitions for the Shopify products and their variants. If you add or update the metafield definitions in Shopify, ensure to check the box and click Save in the Settings tab to sync the metafields with the appropriate metafield type.

Find metafield definitions in Shopify

After you add, create, or pin the metafield definition, you can find the metafield definitions in your Shopify store in the Admin > Metafields section.

Configure setting in the integration app

In the Shopify – NetSuite integration app, in the Settings > General section, check the Sync Shopify metafield definitions box to sync the metafield definitions for the Shopify products and their variants. If you add or update the metafield definitions in Shopify, ensure to check the box and click Save in the Settings tab to bring the metafields with the appropriate metafield type. 

NOTE:

If the metafield definitions are not created in Shopify, the item or matrix item flow assigns one of the default metafield types (single_line_text_fieldnumber_integernumber_decimalbooleanjson, or date) based on the metafield value.

If you do not check the Sync Shopify metafield definitions box and click Save in the  Settings > General section, an error message, “Unable to set the metafield type, check the Sync Shopify metafield definitions check box and click Save in the Settings tab. To resolve the error, click Retry on the integration app Dashboard. 

Leave a comment

Your email address will not be published. Required fields are marked *