PHP 8.2 security fixes end 31 Dec 2026 PHP 8.2 fixes end 31 Dec 2026 30 days left Update for $349

Documentation

Donations & Fundraising

Current version 1.1.0, released 11 Nov 2026.

Buy now, $69 a year Plugin overview

Last updated 1 Dec 2026

Donations & Fundraising turns a simple WooCommerce product into a donation campaign: preset amounts, an amount the donor chooses, a goal bar that fills as donations come in, and dedications. Donations go through your normal checkout, payment methods and orders, so charities and stores with a cause don't need a separate donation platform. This page covers setting up a campaign, every setting and the questions we're asked most. See what the plugin does.

Quick start

Create your first donation campaign in five steps:

  1. Go to Products > Add New and create a simple product, for example "Grower Relief Fund". Tick Virtual and set Tax status to None in the General tab.
  2. Open the Donations & Fundraising tab in Product data and turn on Accept donations.
  3. In Donors can give, choose Both: fixed amounts plus "Other" and add a few fixed amounts, such as $10, $25, and $50.
  4. Optional: turn on Set a goal and enter a Goal amount.
  5. Select Publish and open the product page. The donation form replaces the Add to cart button.

The Start collecting donations checklist in WooCommerce > Settings > Donation & Fundraising tracks your setup: create a campaign, set amounts and a goal, show it on the cart, checkout, or a page, and make a test donation. When all four steps are done, it shows "Your store is ready for donations".

Installation

Bought on wpkoders.com

  1. Sign in to your account on wpkoders.com and open Licences. Your licence key is there, and in your order email.
  2. Select Download to get the plugin zip.
  3. In WordPress, go to Plugins > Add New Plugin > Upload Plugin, choose the zip, select Install Now, then Activate.
  4. Paste your licence key when the plugin asks for it. Updates then arrive in your dashboard like any other plugin.

Bought on WooCommerce.com

  1. Buy the plugin on WooCommerce.com. It's added to your WooCommerce.com account straight away.
  2. Download the zip from My Account > Downloads on WooCommerce.com.
  3. In WordPress, go to Plugins > Add New Plugin > Upload Plugin, choose the zip, select Install Now, then Activate.
  4. Connect your store to your WooCommerce.com account (WooCommerce > Extensions), so updates arrive in your dashboard like any other plugin.

Update on a staging copy first if your store takes orders all day. Every release is listed in the changelog below.

Requirements

  • WordPress 6.5 or later.
  • WooCommerce 8.5 or later.
  • PHP 7.4 or later.
  • A simple product for each campaign. Variable and other product types can't be donation campaigns.

The plugin works with the Cart and Checkout blocks, the classic cart and checkout, High-Performance Order Storage (HPOS), and full-page caching. Donation amounts are converted with WooPayments Multi-Currency, WPML WooCommerce Multilingual, CURCY, and Aelia Currency Switcher. A wpml-config.xml file is included for translating settings texts.

Setup and configuration

You set up each campaign on its product, and the store-wide options in WooCommerce > Settings > Donation & Fundraising. The settings have five sections: General, Cart, Checkout, Round-up & fees, and Shortcode & block. The header links to the Donations report, the settings, this documentation, and support.

Campaign settings on the product

