WP Manifestindependent plugin directory
manifest / ecommerce / woocommerce-display-order-count

WooCommerce Display Order Count WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Displays the total number of completed orders in the shop. Can also accept other statuses to display a total for completed + pending statuses, and more.

★ 19stars
1.1krelease downloads
1.1.0latest · 9 years ago

Install

Download woocommerce-display-order-count.zip From the 1.1.0 release on GitHub, Oct 16, 2017

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/bekarice/woocommerce-display-order-count/releases/download/1.1.0/woocommerce-display-order-count.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

WooCommerce Display Order Count

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

Though custom statuses could be used as well.

There are no settings. The plugin only adds the ability to use this shortcode.

Requirements

  • WordPress 4.0 or newer
  • WooCommerce 2.2 or newer

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.

More Details

Changelog

2016.10.26 - version 1.1.0

2015.07.27 - version 1.0.1

  • Misc: WooCommerce 2.4 compatible

2015.04.26 - version 1.0.0

  • Initial Release

Releases

3 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
1.1.0 latest
Oct 16, 2017 9 years ago
woocommerce-display-order-count.zip
1,132
Jul 28, 2015 11 years ago
tag only
—
Jul 28, 2015 11 years ago
tag only
—
A grade

Security

WooCommerce Display Order Count 1.1.0 · audited by WP Registry

No security issues found.

Audited release
1.1.0
Findings
none
Worst severity
—
Content hash
17887277a91fc88938f4eb88…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.