The widget YITH Donations for WooCommerce – Summary gives you the possibility to add a counter to your sidebar showing the total amount of donations received so far.
Add the widget from Appearance > Widgets and select the time-lapse that has to be counted as the total amount of received donations (today, this week, this month, this year, or since the plugin has been first enabled).
You can also show this using the following shortcode:
It includes the following attributes and values:
- summary_from=”day”, “week”, “last_month”, “month”, “year”, “always”
- include_tax=”on”, “off”