Open the product and go to the Donations & Fundraising tab in Product data.

  • Accept donations: Replace the Add to cart button of this product with a donation form. The donated amount becomes the price.

  • Donors can give: Fixed amounts you choose, Any amount they type, or Both: fixed amounts plus "Other".

  • Fixed amounts: A Label and an Amount for each row. Select Add amount to add a row. Amounts are in your store currency.

  • Minimum amount and Maximum amount: Limits for a custom amount. Leave them empty to accept any amount above zero with no maximum.

  • Show fixed amounts as: Dropdown menu, Radio buttons, or Buttons.

  • Currency symbol: Show the currency symbol next to the custom amount field.

  • Symbol position: Before the amount or After the amount.

  • Amount field label, Amount field placeholder, and Button label: The texts of the form. The button label defaults to "Donate".

  • Dedications: Let donors dedicate their gift "in honor of" or "in memory of" someone, with an optional message.

  • Set a goal: Track progress toward a goal with a progress bar on the form. When the goal is reached or the end date has passed, the form closes and donations are refused.

  • Goal type: Amount raised, Percentage of the goal amount, Number of donations, or Number of days (date range).

  • Goal amount or Target number of donations: The target, depending on the goal type.

  • Already raised: Donations received offline or before this campaign, shown on the progress bar together with online donations.

  • Close on total: Count the already-raised amount toward the goal when closing the campaign. When it's off, only online donations close it, and the bar still shows both.

  • Start date and End date: The campaign dates. The end date is inclusive, in your site's time zone.

  • Closing message and Message: Show a message instead of the form once the campaign has closed.

  • Causes and Offer causes: Let donors choose what their donation supports, with an image, title, and description for each cause. The chosen cause is saved on the order.

Under the goal, Raised online so far shows the campaign total with a link to the report.

General

  • Layout: The order of the form sections: Layout 1: amounts, then causes, Layout 2: causes first, or Layout 3: custom amount before fixed amounts.
  • After donating: What happens after a visitor selects the donate button: follow the WooCommerce setting, Stay on the page and show a confirmation, Go to the cart, or Go to checkout. Donating on the cart or checkout page always stays on that page.

Live preview shows the form of a campaign with the selected layout, before you save.

  • Coupons: Coupons never discount donations.
  • Start dates: Refuse donations before a date-based campaign's start date. Until then, the form shows "This campaign opens for donations on …".
  • Campaign totals: Shows whether the running totals are up to date, with a link to recalculate them.
  • Delete data on uninstall: When the plugin is deleted, also delete its settings and the donation settings of products. Orders and their donation lines are never deleted.

Cart

  • Enable: Show donation forms on the cart page.
  • Choose Donations: The campaigns to show. Type a name or ID.
  • Choose Position: Where the form shows. On the classic cart, it's the exact position. On the Cart block, Before Cart, After Cart Table, and After Cart show the form below the cart items, and the other positions show it in the order summary.

Checkout

  • Enable: Show donation forms on the checkout page.
  • Choose Donations: The campaigns to show.
  • Choose Position: On the classic checkout, it's the exact position. On the Checkout block, Before Checkout Form, Before Billing Form, and Before Shipping Form show the form after the contact details, After Checkout Form shows it in the order summary, and the other positions show it after the payment options.

Round-up & fees

Round-up "spare change": donors can round their order total up and give the difference to a campaign. The round-up is a separate, tax-free fee line on the order and counts toward the campaign goal.

  • Enable: Offer a round-up at checkout.
  • Campaign: The campaign that receives the round-ups.
  • Round up to the next: $1, $5, or $10 (in your store currency).
  • Checkbox text: Optional. Use %1$s for the round-up amount and %2$s for the campaign name.

Donor covers the processing fees: when the cart contains a donation, donors can add a small amount to cover your payment provider's fees. It's a separate, tax-free fee line credited to the largest donation's campaign.

  • Enable: Offer to cover the processing fees.
  • Percentage: A percentage of the donations in the cart.
  • Fixed amount: Added once per order, in your store currency.
  • Checkbox text: Optional. Use %s for the amount.

Shortcode & block

  • Choose Donations: Pick the campaigns, and the Shortcode below updates. Select Copy to copy it.

In the block editor and the Site Editor, add the Donation Form block instead.

Donation thank-you email

