跳到內容
免費安裝
繁體中文
在 Claude 中開啟 針對此頁面提問在 ChatGPT 中開啟 針對此頁面提問

SKU 與條碼

透過尋找並取代、前綴、後綴或動態變數,批次編輯款式的 SKU 和條碼。

SKU 和 Barcode 是款式欄位,可使用文字編輯方式,另外還有 Set to null/blank。

編輯方式 輸入內容
Replace entire text(預設) Value
Find and replace Find value、Replace value
Add text at beginning Value
Add text at end Value
Remove from beginning Value
Remove from end Value
Remove up to (and including) word Value
Remove from word to end Value
Set to null/blank 無,會清除欄位內容

各文字編輯方式的運作說明,請參閱 Title, handle, vendor, type and SEO。

所有輸入欄位都支援動態變數,這是產生唯一 SKU 最簡單的方法:

  • 使用 Replace entire text 搭配 {{ product.vendor | upcase }}-{{ variant.id }},會得到類似 SAMIAPPAREL-4512345 的結果。
  • 使用 Add text at beginning 搭配 {{ product.type | upcase }}-,會在每個 SKU 前加上商品類型作為前綴。

卡片中會顯示警告,提醒此更新可能會在各款式之間產生重複的 SKU 或重複的條碼。重複值可能會影響庫存追蹤、報表、掃描和第三方整合。請仔細檢查預覽;若需要唯一性,建議使用包含 {{ variant.id }} 或 {{ variant.sku }} 的值。

使用 Apply to variants 搭配 SKU is empty,即可僅為尚無 SKU 的款式填入 SKU。

還原任務會恢復每個款式先前的 SKU 或條碼。

這對您有幫助嗎?