SHOPLINE 香港賣家升級 Shopify Plus 完整遷移指南

Key Takeaways
- SHOPLINE 到 Shopify Plus 遷移通常需要 8-16 週完成
- 產品 CSV 欄位映射和數據清洗是最易被低估的環節
- 客戶密碼無法遷移,需批量發送帳戶重設邀請
- 301 重定向務必覆蓋所有產品和分類頁 URL
- DNS 切換應選擇業務低峰期,預留 4-8 小時窗口
從 SHOPLINE 遷移至 Shopify Plus 需要系統性地處理產品數據、訂單歷史、客戶資料、自訂主題及第三方整合,整個過程通常需要 8-16 週,視商店複雜度而定。本指南涵蓋前期準備、數據導出與轉換、Shopify Plus 設定、測試驗證及上線切換的完整步驟。
為什麼 SHOPLINE 賣家選擇遷移到 Shopify Plus?
SHOPLINE 在亞太市場——尤其是香港、台灣和東南亞——擁有穩固的用戶基礎,對中小型商戶而言是理想的起步平台。然而,當品牌進入跨境擴展階段,Shopify Plus 在多幣種結算、國際物流整合和 API 開放度上的優勢就變得明顯。
根據 Shopify 2024 年財報,Shopify Plus 商戶的 GMV 年增長率達到 26%(來源:Shopify Q4 2024 Earnings),這反映了中大型品牌對可擴展平台的持續需求。具體來說,SHOPLINE 賣家常遇到的瓶頸包括:
- API 速率限制:SHOPLINE 的 API 在高併發場景下吞吐量有限,難以支撐大促期間的自動化需求
- 多市場擴展受限:需要為不同市場開設獨立店鋪,無法統一管理
- B2B 功能缺失:缺乏 Shopify Plus 提供的原生批發渠道和分級定價
- Checkout 自訂空間:SHOPLINE 的結帳頁面自訂程度不及 Shopify Plus 的 Checkout Extensibility
值得坦承的是,遷移本身有成本和風險。如果你的業務以單一市場、標準零售為主且年 GMV 低於 HKD 500 萬,可能暫時不需要 Shopify Plus。這個指南假設你已經過評估、確認需要升級。
遷移前的必備條件與準備工作
開始遷移前,請確保以下條件就緒:
技術面準備
- Shopify Plus 帳戶已開通:通過 Shopify Plus 銷售團隊或認證合作夥伴申請,取得 Organization-level 管理權限
- SHOPLINE 管理員帳戶存取權:確保你有 SHOPLINE 後台的完整管理員權限,包括 API 金鑰存取
- 開發環境準備:安裝 Node.js(v18+)、Shopify CLI(v3.x)及 Git
- DNS 管理權限:確保可以修改域名的 DNS 記錄
業務面準備
- 數據審計:盤點產品數量、SKU 變體數、訂單歷史筆數、客戶數量
- 第三方整合清單:列出所有使用中的支付閘道、物流商、ERP、CRM 串接
- SEO 基線記錄:使用 Screaming Frog 或 Ahrefs 爬取現有 URL 結構,為 301 重定向做準備
- 停機窗口協調:選擇業務低峰期(通常避開雙11、聖誕旺季),預留 4-8 小時的 DNS 切換窗口
Shopify CLI 安裝驗證
1# 安裝 Shopify CLI2npm install -g @shopify/cli @shopify/theme34# 驗證安裝5shopify version6# 預期輸出: @shopify/cli/3.x.x78# 登入 Shopify Partner 帳戶9shopify auth login
Ready to Transform Your Ecommerce Operations?
Branch8 specializes in ecommerce platform implementation and AI-powered automation solutions. Contact us today to discuss your ecommerce automation strategy.
步驟一:從 SHOPLINE 導出完整數據
SHOPLINE 提供後台 CSV 導出功能,但部分數據需要透過 API 取得才能確保完整性。
產品數據導出
在 SHOPLINE 後台進入 商品管理 > 所有商品 > 匯出,選擇「所有商品」並匯出 CSV。注意 SHOPLINE 的 CSV 格式與 Shopify 的欄位名稱不完全一致,後續需要轉換。
對於超過 5,000 個 SKU 的商店,建議使用 SHOPLINE Open API 批量導出:
1// SHOPLINE API 產品導出範例 (Node.js)2const axios = require('axios');34const SHOPLINE_API_BASE = 'https://open.shoplineapp.com';5const ACCESS_TOKEN = process.env.SHOPLINE_ACCESS_TOKEN;67async function exportProducts(page = 1, limit = 250) {8 const response = await axios.get(9 `${SHOPLINE_API_BASE}/v1/products.json`,10 {11 headers: {12 'Authorization': `Bearer ${ACCESS_TOKEN}`,13 'Content-Type': 'application/json'14 },15 params: { page, limit }16 }17 );18 return response.data;19}2021// 遞迴取得所有頁面22async function getAllProducts() {23 let allProducts = [];24 let page = 1;25 let hasMore = true;2627 while (hasMore) {28 const data = await exportProducts(page);29 allProducts = allProducts.concat(data.items);30 hasMore = data.items.length === 250;31 page++;32 // 遵守速率限制:每秒不超過 2 次請求33 await new Promise(r => setTimeout(r, 500));34 }3536 return allProducts;37}
客戶與訂單數據
客戶數據需特別注意個人資料保護合規。香港《個人資料(私隱)條例》(PDPO)要求數據轉移須符合原始收集目的。務必在遷移前檢視你的隱私政策是否涵蓋平台遷移場景。
導出以下數據:
- 客戶資料:姓名、電郵、電話、地址、標籤、會員等級
- 訂單歷史:至少導出近 24 個月的訂單,包含訂單狀態、付款記錄、物流追蹤號
- 優惠券 / 折扣碼:有效期內的折扣規則需在 Shopify Plus 重建
需額外備份的資產
- 所有產品圖片(高解析度原檔)
- Blog 文章及頁面內容
- 自訂頁面的 HTML/CSS
- 現有的 Google Analytics 和 Facebook Pixel 設定
步驟二:數據格式轉換與清洗
這是整個遷移中最容易被低估的環節。SHOPLINE 與 Shopify 的數據結構存在關鍵差異。
產品 CSV 欄位映射
以下是主要欄位對應關係:
- SHOPLINE
title→ ShopifyTitle - SHOPLINE
sku→ ShopifyVariant SKU - SHOPLINE
price→ ShopifyVariant Price - SHOPLINE
compare_at_price→ ShopifyVariant Compare At Price - SHOPLINE
weight(g) → ShopifyVariant Grams - SHOPLINE
inventory_quantity→ ShopifyVariant Inventory Qty - SHOPLINE
product_type→ ShopifyType - SHOPLINE
tags→ ShopifyTags(注意 SHOPLINE 用逗號分隔,Shopify 也是)
使用 Python 腳本進行批量轉換
1import pandas as pd2import re34# 讀取 SHOPLINE 導出的 CSV5df = pd.read_csv('shopline_products_export.csv', encoding='utf-8-sig')67# 欄位重命名映射8column_mapping = {9 'title': 'Title',10 'body_html': 'Body (HTML)',11 'vendor': 'Vendor',12 'product_type': 'Type',13 'tags': 'Tags',14 'sku': 'Variant SKU',15 'price': 'Variant Price',16 'compare_at_price': 'Variant Compare At Price',17 'weight': 'Variant Grams',18 'inventory_quantity': 'Variant Inventory Qty',19 'image_src': 'Image Src',20}2122df = df.rename(columns=column_mapping)2324# 清理 Handle:生成 URL-safe slug25def generate_handle(title):26 handle = title.lower().strip()27 handle = re.sub(r'[^a-z0-9\u4e00-\u9fff]+', '-', handle)28 return handle.strip('-')2930df['Handle'] = df['Title'].apply(generate_handle)3132# 設定 Shopify 必要欄位的預設值33df['Published'] = 'TRUE'34df['Variant Inventory Tracker'] = 'shopify'35df['Variant Inventory Policy'] = 'deny'36df['Variant Fulfillment Service'] = 'manual'37df['Status'] = 'draft' # 先以草稿狀態匯入3839# 導出為 Shopify 格式40df.to_csv('shopify_products_import.csv', index=False, encoding='utf-8-sig')41print(f'已轉換 {len(df)} 筆產品記錄')
常見數據問題及修復
- 重複 SKU:Shopify 不允許相同 SKU 出現在不同產品中,需先去重
- HTML 格式差異:SHOPLINE 的富文本編輯器產生的 HTML 可能包含非標準標籤,使用 BeautifulSoup 清理
- 圖片 URL 失效:部分 SHOPLINE CDN 圖片 URL 在帳戶關閉後會失效,必須在遷移期間預先下載所有圖片
- 中文編碼:確保所有 CSV 使用 UTF-8 with BOM 編碼,避免繁體中文亂碼
Ready to Transform Your Ecommerce Operations?
Branch8 specializes in ecommerce platform implementation and AI-powered automation solutions. Contact us today to discuss your ecommerce automation strategy.
步驟三:Shopify Plus 商店設定與數據匯入
基礎商店設定
在 Shopify Plus 後台完成以下設定:
- Markets 設定:在 Settings > Markets 中配置你的目標市場(香港、台灣、新加坡等),設定各市場的幣種和語言
- 支付閘道:香港市場建議配置 Stripe HK 或 Shopify Payments(已在香港推出),同時保留信用卡、Apple Pay、Google Pay
- 物流設定:配置 SF Express(順豐)、嘉里物流等本地物流商的運費規則
- 稅務設定:香港無增值稅,但如需向台灣或新加坡銷售,需在 Markets 中設定對應的稅率(新加坡 GST 為 9%,根據 IRAS 2024 年稅率)
產品數據匯入
1# 方法一:透過 Shopify Admin 後台匯入 CSV2# 進入 Products > Import > Upload shopify_products_import.csv34# 方法二:使用 Shopify Admin API 批量匯入(適合大量數據)5# 使用 shopify-api-node 套件6npm install shopify-api-node
1// Shopify Admin API 批量產品匯入2const Shopify = require('shopify-api-node');34const shopify = new Shopify({5 shopName: 'your-store.myshopify.com',6 apiKey: process.env.SHOPIFY_API_KEY,7 password: process.env.SHOPIFY_ADMIN_PASSWORD,8 apiVersion: '2024-10'9});1011async function importProduct(productData) {12 try {13 const product = await shopify.product.create({14 title: productData.title,15 body_html: productData.description,16 vendor: productData.vendor,17 product_type: productData.type,18 tags: productData.tags,19 status: 'draft',20 variants: productData.variants.map(v => ({21 sku: v.sku,22 price: v.price,23 compare_at_price: v.compare_at_price,24 inventory_management: 'shopify',25 weight: v.weight,26 weight_unit: 'g'27 })),28 images: productData.images.map(url => ({ src: url }))29 });30 console.log(`已匯入: ${product.title} (ID: ${product.id})`);31 return product;32 } catch (error) {33 console.error(`匯入失敗: ${productData.title}`, error.message);34 // 記錄失敗項目以便重試35 return null;36 }37}
客戶數據匯入的注意事項
Shopify Plus 的客戶匯入有一個關鍵限制:密碼無法遷移。所有客戶在新平台首次登入時需要重設密碼。建議的處理方式:
- 匯入客戶數據後,使用 Shopify 的 Bulk Account Invite Sender 批量發送帳戶啟用邀請
- 在遷移前 2 週通知客戶即將進行平台升級
- 提供首次登入優惠碼作為激勵(例如 HKD 50 折扣)
步驟四:主題開發與客製化
SHOPLINE 的主題無法直接移植到 Shopify Plus。你需要在 Shopify 的 Liquid 模板系統上重建前端。
主題選擇策略
對於從 SHOPLINE 遷移的商戶,我們建議以 Shopify 官方主題 Dawn(免費)或 Prestige(付費)為基礎進行自訂,而非從零開發:
1# 使用 Shopify CLI 初始化主題開發環境2shopify theme init my-custom-theme --clone-url https://github.com/Shopify/dawn.git3cd my-custom-theme45# 啟動本地預覽6shopify theme dev --store your-store.myshopify.com7# 預期輸出:8# ✔ Your theme is running at http://127.0.0.1:9292
Checkout Extensibility 設定
Shopify Plus 獨有的 Checkout Extensibility 讓你可以自訂結帳流程。這是很多 SHOPLINE 賣家遷移的核心原因之一:
1// shopify.extension.toml - Checkout UI Extension 配置範例2// 用途:在結帳頁面加入自訂的會員積分顯示34// extensions/checkout-loyalty/src/Checkout.jsx5import {6 Banner,7 useExtensionApi,8 render,9 Text10} from '@shopify/checkout-ui-extensions-react';1112render('Checkout::Dynamic::Render', () => <LoyaltyBanner />);1314function LoyaltyBanner() {15 const { buyerIdentity } = useExtensionApi();1617 return (18 <Banner status="info">19 <Text>此訂單可獲得 {calculatePoints()} 積分</Text>20 </Banner>21 );22}
Ready to Transform Your Ecommerce Operations?
Branch8 specializes in ecommerce platform implementation and AI-powered automation solutions. Contact us today to discuss your ecommerce automation strategy.
步驟五:SEO 遷移與 301 重定向
SEO 遷移處理不當可能導致搜尋排名大幅下跌。根據 Ahrefs 的研究,網站遷移後的流量恢復平均需要 3-6 個月(來源:Ahrefs Blog, Site Migration Study)。
URL 重定向規則
SHOPLINE 與 Shopify 的 URL 結構差異:
- SHOPLINE 產品頁:
/product/product-handle→ Shopify:/products/product-handle - SHOPLINE 分類頁:
/categories/category-handle→ Shopify:/collections/collection-handle - SHOPLINE 頁面:
/pages/page-handle→ Shopify:/pages/page-handle(通常一致)
1# 使用 Shopify CLI 批量上傳重定向2# 準備 redirects.csv 格式:3# /product/blue-tshirt,/products/blue-tshirt4# /categories/summer-2024,/collections/summer-202456# 透過 Shopify Admin API 批量建立重定向7curl -X POST "https://your-store.myshopify.com/admin/api/2024-10/redirects.json" \8 -H "Content-Type: application/json" \9 -H "X-Shopify-Access-Token: ${SHOPIFY_ACCESS_TOKEN}" \10 -d '{11 "redirect": {12 "path": "/product/blue-tshirt",13 "target": "/products/blue-tshirt"14 }15 }'
Sitemap 與 Search Console
- 在 Google Search Console 提交新的 sitemap(Shopify 自動生成
/sitemap.xml) - 使用 URL Inspection Tool 逐一驗證高流量頁面的索引狀態
- 監控 Coverage 報告,確認 301 重定向被正確抓取
步驟六:第三方整合重建
支付與物流
香港賣家常用的整合需重新配置:
- PayMe / FPS:目前 Shopify 原生不支援,需透過第三方 app 或自訂 payment gateway 實現
- SF Express 順豐:使用 Shopify App Store 中的 SF Express 串接 app,或透過 AfterShip 統一管理
- OK 便利店自取:需透過自訂配送方式或第三方 app 實現
ERP 與庫存同步
如果你使用 SHOPLINE 原生庫存管理,遷移到 Shopify Plus 後建議引入專業 ERP。我們在 2024 年為一家香港時裝品牌執行 SHOPLINE 到 Shopify Plus 的遷移時,同步部署了 Odoo 17 作為 ERP 中台。整個數據遷移涵蓋 12,000 個 SKU 和 85,000 筆歷史訂單,從數據導出到 DNS 切換歷時 11 週。遷移後第一個月,該品牌的網站載入速度從平均 4.2 秒降至 1.8 秒(透過 Google PageSpeed Insights 測量),轉化率提升了 18%。
Marketing 工具遷移
- Klaviyo:從 SHOPLINE 的 email marketing 遷移到 Klaviyo,需重新建立 flow 和 segment
- Facebook / Instagram Shop:在 Shopify Plus 中重新設定 Facebook Channel
- Google Merchant Center:更新 feed URL 至 Shopify 的 Google Channel 自動生成 feed
Ready to Transform Your Ecommerce Operations?
Branch8 specializes in ecommerce platform implementation and AI-powered automation solutions. Contact us today to discuss your ecommerce automation strategy.
測試驗證清單:上線前必須完成的 15 項檢查
功能測試
- 所有產品頁面正常顯示(包括變體選擇器)
- 加入購物車及結帳流程完整無誤
- 支付閘道測試交易成功(使用 Shopify 測試模式)
- 折扣碼正確套用
- 運費計算準確(測試不同地區)
數據完整性
- 產品數量與 SHOPLINE 原始數據一致
- 客戶資料完整匯入
- 歷史訂單可在後台查詢
- 庫存數量準確
SEO 與效能
- 所有 301 重定向正常運作
- 新 sitemap 已提交至 Google Search Console
- 頁面載入速度低於 3 秒(使用 GTmetrix 或 PageSpeed Insights 測試)
- Meta title 和 description 正確顯示
整合驗證
- Google Analytics 4 / Facebook Pixel 事件追蹤正常
- 電郵通知(訂單確認、出貨通知)正確發送
DNS 切換與上線流程
執行切換的步驟
- T-24 小時:將 SHOPLINE 商店設為維護模式,停止接受新訂單
- T-12 小時:執行最終的增量數據同步(最後 24 小時的訂單和庫存變動)
- T-4 小時:將所有 Shopify 產品狀態從
draft改為active - T-0:更新 DNS 記錄,將域名指向 Shopify 的 IP
1# DNS 記錄更新2# A Record: @ → 23.227.38.65 (Shopify IP)3# CNAME: www → shops.myshopify.com45# 驗證 DNS 傳播6dig +short your-domain.com7# 預期輸出: 23.227.38.6589nslookup www.your-domain.com10# 預期輸出: shops.myshopify.com
- T+1 小時:驗證 SSL 證書自動配置完成
- T+24 小時:全面監控訂單流、支付、物流串接
Ready to Transform Your Ecommerce Operations?
Branch8 specializes in ecommerce platform implementation and AI-powered automation solutions. Contact us today to discuss your ecommerce automation strategy.
遷移後常見問題與故障排除
圖片載入異常
如果遷移後產品圖片顯示破損,通常是因為 SHOPLINE CDN 的圖片 URL 已失效。解決方案:重新上傳圖片至 Shopify 的 CDN,或使用 Shopify Admin API 的 image.create 端點從備份中批量上傳。
結帳頁面報錯
Shopify Plus 的 Checkout Extensibility 在 2024 年已全面取代 checkout.liquid。如果你的自訂結帳邏輯依賴舊版 checkout.liquid 代碼,需要重寫為 Checkout UI Extensions。根據 Shopify 官方公告,checkout.liquid 將在 2025 年 8 月 13 日完全停止支援(來源:Shopify Changelog)。
搜尋排名下跌
遷移後短期的排名波動是正常的。確保 301 重定向無遺漏,並在 Google Search Console 中主動提交重要頁面的索引請求。如果 4 週後排名仍未恢復,檢查是否有 canonical URL 衝突或 robots.txt 設定錯誤。
多語言設定問題
Shopify Plus 的 Translate & Adapt app 支援繁體中文、簡體中文和英文的多語言切換。如果你的 SHOPLINE 商店有多語言版本,需要在 Shopify Markets 中逐一配置語言和對應的翻譯內容。
從 SHOPLINE 遷移的長期效益
完成遷移後,Shopify Plus 商戶可以利用的進階功能包括:
- Shopify Flow:自動化工作流程,例如自動標記高價值客戶、庫存低於閾值時觸發採購通知
- Shopify Scripts(即將被 Shopify Functions 取代):自訂折扣邏輯和運費計算
- LaunchPad:預排大促活動,自動切換主題、啟用折扣碼
- B2B 批發渠道:原生支援分級定價和公司帳戶
根據 Shopify 的數據,使用 Shopify Flow 的商戶平均每月節省 20 小時的手動操作時間(來源:Shopify Plus Features Page)。這對於同時經營多個亞太市場的品牌而言,運營效率的提升尤為顯著。
如果你的團隊正在評估從 SHOPLINE 遷移至 Shopify Plus,或需要在遷移過程中同步建立跨境電商運營體系,Branch8 的香港和台灣團隊擁有豐富的 APAC 電商平台遷移經驗。歡迎透過 branch8.com 聯繫我們,取得免費的遷移評估。
Ready to Transform Your Ecommerce Operations?
Branch8 specializes in ecommerce platform implementation and AI-powered automation solutions. Contact us today to discuss your ecommerce automation strategy.
Sources
FAQ
視商店規模和複雜度而定,一般需要 8-16 週。包含數據審計、導出與轉換、Shopify Plus 設定、主題開發、測試和上線。SKU 數量超過 10,000 或有複雜 ERP 整合的商店可能需要更長時間。
About the Author
Matt Li
Co-Founder & CEO, Branch8 & Second Talent
Matt Li is Co-Founder and CEO of Branch8, a Y Combinator-backed (S15) Adobe Solution Partner and e-commerce consultancy headquartered in Hong Kong, and Co-Founder of Second Talent, a global tech hiring platform ranked #1 in Global Hiring on G2. With 12 years of experience in e-commerce strategy, platform implementation, and digital operations, he has led delivery of Adobe Commerce Cloud projects for enterprise clients including Chow Sang Sang, HomePlus (HKBN), Maxim's, Hong Kong International Airport, Hotai/Toyota, and Evisu. Prior to founding Branch8, Matt served as Vice President of Mid-Market Enterprises at HSBC. He serves as Vice Chairman of the Hong Kong E-Commerce Business Association (HKEBA). A self-taught software engineer, Matt graduated from the University of Toronto with a Bachelor of Commerce in Finance and Economics.