The plugin adds a Donation thank you email in WooCommerce > Settings > Emails. It's sent to donors once an order with a donation is paid (processing or completed) and lists each donation with its cause and dedication. It's off by default, so turn it on there. The default subject is "Thank you for your donation to {site_title}".

  • Fundraising campaign with a $5,000 goal, $3,450 raised and 46 donations

    Fundraising campaign with a $5,000 goal, $3,450 raised and 46 donations

  • Donation form with preset amount buttons and a custom amount field with limits

    Donation form with preset amount buttons and a custom amount field with limits

  • Live donation goal bar showing $3,450 raised of $5,000

    Live donation goal bar showing $3,450 raised of $5,000

  • Donation dedication in memory of someone, with a personal message

    Donation dedication in memory of someone, with a personal message

How-to guides

How to accept WooCommerce donations on a product page

  1. Open a simple product and go to Donations & Fundraising in Product data.
  2. Turn on Accept donations and choose what Donors can give.
  3. Add fixed amounts or set the custom amount limits.
  4. Select Update.

How to set a donation goal with a progress bar

  1. In the product's Donations & Fundraising tab, turn on Set a goal.
  2. Choose a Goal type, for example Amount raised, and enter the Goal amount.
  3. Enter any offline donations in Already raised.
  4. Add a Start date and End date if the campaign runs for a set time.
  5. Turn on Closing message and write the message donors see when it closes.

The progress bar shows on every form of the campaign. Running totals update when orders are paid, refunded, or cancelled.

How to add a donation to the cart or checkout

  1. Go to WooCommerce > Settings > Donation & Fundraising > Cart (or Checkout).
  2. Turn on Enable and choose the campaigns in Choose Donations.
  3. Choose a Choose Position and select Save changes.

How to add a round up donation and let donors cover processing fees

  1. Go to WooCommerce > Settings > Donation & Fundraising > Round-up & fees.
  2. Turn on the round-up, choose the Campaign, and choose Round up to the next.
  3. Turn on Donor covers the processing fees and enter your provider's Percentage and Fixed amount.
  4. Select Save changes.

How to show a donation form on any page

  1. In the block editor or the Site Editor, add the Donation Form block and choose the campaigns.
  2. Or copy the shortcode from Shortcode & block and paste it into any page, post, widget, or page builder text module, for example [donation_and_fundraising id="12,34"].

How to see how much each campaign has raised

Go to WooCommerce > Donations. Choose a Period and a Campaign, then select Apply. The report shows the amount raised (paid orders, refunds deducted, including round-ups and fees covered), the number of donations, the average donation, orders with a donation, a table per campaign with its goal, and the amount raised per day. Select Export CSV to download the data.

Video

Plays from YouTube (privacy-enhanced mode) when you press play. Captions are on in the player.
  1. WooCommerce donations on any product
  2. Donation form and live goal bar
  3. Round-up, fee cover, thank-you emails and reports
  4. Try it risk-free for 30 days
Read the transcript

Let supporters give what they want, right in your store. But a fixed price caps what people can give. Stop leaving donations on the table. One tab turns any product into a fundraising campaign. Donors pick a preset amount, or type their own. A live goal bar shows how close you are, and builds momentum. At checkout, donors can round up, and cover the processing fees. Every donor gets a thank-you email, automatically. And one report shows what every campaign raised, with CSV export. More support for every cause, and every donor thanked. Donations and Fundraising, by WPKoders. Try it risk-free for 30 days on WooCommerce.com. Your success, koded.

Frequently asked questions

Can donors name their own price?

Yes. Choose Any amount they type or Both: fixed amounts plus "Other" in Donors can give, and set a minimum and maximum if you want limits.

Does it work with the Cart and Checkout blocks?

Yes. The donation form is a native inner block, and the Choose Position setting decides where it shows on the block cart and checkout.

Will the progress bar slow down my store?

No. Each campaign keeps a running total that updates when orders are paid, refunded, or cancelled. You can recount at any time in WooCommerce > Status > Tools > Recalculate donation goal totals.

Do coupons discount donations?

On new stores, no. Stores upgrading from 1.0.x keep the old behavior until you turn on Coupons never discount donations in General.

Can a charity or nonprofit use it for recurring donations?

Not yet. Donations are one-time payments, so monthly giving isn't supported.

