> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.stock-sync.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Does Shopify Store-to-Store Sync automatically create metafield definitions?

Yes, Stock Sync can automatically create missing metafield definitions in your destination store during a store-to-store sync. However, this feature is exclusively supported when using the **Shopify Store (requires Stock Sync app)** connection method.

---

## How Metafield Auto-Creation Works

When syncing product data between two Shopify stores, Stock Sync compares the metafield definitions in your **source (main) store** against those in your **destination (sub) store**. If a metafield definition exists in the source store but is missing in the destination store, Stock Sync will automatically generate that exact definition within the destination store's Shopify admin.

||| This automation does not apply to CSV, XML, Google Sheets, or other file-based connection methods. It strictly requires the native Stock Sync Shopify-to-Shopify connection.

---

## How to Enable Metafield Auto-Creation

Even with the correct connection method, metafield definitions will not generate automatically without configuring the feed settings.

Go to **App** → **Feed Settings** → **Connection / Field Mapping**

1. **Verify Connection Method**: Ensure your feed is actively using the **Shopify Store (requires Stock Sync app)** connection type.
2. **Map the Metafield**: You must explicitly map the desired metafield in the destination store's feed mapping settings.
3. **Enable Auto-Create Setting**: Locate and check the option for **Auto create metafield definition if not found** in your feed settings.

| This process only creates the structural definition in your Shopify admin. You must still map the field to sync the actual metafield values.

---

## Key Rules & Technical Details

- **Directional Sync**: The app strictly reads definitions from the source (main) store to replicate them in the destination (sub) store. It does not sync definitions backwards.
- **Connection Limitations**: Standard file links, FTPs, and API feeds cannot auto-create Shopify definitions because they do not transmit Shopify's internal taxonomy metadata.

---

## Troubleshooting Steps

* **Issue**: The metafield definition was not created in the destination store. → **Solution**: Verify that your feed is using the "Shopify Store" connection method and that the **Auto create metafield definition if not found** setting is actively enabled.
* **Issue**: The definition was created in the target store's admin, but the values are missing on the products. → **Solution**: Ensure you have fully mapped the metafield in the destination store's field mapping step so Stock Sync knows to populate the data.

---

## Good Articles to Continue

* [[Auto create a new metafield if not found]](https://help.stock-sync.com/en/article/shopify-store-require-stock-sync-app-1amdmfa/?bust=1741089076377) → Learn more about configuring the Shopify Store connection method and automating metafield mapping across multiple storefronts.