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!
Using the Shortcode:
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!”]
€5,250.42 Donated to My Comic Book Collection!
Awesome! Right? I hope so...
Since 1.1.0 there's a new shortcode!
Requires: 4.0.0 or higher
Compatible up to: 4.3.0
Last Updated: 5 months ago
Active Installs: 100+
Got something to say? Need help?