Donation page variables
Donation and Donation (v2) pages
| Variable | Description |
|---|---|
| content |
Displays content specified in page's Intro section e.g. {{ page.donation.content }} |
| amount_goal_format | Donation goal for page formatted (e.g. $12.37) e.g. Amount of money set as the goal for the donation page |
| percent_of_amount_goal | Percent of amount goal met e.g. {{ page.donation.percent_of_amount_goal }} |
| donor_goal | Donor goal e.g. The number of donors set as the goal for the donation page |
| percent_of_donor_goal | Percentage of donor goal met e.g. {{ page.donation.percent_of_donor_goal }} |
| merchant_account |
Merchant or bank account
e.g. {{ page.donation.merchant_account.accepted_card_icons }} |
| donation_frequency | How often the donor will be charged. Returns either 'monthly' or 'one-time' e.g. {{ page.donation.donation_frequency }} |
| amounts | Array of default donation amounts |
| accepts_single_amount? | Checks whether the page accepts only a single amount e.g. {% if page.donation.accepts_single_amount? %} |
| accepts_variable_amounts? | Checks whether the page accepts multiple amounts e.g. {% if page.donation.accepts_variable_amounts? %} |
| form_amount_options |
Amounts set by control panel user if "Accept multiple amounts" enabled
e.g. |
| amount_formatted | Amount set by control panel user if "Accept multiple amounts" disabled e.g. {{ page.donation.amount_formatted }} |
Donation (v2) pages only
| Variable | Description |
|---|---|
| currency_symbol |
The symbol of the nation's default currency e.g. {{ page.donation_v2.currency_symbol }} |
| interval_monthly? |
Checks if the donor has selected monthly payments {% if page.donation_v2.interval_monthly? %} |
| interval_annual? |
Checks if the donor has selected annual payments {% if page.donation_v2.interval_annual? %} |
| url_query_amount |
Value specified by the ?amount= URL param used to prefill the amount e.g. {{ page.donation_v2.url_query_amount }} |
| confirmation_amount |
Displays the selected amount to the donor before they submit the form e.g. |
| ticket_purchase_total |
When a ticket order is present, displays the total cost e.g. {{ page.donation_v2.ticket_purchase_total }} |
| recurring_radio_buttons |
Radio buttons presented to donor to toggle between one-time and monthly recurring donations e.g. {{ page.donation_v2.recurring_radio_buttons }} |
| amount_other |
Input for donor to enter custom amount if multiple amounts accepted e.g. {{ page.donation_v2.amount_other }} |
Donation (v2) pages with 2025 upgrade only (please contact us for access)
| show_frequency_radio_buttons? |
Checks if multiple frequencies (one-time, monthly recurring, annual recurring) should be displayed {% if page.donation_v2.show_frequency_radio_buttons? %} |
| donation_frequency |
Returns frequency settings for the page. e.g. one-time; monthly; annual; one-time,monthly; one-time,annual; one-time,monthly,annual; or monthly,annual |
| recurring_radio_buttons |
Radio buttons presented to donor to toggle between one-time, monthly recurring, and annual recurring donations e.g. {{ page.donation_v2.recurring_radio_buttons }} |
Donation pages only
| Variable | Description |
|---|---|
| minimum_amount | Minimum donation amount e.g. {{ page.donation.minimum_amount }} |
| has_amount_goal? | Checks if page has a donation goal set e.g. {% if page.donation.has_amount_goal? %} |
| has_met_amount_goal? | Checks if the goal has been met e.g. {% if page.donation.has_met_amount_goal? %} |
|
|
|
| has_donor_goal? | Checks if page has a donor goal set e.g. {% if page.donation.has_donor_goal? %} |
| has_met_donor_goal? | Checks if page has met the donor goal e.g. {% if page.donation.has_met_donor_goal? %} |
| form_card_expires_on |
Field for credit card expiration
e.g. |
| max_installments | The maximum number of installment payments a donation is allowed to be broken into e.g. {{ page.donation.max_installments }} |