跳转到内容
免费安装
简体中文
在 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 无,清空字段

每种文本方式的具体行为,请参阅标题、handle、供应商、类型和 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 或条形码。

这对您有帮助吗?