Need a way to have WooCommerce ask shoppers to round up for charity?
Need a way to have WooCommerce ask shoppers to make a donation during checkout?
WooCommerce Round Up For Charity lets you do exactly that. The plugin puts a small form on the cart page and / or checkout page that asks shoppers if they would like to round up their total as a donation to charity. Their donation amount is rounded to the nearest whole number, and the shopper can optionally edit the amount if they’d like to donate more or less. For example, if the order total is $25.03 the donation form will have a default amount of $0.97 and that amount can be edited by the shopper.
Alternatively, you can set a default donation amount that would be shown to the shopper when asking if they’d like to donate, and the shopper can change the amount if they prefer.
Or you can enable a setting that rounds the donation amount up to the nearest 5 or 10. For example, if the cart total is 21.09 then the donation amount would become 3.91 which would cause the cart total to become 25 when the donation is applied to the cart. In another example, if the cart total were 28.02 then the donation amount would become 1.82 which would cause the cart total to become 30 when the donation is applied to the cart.
You can also optionally enable a feature to define a list of charities for the shopper to choose from. When you use that feature whichever charity the shopper chooses is tracked with their donation all through the checkout process and into their order receipt and order details. Administrators and store managers can view that information when viewing the details of an order in the WooCommerceadmin area.
This plugin quick and easy to configure. You can set the all of the text displayed in the donation form, and you can customize the donation form to look any way you like without losing your changes when you update the plugin. Just copy the template files to your theme, edit to suit your needs, and you’re done.
Here’s what the donation form looks like on the cart and checkout page. Notice that on the cart page the form appears below the order items. On the checkout page the form appears right above the payment options area. Also notice that in this screenshot the option is enabled to provide a list of charities for the shopper to choose from.
And here’s the cart page after a shopper opts to round up for charity – you see that the donation has been added to the cart.
Here’s the donation form presented on the checkout page if you enable that feature:
Compatibility: WooCommerce 4.0 or newer.
Latest version: 3.0
We keep all of our software up to date with the latest versions of WooCommerce and WordPress.
If you don't see any recent changes below it's because none have become necessary!
Version 3.0 - October 2, 2023
WooCommerce 8 compatibility
Declare support for high performance order system (HPOS)
Replace deprecated functions and hooks
Version 2.5.5 - September 12, 2022
Replace deprecated function call
WooCommerce 6.8 compatibility
Allow cart item removal "undo" to maintain the donation amount when the item is added back to the cart
Version 2.5.4 - April 19, 2022
Ensure $item is not empty of false before trying to load the product
Version 2.5.3 - November 4, 2021
Updated integration settings to use Ajax product search for the charity product setting
Version 2.5.2 - October 28, 2021
Add custom class name to the "order received" and "view order" product table row if the product is a donation product
Version 2.5.1 - October 27, 2021
Add custom class name to the cart product table row if the product is a donation product
Version 2.5 - July 28, 2021
Modified the checkout-template.php file for the "order review" section to use Ajax when submitting the donation, this helps preserve other checkout form field values and avoids a page refresh
Version 2.4.6 - September 22, 2020
Add visibility filters to help with variable donation products, prevents "cannot be purchased" errors
Version 2.4.5 - September 15, 2020
Fixed decimals when rounding, ensure there is a trailing zero when rounding to 2 decimal places when required.
Version 2.4.4 - July 8, 2020
Updated rounding algorithm for rounding to the nearest 5 or 10, more effecient
Ensure the return result is round to 2 decimal places.
Version 2.4.3 - June 9, 2020
Ensure WC 4.2 compatibility
Changed all instances of "require_once" to "require"
Version 2.4.2 - October 23, 2019
Ensure that the donation product is detection properly when a variable product is being used as the donation product
Adjusted input field width to be slightly wider for the cart page donation form
Adjusted the suggested round up amount to always be less than 1 unless the decimal value of the cart total is already .00, in which case the suggested amount would become 1
Version 2.4.1 - May 10, 2018
Updated code to comparison ( == ) instead of set ( = ) when checking product ID to determine if it's the selected hidden charity product
Version 2.4 - April 26, 2018
Added the ability to use a variable product for a hidden charitable product. This allows detailed donation reports to be generated for each variation.
Version 2.3 - March 14, 2018
Added a new setting to control where the round-up form appears on the checkout page. This helps with mobile browsers on Apple phones.
Version 2.2.5 - April 26, 2017
WooCommerce 3.x support
Version 2.2.4 - June 20, 2016
Updated to support WooCommerce 2.6
Version 2.2.3 - February 21, 2016
Added new setting to allow rounding up the donation amount to the nearest 5 or 10
Version 2.2.2 - September 24, 2015
Added new feature so that the default amount can always be shown to the shopper as a suggested donation. When this feature is on the default amount is shown instead of an rounded up to next highest whole number.
Version 2.2.1 - September 21, 2015
Added support for WooCommerce 2.4 when the round-up form is placed below the order review area on the checkout page.
Version 2.2 - February 12, 2015
Added setting for defining a list of charities so that a shopper can choose who their donation goes to. This feature is optional.
Moved hook setup into class file
Version 2.1.3 - Februrary 12, 2015
Changed hook loading order for settings
Version 2.1.2 - November 24, 2014
Surpress PHP warning messages when themes or plugin turn on debug mode in WordPress
Version 2.1.1 - November 5, 2014
Ensure integration settings class doesn't load unless it needs to load
Added feature to allow the donation form to optionally be placed at the top of the checkout page
Version 2.1 - March 31, 2014
Updated checkout page form processing for better handling and redirects
Version 2.0 - February 10, 2014
Initial public release
From: 79.00 / year
Take donations on your site at the cart or checkout pages by asking shoppers to round up their cart total.
All of our plugins come with great support via email and phone.