技術文件目前產品線:WooCommerce 商店

WooCommerce 訂單詳情頁面與手動新增訂單教學

更新日期
閱讀時間
約 8 分鐘
來源狀態
generated-draft

本篇說明

本文說明 WooCommerce 訂單詳情頁面(single order page)的各項資訊,包含如何編輯訂單、使用訂單備註(order notes),以及如何手動新增訂單並了解客戶付款連結的運作方式,協助店家管理員有效處理訂單。

適合誰使用

使用 WooCommerce 的網站管理員與店家客服,需要手動處理或編輯訂單者

開始前準備

  • 訂單須為「pending」(等待付款)或「on hold」(保留)狀態,才能編輯商品、費用、優惠券、運費等細節
  • 套用優惠券前需先知道優惠券代碼

教學內容

訂單詳情頁面總覽

單一訂單頁面可讓你檢視、編輯與更新訂單資料,包含變更訂單狀態、編輯商品項目、套用優惠券與新增費用等

新增費用時可輸入金額或百分比,負數費用會在其他項目間分攤稅金,但不會讓購物車總額低於零

一旦訂單進入 processing 或之後的狀態,就無法再編輯訂單細節

Order details panel showing order number, payment details, date, status, and customer information.
官方文件介面截圖:Order details panel showing order number, payment details, date, status, and customer information.

Order Details 面板:編輯客戶與帳單資訊

Order Details 面板包含訂單編號、付款詳情、日期時間、訂單狀態及客戶帳單與運送資料

Billing 欄位可編輯帳單地址、Email、電話與付款方式,也可選擇 Load billing address 從客戶檔案載入

Billing and shipping sections of the order details panel with the edit pencil icon visible.
官方文件介面截圖:Billing and shipping sections of the order details panel with the edit pencil icon visible.

  1. 點選各標題旁的鉛筆圖示(pencil icon)以編輯帳單或運送資訊
  2. 使用下拉式日期選單與時間數量選擇器變更訂單日期與時間
  3. 從下拉選單中選擇適當狀態以變更訂單狀態
  4. 完成修改後,點擊 Order actions 區塊中的 Update 按鈕儲存訂單

    Order actions metabox with the Update button.
    官方文件介面截圖:Order actions metabox with the Update button.

Order Items 面板:商品、運送與費用總覽

每個商品項目列會顯示商品圖片、名稱、單價、數量、總額(已計入折扣)與稅金

Order items panel showing product line items, shipping details, and order cost summary.
官方文件介面截圖:Order items panel showing product line items, shipping details, and order cost summary.

每筆訂單只能接受一次付款,若客戶已付款後需追加商品,應建立新訂單而非修改原訂單

除退款外,只有在訂單狀態為 Pending payment 或 On hold 時才能編輯商品項目

  1. 點選商品項目旁的鉛筆圖示以進入編輯模式

    Pencil icon next to a product line item used to enter edit mode.
    官方文件介面截圖:Pencil icon next to a product line item used to enter edit mode.

    Action buttons at the bottom of the order items panel: Add item(s), Apply coupon, Refund, and Recalculate.
    官方文件介面截圖:Action buttons at the bottom of the order items panel: Add item(s), Apply coupon, Refund, and Recalculate.

  2. 點選 Add item(s) 展開新增選項,包含 Add product(s)、Add fee、Add shipping、Add tax 等

    Expanded Add item(s) options showing Add product(s), Add fee, Add shipping, Add tax, Cancel, and Save buttons.
    官方文件介面截圖:Expanded Add item(s) options showing Add product(s), Add fee, Add shipping, Add tax, Cancel, and Save buttons.

  3. 若客戶忘記輸入優惠券代碼,可點選 Apply coupon 開啟視窗套用優惠券
  4. 修改商品、優惠券或運送方式後,點選 Recalculate 依店家稅務設定重新計算稅額

    Custom Fields metabox on the order page.
    官方文件介面截圖:Custom Fields metabox on the order page.

訂單備註(Order Notes)的三種類型

System notes(紫色)由 WooCommerce 或外掛自動新增,例如付款成功或失敗,客戶看不到這類備註

