The Cause object contains information related to a cause, also referred to as Event Listing. A cause/Event Listing is an object that can be associated with a fundraiser and/or donation. The most common use of this feature is for fundraisers to create events that are displayed on their page.
Availability: The Cause object is available in cause-related emails:
- Member/Team Created Cause
- Custom cause-related email
Attributes: The Cause object has the following attributes:
- Cause.Name
- Cause.Description
- Cause.Date
- Cause.Total_Amount
- Cause.Address (Address object)
Cause.Name
Returns the cause name (for example Bake Sale).
Cause.Description
Returns the cause description.
Cause.Date
Returns the date associated with the cause. Use a date filter to return the value in a recognized format:
{{ Cause.Date | date: "%B %d, %Y" }}
January 1, 2020
Cause.Total_Amount
Returns the total amount raised associated with the cause. Use a money filter to return the value in a monetary format:
{{ Cause.Total_Amount | money }}
$500
Cause.Address
Returns the address associated with the cause. Cause.Address is an Address object.