-
Notifications
You must be signed in to change notification settings - Fork 3
/
readme.txt
73 lines (50 loc) · 2.79 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
=== WooCommerce Display Order Count ===
- Contributors: skyverge, beka.rice
- Tags: woocommerce, orders, order total
- [Donate link](https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&[email protected]&item_name=Donation+for+WooCommerce+Display+Order+Count)
- Requires at least: 4.0
- Tested up to: 4.6.2
- Requires WooCommerce at least: 2.2
- Tested WooCommerce up to: 2.6
- Stable Tag: 1.1.0
- License: GPLv3
- License URI: http://www.gnu.org/licenses/gpl-3.0.html
Adds the [wc_order_count] shortcode to display the total number of orders placed on your site.
== Description ==
This plugin will display the total number of completed orders on your site wherever the [wc_order_count] shortcode is used. This is helpful for showing trust badges like, "13,124 orders already shipped!".
You can optionally display a total that includes orders with another status using the optional `status` attribute.
For example, using `[wc_order_count status="completed,processing"]` will display a total that includes both processing and completed orders. You can use a comma-separated list of all order statuses you'd like to include.
Here's a list of the core statuses and how you should use them in the "status" attribute:
```
completed
processing
on-hold
pending
cancelled
refunded
failed
```
**There are no settings**. The plugin only adds the ability to use this shortcode.
= More Details =
- See the [product page](http://www.skyverge.com/product/woocommerce-display-order-count/) for full details.
- View more of SkyVerge's [free WooCommerce extensions](http://profiles.wordpress.org/skyverge/)
- View all [SkyVerge WooCommerce extensions](http://www.skyverge.com/shop/)
== Installation ==
1. Be sure you're running WooCommerce 2.2+ in your shop.
2. Upload the entire `woocommerce-display-order-count` folder to the `/wp-content/plugins/` directory, or upload the .zip file with the plugin under **Plugins > Add New > Upload**
3. Activate the plugin through the **Plugins** menu in WordPress
You can now use the [wc_order_count] shortcode anywhere shortcodes are accepted in your content.
== Frequently Asked Questions ==
**Why does this show the shortcode text instead of the count?**
Chances are you're using this in a text widget -- your site needs to have this included in the functions.php or custom plugin to do so.
`add_filter( 'widget_text', 'do_shortcode' );`
**Do I have to include completed orders?**
Nope, the `status` attribute can accept only the order statuses you'd like to include in your total.
== Changelog ==
**2016.10.26 - version 1.1.0**
- Misc: format order counts using a thousands separator
- Add support for the [GitHub updater plugin](https://github.com/afragen/github-updater)
**2015.07.27 - version 1.0.1**
- Misc: WooCommerce 2.4 compatible
**2015.04.26 - version 1.0.0**
- Initial Release