General notes(灰色)由店家管理員或外掛新增作為內部參考,客戶看不到但可能收到狀態變更通知信

Customer notes(藍色)是特別寫給客戶的備註,客戶會透過 Email 收到並可在 My account 中查看

Order Notes panel showing examples of system, general, and customer notes.
官方文件介面截圖:Order Notes panel showing examples of system, general, and customer notes.

  1. 在文字區塊輸入備註內容,部分 HTML 標籤(如 a 標籤超連結)可使用
  2. 從下拉選單選擇 Private note 或 Note to customer
  3. 點擊 Add 按鈕新增備註

手動新增訂單

手動新增訂單適用於電話訂購、代客戶下單或測試用途

  1. 前往後台 WooCommerce > Orders
  2. 點選頁面上方的 Add order,會出現單一訂單頁面
  3. 輸入客戶資料、新增商品項目、套用優惠券與費用,並計算總額
  4. 設定新訂單狀態,若客戶需要付款,選擇 Pending payment
  5. 點擊 Save 儲存訂單
  6. 開啟 Order actions 下拉選單,選擇 Email invoice / order details to the customer 傳送付款連結

    Order actions dropdown showing the option to email invoice and order details to the customer.
    官方文件介面截圖:Order actions dropdown showing the option to email invoice and order details to the customer.

客戶付款連結的運作方式

若訂單指派給已註冊的客戶帳號,只有該客戶登入後才能付款

若非指派客戶(包含管理員)開啟付款連結,系統會顯示「This order cannot be paid for」訊息,此為正常行為

若訂單未指派客戶帳號(設為 Guest),付款連結不需登入,但系統可能會要求驗證帳單 Email 以確認身分

介面名稱對照

  • Order actions:訂單頁面中用來儲存訂單或寄送發票通知等操作的區塊
  • Add item(s):新增商品、費用、運送或稅金項目的按鈕,點選後展開六個選項
  • Recalculate:依店家稅務設定與客戶地址重新計算訂單稅金的按鈕
  • Pending payment:表示訂單等待客戶付款的狀態
  • On hold:訂單保留中的狀態,此狀態下仍可編輯訂單細節
  • Load billing address:從客戶檔案載入帳單地址至訂單的功能
  • Custom Fields:WordPress 核心功能,可在訂單中新增自訂欄位資料
  • Guest:訂單未指派給任何已註冊客戶帳號時的設定

注意事項

注意

訂單一旦進入 processing 之後的狀態便無法再編輯商品、費用、優惠券或運送資訊

注意

優惠券只有在訂單尚未付款時套用才有效果

注意

每筆訂單只能接受一次付款,客戶若需追加商品應建立新訂單並寄送付款連結,而非修改已付款訂單

注意

執行 Recalculate 後,先前手動調整過的稅金會被移除,改依店家稅務設定與客戶地址重新計算

注意

管理員測試已指派客戶帳號的付款連結時會看到「無法付款」訊息,這不代表金流外掛或設定有問題

常見問題

為什麼客戶已付款的訂單無法再新增商品?

因為每筆訂單只能接受一次付款,若客戶需要追加商品,應建立新訂單,再寄送含付款連結的發票給客戶。

管理員測試付款連結時出現「This order cannot be paid for」是不是系統出錯?

不是,這是正常行為。WooCommerce 會驗證登入者是否為訂單指派的客戶,管理員並非該客戶所以無法付款,可改用該客戶帳號登入測試,或改建立訪客訂單。

訪客訂單的付款連結是不是任何人都能打開就付款?

不一定。依購物者的連線狀態與訂單建立時間長短,WooCommerce 可能會要求開啟連結的人先驗證訂單的帳單 Email,才能進入付款頁面。

官方來源

還是卡住了?

先把問題問清楚,通常比直接開工單更快。複製下面的結構,補上你的情況後送出。

用 AI 先釐清問題

/ai 我正在閱讀「WooCommerce 訂單詳情頁面與手動新增訂單教學」,目前卡在:

我已嘗試:

我看到的畫面/錯誤訊息:

請用一步一步的方式告訴我下一步。

需要我們實際進入網站調整設定、修改佈景主題或處理資料時,再建立 /task 工單。