
內容簡介
此外掛允許使用者在任何頁面、文章或小工具區域中使用短碼 [show_wc_orders],以顯示已登入客戶的訂單資訊,包括訂單號碼、日期、狀態、總金額及查看按鈕,提供便捷的訂單查詢功能。
【主要功能】
• 顯示客戶的所有訂單
• 支援顯示最近的訂單數量
• 自動套用佈景主題樣式
• 無需額外設定
• 適用於傳統及高效能訂單儲存
外掛標籤
開發者團隊
② 後台搜尋「Show Orders Shortcode for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Drop [show_wc_orders] into any page, post or widget area that renders shortcodes, and the logged-in customer sees their own orders: order number, date, status, total and a View button — the same table WooCommerce shows under My Account > Orders.
Usage:
[show_wc_orders] shows all of the customer's orders.
[show_wc_orders order_count=10] shows the 10 most recent orders — replace 10 with any number.
That is all. There are no settings.
Details:
Each visitor only ever sees their own orders. Logged-out visitors see nothing.
The table is rendered through WooCommerce’s own My Account orders template, so your theme’s styling — and any theme override or column filter you already use for My Account — applies to the shortcode too.
Works with both classic order storage and High-Performance Order Storage (HPOS).
