The Ticket object contains information related to a ticket purchased or reserved through a ticketing page on a campaign or standalone ticketing page.
Availability: The Ticket object is available on the Ticket Purchased Confirmation email. Note that tickets must be looped through in the Tickets array to return the value of any individual attribute of one or many tickets.
Attributes: The Ticket object has the following attributes:
-
Ticket.Name
-
Ticket.Description
-
Ticket.Price
-
Ticket.Tax_Deductible_Amt
- Ticket.Amount_Discounted
- Ticket.Tickets_Purchased_Count
Tickets
Returns an array of Ticket objects—all the tickets the donor purchased or reserved in their transaction. Use an array filter or iteration tag to display the desired information. One useful filter that can be used commonly is all_info, which displays names and field information for all the tickets purchased/reserved in the relevant transaction:
Your tickets:{{ Tickets | all_info }}
Your tickets:
Adult (2)
Meal Preference: Chicken, Seating Preference: None
Meal Preference: Vegan, Seating Preference: Yes
Child (1)
Meal Preference: Kid Meal, Age: Under 5
Ticket.Name
Returns the ticket name.
Ticket.Description
Returns the ticket description.
Ticket.Price
Returns the ticket price. Note that this is the stated price on the ticket, as distinct from the total amount charged in the transaction. Use a money
filter to return the value in a monetary format:
{{ Ticket.Price | money }}
$25
Ticket.Tax_Deductible_Amt
Returns the amount of the ticket price that was set as tax deductible by the administrator in the Ticket Builder. Note that this is the stated deductible amount on the ticket, as distinct from the total deductible amount for the transaction. Use a money
filter to return the value in a monetary format:
{{ Ticket.Tax_Deductible_Amt | money }}
$10
Ticket.Amount_Discounted
Returns the discount amount as set by the administrator in the Admin Panel > Discount Codes. Note that this is the stated discount for the ticket, as distinct from the total discount for the transaction. Use a money
filter to return the value in a monetary format:
{{ Ticket.Amount_Discounted | money }}
$6.50
Ticket.Tickets_Purchased_Count
Returns the number of tickets purchased or reserved in the relevant transaction. Note that this is the purchased count just for the relevant ticket, as distinct from the total purchased count for the entire transaction.