开发者 | bryceadams |
---|---|
更新时间 | 2016年2月8日 14:30 |
捐献地址: | 去捐款 |
PHP版本: | 4.0.0 及以上 |
WordPress版本: | 4.3.0 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[wctss_total_sales]
, that will do just that!
Example Use:
[wctss_total_sales]
The shortcode has three optional attributes:
percent
- integer: eg. 10, would display 10% of your total salesbefore
- 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[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]
[wctss_total_sales]
shortcode.Please calm down and start a support thread. Also, read the documentation / plugin information again - it's pretty simple.
Make sure you're running the latest version of WooCommerce, or at least WC 2.5.0. Also make sure you have some orders that are either marked 'completed', 'processing' and/or 'on-hold'.
Open up a support thread with your brilliant idea and we'll try to make it possible.
Not helping you out this time either.