Are the emails tax-deductible receipts?

The thank-you email confirms each donation with its amount, cause, and dedication. Whether it qualifies as a tax receipt depends on your country and organization.

What happens to my data if I delete the plugin?

Nothing, unless you turn on Delete data on uninstall first. Orders and their donation lines are never deleted.

Troubleshooting

The donation form doesn't show on the product

Check that Accept donations is on and that Donors can give is set. With Fixed amounts you choose, the form is hidden until you add at least one amount. The product must be a simple product.

Donors can't donate

The campaign may be closed: the goal was reached or the end date has passed. If Start dates is on, donations are refused before the start date. Check the minimum and maximum amount too. When the minimum is higher than the maximum, both limits are ignored until you fix them.

The progress bar total looks wrong

Run WooCommerce > Status > Tools > Recalculate donation goal totals. Only paid orders count, and refunds are deducted.

Donors don't get the thank-you email

Turn on Donation thank you in WooCommerce > Settings > Emails. It's off by default.

Known limitations

  • In version 1.1.0, cause images show the WooCommerce placeholder image instead of the image you chose.
  • Donations are one-time only. Recurring donations aren't supported.
  • Only simple products can be donation campaigns.

Developer notes

Shortcode

[donation_and_fundraising id="12,34"] shows the donation forms of the products with these IDs. Shortcode & block in the settings builds it for you.

Email templates

The thank-you email uses WooCommerce email templates. To change it, copy emails/donation-thank-you.php and emails/plain/donation-thank-you.php from the plugin's templates folder to yourtheme/woocommerce/emails/ and yourtheme/woocommerce/emails/plain/.

Filters

  • wcdf_form_data ($data, $product_id): The data of a donation form.
  • wcdf_is_donation_open ($open, $product_id): Whether a campaign accepts donations.
  • wcdf_campaign_status ($status, $product_id): The campaign status.
  • wcdf_goal_progress ($progress, $product_id): The progress shown on the bar.
  • wcdf_goal_contribution_amount ($total, $item, $order): How much an order line adds to the goal.
  • wcdf_goal_totals_batch_size ($size): Orders per batch when totals are recalculated. Default 200.
  • wcdf_after_donate_redirect ($url, $action, $product_id, $context): Where donors go after donating.
  • wcdf_loop_button_text ($text, $product_id): The button text in product lists. Default "Donate".
  • wcdf_load_frontend_assets ($load): Whether the form scripts and styles load on a page.
  • wcdf_donation_cart_price ($price, $amount): The donation price in the cart.
  • wcdf_amount_to_base and wcdf_amount_from_base ($converted, $amount, $active, $base): Currency conversion.
  • wcdf_order_amount_to_base ($converted, $amount, $order): Order amounts in the base currency.

Actions

  • wcdf_goal_totals_changed ($product_id, $total, $count): After a campaign's running total changes.
  • wcdf_goal_totals_backfill_done ($state): After existing orders are counted.
  • wcdf_store_api_update_{action} ($data): Store API cart updates other than adding a donation, such as the round-up and covered fees.

Works great with

Support

Bought here, using the free Lite version, or a question before buying? Open a ticket with us: the developers who wrote the plugin reply within 1 business day.

Open a ticket

Bought on WooCommerce.com? Open your ticket in your WooCommerce.com account, where your licence is.

Changelog

