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:
Create a metafield namespace called
traedeCreate a metafield key matching the custom field name in TRAEDE
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.