18. Product custom fields

  • Updated

Introduction

This article explains how custom fields in TRAEDE synchronize to Shopify. When enabled, selected custom fields are sent to Shopify as metafields, allowing you to use this data inside themes, apps, or custom storefront logic.

This guide is useful for teams working with additional product data such as HS codes, origin countries, or any other custom-defined attributes.

 

 

Enabling custom field synchronization

In the Shopify integration settings, you will find the option:

Sync custom fields

When this is enabled, any custom fields you select will synchronize to Shopify as metafields.


How custom fields map to metafields

For each product, TRAEDE will:

  1. Create a metafield namespace called traede

  2. Create a metafield key matching the custom field name in TRAEDE

  3. Store the value from the custom field inside that metafield

Example:
If your product in TRAEDE contains:

  • HS tariff code

  • Origin country

And these fields are selected for synchronization, then TRAEDE will send them to Shopify as:

Namespace: traede
Key: hs_tariff_code
Key: origin_country

The values will match what you have entered in TRAEDE.


Using metafields in Shopify

Once synchronized, these metafields can be used for:

  • Storefront themes (e.g. showing HS code on product pages)

  • International shipping apps

  • Custom logic or scripts

  • External integrations

Shopify recognizes metafields as structured data, making them more reliable than using tags or descriptions for technical information.


 

Was this article helpful?

0 out of 0 found this helpful