
內容簡介
曾經想要按特定產品篩選訂單頁面結果嗎?現在有了這個外掛,就能做到!
安裝此外掛後,在 WooCommerce 訂單畫面中會出現一個新的篩選下拉式清單。此下拉式清單會顯示所有產品的清單。只需選擇一個產品,然後按下「篩選」按鈕,就會顯示只包含該特定產品的訂單。
新增功能:從 3.0 版本開始,現在還可按「產品類別」篩選。
目前這僅適用於已發佈的產品。如果您想要它適用於所有產品狀態,例如草稿、私有等,您必須將以下程式碼添加到主題的 functions.php 檔案中:
add_action( 'wfobp_product_status', 'filter_order_by_product_status' );
function filter_order_by_product_status(){
return 'any';
}
此專案可在 GitHub上查看。
外掛標籤
開發者團隊
② 後台搜尋「Filter Orders by Product for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Have you ever wanted to filter your order page results by a specific product? With this plugin, now you can!
Once installed, a new filter dropdown will appear on the WooCommerce Orders screen, displaying a list of all products. Simply select a product and click the “Filter” button to view orders containing only that product.
This plugin supports filtering orders by:
Product Name
Product Category
Note: This plugin is compatible with both WooCommerce’s new HPOS (High-Performance Order Storage) and the legacy WordPress posts storage. Whether you’re using HPOS or the traditional storage method, this plugin will work seamlessly.
