PRO block. A WooCommerce-based donation call-to-action button. Block ID: get-fund/checkout-button.

Why use this
When your site processes donations through WooCommerce, this button links donors directly to the checkout page with the current action pre-loaded as the donation context.
What it does
The block generates a link to the configured WooCommerce checkout page, appending ?fund_action={post_id}. The checkout page ID is read from the get_fund_fundations_checkout_page_id setting, or overridden per block with the checkoutPageUrl attribute. If Fundations Pro is not active, administrators see a license notice instead of the button.
Requirements
- Active Fundations Pro license
- WooCommerce installed and active
How to use it
- Configure the checkout page in Settings > Fundations Pro > WooCommerce.
- Add the Checkout Button block to the action page template.
- Customise button text, style, and colors in the inspector.
- Leave Checkout Page URL blank to use the setting; override it only for special cases.
Settings and options
| Option | Type | Default | Description |
|---|---|---|---|
| Button text | string | Donate Now | Button label |
| Checkout page URL | string | — | Override the settings-based checkout page URL |
| Button size | string | medium | small, medium, or large |
| Alignment | string | left | left, center, or right |
| Full width | boolean | false | Stretch button to full container width |
| Border radius | number | — | Button corner rounding |
| Is outline | boolean | false | Outline button style |
| Border thickness | number | 2 | Outline border thickness |
| Border color | string | — | Outline border color |
| Button color | string | — | Filled button background |
| Button text color | string | — | Filled button text |
| Button hover color | string | — | Filled button hover background |
What you can and cannot do
- This block requires both Fundations Pro and WooCommerce. Without either, it renders a notice for administrators and nothing for regular visitors.
- The donation is processed through WooCommerce, not the standard Fundations donation form.
Troubleshooting
Button goes to a 404: The checkout page ID is not configured or the page does not exist. Check Settings > Fundations Pro > WooCommerce.
Admins see a license notice: Fundations Pro is not active or the license is not validated. Check the license status in Settings > Fundations Pro > License.