-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
75 lines (52 loc) · 2.28 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
=== WooCommerce Filter Orders by Product ===
Contributors: kowsar89
Tags: woocommerce, filter, order, product, admin
Requires at least: 3.0.1
Tested up to: 5.5.1
Requires PHP: 5.6
Stable tag: 3.2
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
This plugin lets you filter the WooCommerce orders by any specific product
== Description ==
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](https://github.com/kowsar89/woocommerce-filter-orders-by-product)
== Installation ==
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.
== Screenshots ==
1. From admin panel, Click on "WooCommerce>Orders" to visit the Orders screen. There you'll see a new dropdown filter.
2. 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.
== Changelog ==
= 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 =
* Initial release