Plugin Directory

Test out the new Plugin Directory and let us know what you think.

WooCommerce Total Sales Shortcode

Show off your site's total sales, orders or a percent of its sales with a simple shortcode!

You may want to show off your site's total sales, orders or a percent of its total sales on the front-end of your site. This plugin adds a new shortcode [wctss_total_sales], that will do just that!

Example Use:

  • Show off your site's total sales or orders
  • You donate a percent of your site's sales to charity - easily display the dynamic amount that has been donated
  • You want to brag to your customers how much money you're making
  • You want to show your customers that you're not selling anything and as such, need their money more than ever
  • You tell me!

Using the Shortcode:

The Shortcode: [wctss_total_sales]

The shortcode has three optional attributes:

  • percent - integer: eg. 10, would display 10% of your total sales
  • before - string, $ by default: eg. ฿, would display ฿35,000 (if your total sales were 35,000)
  • after - string: eg. Total Sales, you may want to add an empty space before so there's a gap between the amount and this text

So for example:

[wctss_total_sales percent="50" before="€" after=" Donated to My Comic Book Collection!”]

Would display:

€5,250.42 Donated to My Comic Book Collection!

Awesome! Right? I hope so...

Since 1.1.0 there's a new shortcode! [wctss_total_orders]

Requires: 4.0.0 or higher
Compatible up to: 4.3.0
Last Updated: 12 months ago
Active Installs: 100+


4 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.