How it works

A donation is an ordinary WooCommerce product whose price the shopper chooses. It goes into the cart, is paid at checkout and is recorded on the order like any other line.

Free

From amount to order

  1. The shopper chooses an amount

    In the donation box, on the Donate page or on a donation product page. The amount is checked against your amount rules in the browser and again on the server.

  2. The donation is added to the cart

    As a line for the donation product, priced at the chosen amount. Each donation product appears once: adding again replaces the amount.

  3. The shopper pays at checkout

    Coupons never discount donation products. The product created for you is not taxable.

  4. The order records it

    The order line is marked as a donation and shows a small Donation label on the admin order screen. With Pro, paid orders add to the campaign totals.

Where donations can be made

PlaceShowsPage
CartThe donation box, when Show on the cart is onCart
CheckoutThe donation box, when Show on the checkout is onCheckout
Donate page and any page with the shortcodeThe donation form, with its own title and textDonate page & shortcode
Donation product pageThe amount picker above the add to cart buttonProduct page
Chosen product pages ProThe donation form below add to cart or the summaryProduct page box

The box and the shortcode add to the product chosen under Donation product (Automatic: the "Donation" product). The shortcode can name another one with product_id.

Updating without a reload

On the classic cart and checkout and on the Donate page, the box sends the donation in the background and refreshes the cart totals, the checkout review and mini carts. With the Cart and Checkout blocks, it updates the block's cart through WooCommerce's Store API. Once a donation is in the cart, the button reads Update donation and a line shows "Your donation: $10" with a Remove button. Without JavaScript, the cart box and the Donate page form still work as normal forms.

Accessibility

Performance & privacy

The small stylesheet and dependency-free script load only on the cart, the checkout (not the order received page), donation product pages and wherever the box or shortcode renders. There is no tracking, no telemetry, no remote assets and no request to external services. (Pro checks its license with siteryn.com from wp-admin; see License checks.)

Languages

Translation ready. With WPML or Polylang, the text settings are translatable, the Donation flag is copied to product translations, stored product IDs resolve to the shopper's language, and the box answers in the language of the page it is on. Pro's thank-you email follows the order's language.