更新「可取貨」電子郵件通知

如果您的商店使用 customized notification templates,可能需要手動更新您的 可取貨 通知,以確保能與 Shopify Tax 搭配使用。

這些變更需要熟悉 Shopify 的通知範本所使用的程式碼。如果您的範本高度自訂,而且不確定如何套用必要的變更,請聯絡進行變更的開發人員,或按一下 還原為預設,將範本復原至原始狀態。還原為預設會移除您做過的所有自訂,但可確保您的範本為最新版本。

在進行任何變更前,先將範本複製並貼到其他文件 (例如 Google Docs) 以備份。完成變更後,按一下 預覽,檢視變更並確認其運作符合預期,再按一下 儲存

步驟:

  1. 在 Shopify 管理介面中,前往 設定 > 通知

  2. 按一下 客戶通知

  3. 店內取貨 區段中,按一下 可供店內取貨

  4. 按一下 編輯程式碼

  5. 找到以 <span>Tip</span> 開頭的程式碼區段。

    1. 找出程式碼片段 {% unless transaction.kind == "capture" or transaction.kind == "void" %}。在預設範本中,此片段位於第 369 行。
    2. 將程式碼變更為 {% unless transaction.kind == "authorization" or transaction.kind == "void" %}
    3. 按一下 儲存
  6. 找到以 <span>Total</span> 開頭的程式碼區段。

    1. 找到程式碼片段 {% if transaction.status == "success" and transaction.kind == "authorization" or transaction.kind == "sale" %}。在預設範本中,此片段位於第 432 行。
    2. 將程式碼變更為 {% if transaction.status == "success" and transaction.kind == "capture" or transaction.kind == "sale" %}
    3. 按一下 儲存
  7. 選用:按一下 預覽,預覽您的變更。

  8. 按一下 儲存