[WordPress] 外掛分享: Show Orders Shortcode for WooCommerce

首頁外掛目錄 › Show Orders Shortcode for WooCommerce
WordPress 外掛 Show Orders Shortcode for WooCommerce 的封面圖片
100+
安裝啟用
尚無評分
39 天前
最後更新
問題解決
WordPress 6.5+ PHP 7.4+ v1.2.0 上架:2022-05-18

內容簡介

此外掛允許使用者在任何頁面、文章或小工具區域中使用短碼 [show_wc_orders],以顯示已登入客戶的訂單資訊,包括訂單號碼、日期、狀態、總金額及查看按鈕,提供便捷的訂單查詢功能。

【主要功能】
• 顯示客戶的所有訂單
• 支援顯示最近的訂單數量
• 自動套用佈景主題樣式
• 無需額外設定
• 適用於傳統及高效能訂單儲存

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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).

延伸相關外掛

文章
Filter
Mastodon