Purchased Ticket #

Whenever you're dealing with a purchased ticket in your template, you're actually working with a PurchasedTicket object.

Attributes #

AttributeDescription
idThe id of the purchased ticket in the system.
eventThe Event the purchased ticket is generated for.
eventIdThe event's id the purchased ticket is generated for.
ticketThe Ticket the purchased ticket is generated for.
ticketIdThe ticket's id the purchased ticket is generated for.
orderThe Order where the ticket was originally purchased from.
orderIdThe order's id where the ticket was originally purchased from.
lineItemThe Line Item in the order where the ticket was originally purchased from.
lineItemIdThe lineItem's id where the ticket was originally purchased from.
eventTypeThe event's type the purchased ticket is generated for.
ticketTypeThe ticket's type the purchased ticket is generated for.
eventNameThe event's name the purchased ticket is generated for.
ticketNameThe ticket's name the purchased ticket is generated for.
qrCodeA QR code with the url to the controller including the ticket sku to easily check in a ticket to an event.
ticketSkuThe generated ticket sku.
checkedInTrue or false if the the ticket was already checked in for that event.
checkedInDateThe date this ticket was checked in.

Get started with Events

Available for Craft 3. Get it from the plugin store.