WooCommerce Filter Orders by Product

설명

Ever wanted to filter the order page results by any specific product? Now with this plugin, you can!

After installing this plugin a new filter dropdown will appear in WooCommerce Orders screen. This dropdown shows a list of all products. Just select a product and click on the “Filter” button. It’ll show up the orders which contain only that specific product.

New: From version 3.0 now it’s possible to filter by “Product Category” as well.

Currently this only works for published products. If you want it to work for all product statuses eg. draft, private etc you have to add the following code in your theme’s functions.php file:

add_action( 'wfobp_product_status', 'filter_order_by_product_status' );
function filter_order_by_product_status(){
    return 'any';
}

This project is on GitHub

스크린샷

  • From admin panel, Click on "WooCommerce>Orders" to visit the Orders screen. There you'll see a new dropdown filter.
  • Click on that dropdown and you'll see a list of all products. Select a product and click on "Filter" button. It'll show up the orders which contains only that specific product.

설치

  1. Upload the entire ‘woocommerce-filter-orders-by-product’ folder to the ‘/wp-content/plugins/’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

You will see a new filter appears in WooCommerce Orders page.

후기

2021년 4월 2일
This plugin is super helpful. I wanted to add a link on a custom admin page to orders for a specific product, and I just had to copy the URL string and add it to a link. Many thanks to the author!
2019년 7월 30일
to be honest I don't know why something so logical and useful is not already built into Woocommerce
모든 12 평가 읽기

기여자 & 개발자

“WooCommerce Filter Orders by Product”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“WooCommerce Filter Orders by Product”(이)가 9(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “WooCommerce Filter Orders by Product”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

3.3 – Aug 20, 2023

  • Fix: Resolved PHP notice caused by incorrect use of the is_search() function

3.1

  • Readme updated

3.0

  • New: Now it’s possible to filter by Product Category
  • Code refactored

2.0.7

  • Fix: Products with same name only appeared once before

2.0.6

  • Added hook for changing product status

2.0.5

  • Fixed SQL injection bug

2.0.4

  • Improved code

2.0.3

  • Fix: Language

2.0.2

  • Fixed translation bug (Thanks to Kasperta)

2.0.1

  • Fixed a minor bug

2.0.0

  • New: search dropdown
  • Fixed a major bug

1.0.0

  • 초기 릴리즈