Version 1.1.0
  • Improved Now requires WordPress 6.5 or later and WooCommerce 8.5 or later.
  • New Donation Form block for any page, post, template part and the Site Editor, with a campaign picker and live preview.
  • New Cart and Checkout blocks show the donation form as a native inner block in the area matching your "Choose Position" setting; donations are added through the Store API.
  • New Round-up "spare change" and "cover the processing fees" options at checkout (classic and block), off by default.
  • New Dedications: donors can give "In honor of" or "In memory of" someone, with a message (per campaign, off by default).
  • New "Donation thank you" email to donors (WooCommerce > Settings > Emails, off by default).
  • New Donations report (WooCommerce > Donations) with totals per campaign and per day, and CSV export.
  • New Setup checklist, live form preview, clearer settings sections and inline help.
  • New Optional "Coupons never discount donations" (on for new stores) and "Enforce start dates" settings.
  • New Optional "Delete data on uninstall" setting (off by default).
  • New Multi-currency support for WooPayments Multi-Currency, WPML WooCommerce Multilingual, CURCY and Aelia; wpml-config.xml.
  • Improved Campaign progress uses running totals instead of loading every order. Existing orders are counted once in the background; WooCommerce > Status > Tools > "Recalculate donation goal totals" recounts them.
  • Improved Frontend assets load only where a donation form is shown; no dashicons or html-react-parser on the front end.
  • Fixed Refunds and custom paid statuses are reflected in campaign totals.
  • Fixed "Already raised" (initial goal amount) stays on the progress bar after the first donation. New per-campaign option "Count the already-raised amount toward the goal" (off by default) decides whether it also closes the campaign.
  • Fixed Classic themes no longer show a "$0.00" price on donation products; related products on block themes keep their prices and buttons; shop grids show a Donate button.
  • Fixed Keyboard and screen-reader access to the "buttons" amounts and the cause picker; labelled amount field; progress bar semantics.
  • Fixed Donation lines keep quantity 1; campaigns that close while a donation is in the cart are removed from it; Order again keeps the amount and cause.
  • Fixed Product settings are validated on save (amounts, dates, min/max) with a clear notice.
  • Fixed The shortcode now works in AJAX-loaded content (quick view, infinite scroll) and the table-based cart position no longer breaks the layout.
  • Improved Block sources (src/, package.json) are included; new filters and actions documented in the guide.
  • Improved Tested up to WordPress 7.1 and WooCommerce 11.2.
Version 1.0.4
  • Fixed "Choose Donations" product selector (Cart, Checkout and Shortcode settings) no longer stays on "Searching…"; it now accepts the nonce WooCommerce's product search sends. The block editor picker works again too.
  • Fixed Shortcode settings now keep and show the selected donations after saving, and display the generated shortcode.
  • Fixed Donation form now appears on the block-based Cart and Checkout pages (the integration was registered too late to load).
  • Fixed Donations are added to the cart on pages served from a full-page cache (LiteSpeed Cache, WP Rocket, Cloudflare and others), even when the cached page is older than a day.
  • Fixed Donation form now shows in page-builder product layouts (Divi Theme Builder, Elementor Pro and similar) instead of WooCommerce's plain add-to-cart button.
  • Fixed Date-based campaigns stay open through the whole end date, in the site's timezone. They previously closed up to two days early.
  • Fixed With several donation forms on one page, each form submits its own amount and cause.
  • Fixed The donation amount is checked on the server: it must be a valid positive amount, is rounded to the store's decimals, and is refused once a campaign has ended or reached its goal.
  • Fixed Theme mini-carts update after a donation, errors are shown instead of a spinner that never stops, and the confirmation is announced to screen readers.
  • New "After donating" setting (Donation & Fundraising > General): follow WooCommerce's redirect setting (default), stay on the page, go to the cart or go to checkout.
  • Improved New front-end endpoint ?wc-ajax=wcdf_add_donation, new filters wcdf_after_donate_redirect and wcdf_is_donation_open, new helper WCDF_Common::wcdf_add_donation().
  • Improved The frontend script no longer loads React (wp-data) on donation pages.
  • Improved Tested up to WordPress 7.1 and WooCommerce 11.2.
