# 商品系列同步

本指南說明如何啟用 **Collection Sync**，讓您的 **Destination store** 能接收來自 **Source store** 的商品系列。

### ✅ Collection Sync 的作用

注意：此設定同步的是商品系列本身，而不是商品系列中的商品

* 建立 Destination store 中不存在的商品系列
* 更新商品系列，使其與 Source store 一致

***

### ⚙️ 在應用程式 Settings 中啟用商品系列同步

1\. 在 Source store 中開啟應用程式 > 點選 **Settings**

2\. 開啟 **Share collections**

3\. 選擇您想同步的商品系列

* **All collections**：您商店中所有商品系列的所有商品都會同步到 Destination store
* **Specific collections**：只有所選商品系列的商品會同步到 Destination store

4\. 點選 **Save**

<figure><img src="/media/97000321089e10fc6ce8.webp" alt="" loading="lazy" decoding="async"><figcaption></figcaption></figure>

***

### ⚙️ 在 Destination store 中建立連線

指南請見[此處](/overview/connect-stores)

***

### ✅ 同步如何運作？

Collection Sync 遵循與商品同步相同的邏輯：

1. 應用程式會檢查 Source store 中的商品系列
2. 將這些商品系列同步到 Destination store
3. 只有在商品系列中的商品已同步／比對成功時（依據您的連線設定），才會包含這些商品

#### Matching & Imports

此設定控制商品系列在 Source Store 與 Destination Store 之間的同步方式。

| 選項 | 建立新商品系列 | 更新現有商品系列 |
| --------------- | ------------------------ | --------------------------- |
| Create & Update | ✅ | ✅ |
| Update Only | ❌ | ✅ |
| Create Only | ✅（僅限新商品系列） | ❌ |

#### 選項 1：Create & Update

應用程式會：

* 在 Destination store 上建立尚不存在的商品系列。
* 自動更新與 Source 具有相同 **handle**（網址路徑）的現有商品系列。

**範例**

* Source 商品系列：**Summer 2024**\
  Handle：`/collections/summer-2024`
* 應用程式會：
  * 在 Destination store 上建立 **Summer 2024** 商品系列。
  * 持續將變更（例如標題、說明、其中的商品）從 Source 自動同步到 Destination。

注意：您日後在 Source store 中對「Summer 2024」商品系列所做的任何更新，也會出現在 Destination store 中。

<figure><img src="/media/915d749dc87fa6b1df76.webp" alt="" loading="lazy" decoding="async"><figcaption></figcaption></figure>

#### 選項 2：Update Only

應用程式會：

* 不建立新的商品系列。
* 只更新 Destination store 中已與 Source 具有相同 handle 的商品系列。

**範例**

* Source 商品系列：`/collections/summer-2024`
* Destination 也有 `/collections/summer-2024`\
  →  更新會同步。
* Source 有 `/collections/spring-2025`，但 Destination **沒有**\
  →  不會建立或同步任何商品系列。

#### 選項 3：Create Only

應用程式會：

* 只建立並同步在商店連線建立之後，才新增到 Source 的新商品系列。
* Destination store 中既有的商品系列不會被同步。

**範例**

| 商品系列 | 是否存在於 Destination Store | 同步結果 |
| ----------------- | --------------------------- | ----------- |
| Summer Collection | 是 | 已忽略 |

***

<figure><span class="missing-media" role="note">原始文件中無法提供此螢幕截圖。</span><figcaption></figcaption></figure>

**🙋 還需要協助嗎？**

如果您仍需要協助，歡迎隨時透過 <hi@tipo.io> 與我們聯絡。我們很樂意為您提供進一步的協助。 <br>