Version 1.0.3
  • Fixed On block themes the default product price and add-to-cart blocks are now suppressed on donation product pages. Previously they rendered alongside the donation form because the classic remove_action()/price filter does not apply to block output.
  • Fixed Added a server-side add-to-cart guard so a donation product cannot be added to the cart without a donation amount, closing a path to zero-value donation lines.
  • Fixed Product meta save now uses sanitize_text_field() on scalar POST fields so static analysis can verify sanitization (behaviour unchanged; wc_clean() is equivalent for scalars). Array-valued fields are unaffected.
  • Fixed Admin script enqueue now declares $in_footer explicitly.
  • Fixed Block render template variables prefixed to avoid polluting the global scope.
  • Fixed Documented and suppressed remaining static-analysis notices for the intentional textdomain load, the admin-only meta_query, and the core WooCommerce settings hook.
  • Fixed Cart and checkout block.json files bumped to apiVersion 3 for WordPress 7.0+ iframe editor compatibility.
  • Fixed Added direct-file-access protection to the block render template and the cart/checkout block integration files.
  • Fixed "Tested up to" raised to WordPress 7.1 and aligned between the plugin header and readme.txt; "WC tested up to" raised to 11.1.0.
  • Fixed Donation container div is now closed on the echo path (product page, cart, checkout) when a fixed-amount product has no configured amounts, or the first amount row is missing an amount or label. Previously an unclosed div was emitted and, combined with overflow:hidden on that container, swallowed the remainder of the page.
  • Fixed Frontend CSS/JS are now registered on wp_enqueue_scripts and enqueued at render time, so donation forms are styled and interactive when placed via page-builder layouts (Avada Layouts, Elementor templates), widgets, sidebars, footers and reusable blocks. The previous check only inspected the main post content and missed all of these.
  • New wcdf_load_frontend_assets filter to force the frontend assets to load in contexts the automatic detection cannot see.
  • Fixed Buffered render path now returns an empty string rather than null when a goal has been reached and the end message is disabled, keeping the return-value contract consistent.
  • Fixed Removed stray priority/arg-count parameters from add_shortcode(), which only accepts a tag and a callback.
  • Fixed Plugin header, WCDF_VERSION constant and readme.txt stable tag are now consistent at 1.0.3 (header and changelog previously disagreed).
  • Fixed AJAX add-to-cart now rejects products with an empty or unknown donation type so arbitrary amounts cannot bypass fixed-list / min-max validation.
  • Fixed "Enable Goal End" no longer blocks donations when the goal has not been reached; the end message now renders only after the goal is met.
  • Fixed Shortcode/block path now returns the goal-end message instead of echoing it, preserving the function's return-value contract.
  • Fixed "Number of Days" goal: campaign-over detection now triggers correctly once the end date has passed (was always evaluating false because DateInterval->days is unsigned).
  • Fixed Day calculation guards against empty/invalid date metas (was silently falling back to "now" via DateTime('')).
  • Fixed Expired no-of-days campaigns no longer display negative "days left"; remaining days clamped at zero.
  • Fixed woocommerce_get_price_html filter set to return-empty-string is now removed after the donation form renders, so unrelated price displays in the same request are not blanked out.
  • Fixed Hardened cart/checkout position hook registration with a whitelist so an unexpected option value cannot register the donation renderer on an arbitrary action.
  • Fixed Cart/checkout/block donation iterators now guard against non-array wcdf_donation_product_for_* option values to avoid PHP 8 warnings/fatals.
  • Fixed Donation ids passed to the renderer are now cast through absint at every call site.
  • Fixed Removed the non-existent wc-blocks script dependency from the frontend handle.
  • Fixed Frontend AJAX response handler now guards wp.data.dispatch('wc/store/cart') against undefined wp.data to avoid a hard JS error in classic/no-blocks environments.
  • Fixed Dropdown / radio handlers no longer write the literal "other" sentinel into the type=number custom-amount input; only numeric selections are mirrored.
  • Fixed Site-wide donation totals cached for 5 minutes to avoid loading every paid order on every page render; cache is invalidated automatically on order status changes.
  • Fixed Hardened PHP 8 safety in admin save: cause and predefined-amount POST arrays validated via is_array before count(); results reindexed via array_values to avoid sparse meta arrays.
  • Fixed Early-return paths inside the buffered shortcode/block render now close the output buffer cleanly to prevent a stale donation-container div from leaking into a dangling OB.
  • Fixed Donation product id parameter validated via absint at the top of the renderer.
  • Fixed Replaced deprecated WooCommerce detection method with class_exists('WooCommerce').
  • Fixed Implemented singleton pattern to prevent double instantiation.
  • Fixed Added WCDF_VERSION constant; replaced all hardcoded '1.0.0' version strings.
  • Fixed Added Domain Path header field to plugin header.
  • Fixed Removed false WooCommerce copyright attribution from plugin header.
  • Fixed Updated Tested up to 6.9 and WC tested up to 10.7.0.
  • Fixed Plugin now instantiated via plugins_loaded at priority 20.
  • Fixed Admin assets now scoped to product edit screen only.
  • Fixed Frontend assets now scoped to WooCommerce, cart, and checkout pages only.
  • Fixed Nonce sanitization uses sanitize_text_field(wp_unslash()) instead of wc_clean().
  • Fixed wp_unslash() applied to all $_POST reads in save routine.
  • Fixed Media attachment status check corrected from 'publish' to 'inherit'.
  • Fixed Wrong text domain 'bundle-builder' corrected to 'donations-fundraising'.
  • Fixed Nonce and capability check added to AJAX search handler.
  • Fixed Dead code removed from functions.php.
  • Fixed else if replaced with elseif throughout.
  • Fixed Server-side donation amount validation in AJAX handler: rejects zero/negative amounts and validates against the fixed pre-defined amounts list to prevent client-side price manipulation.
  • Fixed AJAX handler now verifies the target product exists, is purchasable, and has donations enabled before adding to cart.
  • Fixed Cart item now uses a unique key so multiple donations of the same amount are not merged.
  • Fixed Donation amount stored as order item meta (_wcdf_donation_amount) for reporting and HPOS compatibility.
  • Fixed Goal-reached comparison now requires a positive goal value so an unset goal does not falsely end the campaign.
  • Fixed "Number of days" goal now requires a configured end date before declaring the campaign over.
  • Fixed woocommerce_before_calculate_totals now iterates the passed cart object instead of WC()->cart and guards against missing data.
  • Fixed Donation goal totals are now aggregated site-wide instead of per-logged-in customer so progress reflects all donors and logged-out visitors see real progress.
  • Fixed Removed translation calls on dynamic admin-entered strings (field label, placeholder) that violated i18n rules.
  • Fixed reset() calls on get_post_meta results now guard against non-array values (PHP 8 fatal-warning fix).
  • Fixed wp_get_attachment_image_src return value is now validated before array index access.
  • Fixed Shortcode now sanitizes IDs with absint, validates the post type is 'product', and returns output instead of echoing inline.
  • Fixed Frontend scripts now also load on any page containing the donation shortcode.
  • Fixed Cart settings save now applies wp_unslash and absint to product ID array.
  • Fixed WC settings product search uses correct 'post_status' argument (was 'status') and caps results to 50.
  • Fixed wcdf_selected_donation uses correct WC product validation and casts IDs to absint.
  • Fixed Loop add-to-cart button now guards against null global $product before calling get_id().
  • Fixed Custom donation amount input now sets donation_status to 'other' so server-side range validation applies.
  • Fixed Gutenberg block render escapes donation IDs and wraps the shortcode attribute in quotes.
  • Fixed Stable tag header in readme.txt corrected to lowercase form.
  • Fixed Misconfigured min > max donation amount restriction is ignored at validation time to avoid blocking legitimate donations.
Version 1.0.1
  • Fixed General bug fixes and stability improvements.
Version 1.0.0
  • Improved Initial release.

Every release

Plugin releases and store tips, once a month

New releases, update warnings and one fix worth making.

One short email a month at most. We send a confirmation link first, and every email has a one-click unsubscribe. Privacy policy