Hi Evey Users!
This guide is to help you customize our PDF ticket template that is sent to your attendees after they purchase their tickets. We provide a default ticket template that works for most events, including setting your own logo and notes or instructions for the attendee. This template may not work for you, if not then you can customize it fully by modifying the HTML and Liquid template (see section at the end of this article).
To customize your pdf ticket template you can go the following page in the Evey Application
For the default template, you can add your own custom logo image that will appear at the top left area of the ticket:
as well as custom notes or instructions for the attendee that will appear below the ticket on the PDF page:
Modifying the HTML/Liquid Code
You have full control over how this ticket looks and the content within it. The template is HTML rendered to PDF and uses the same template language as Shopify, so you can customize the content based on attendee, event, and shop details. To begin modifying the template code, click the Edit Code button at the bottom of the PDF Ticket page:
You'll notice that all CSS styles are inline, this is necessary for the HTML to PDF rendering to work properly.
As in the default ticket, we recommend including the event name, location, start/end dates, date of purchase, ticket number, attendees name and email, and a rendered image of their unique QR code that you cans can to check them in at the door.
Here is the list of all the liquid variables available to use for this PDF ticket template:
Event:
{{ event.title }} - Title of event
{{ event.location }} - Location of event
{{ event.start_at }} - Start date of event
{{ event.end_at }} - End date of event
{{ event.contact_email }} - Email address provided by you as your contact email for your attendees
{{ event.public_url }} - URL of event
{{ event.latitude }} - Latitude coordinate of location (if available)
{{ event.longitude }} - Longitude coordinate of location (if available)
{{ event.description }} - Full description of event / product
{{ event.has_pdf_ticket_type }} - True/false flag for if PDF ticket type is enabled
{{ event.has_passbook_ticket_type }} - True/false flag for if Passbook ticket type is enabled
{{ event.has_ics_ticket_type }} - True/false flag for if ICS ticket type is enabled
{{ event.allow_transfers }} - True/false flag for if transfers are allowed for tickets
{{ event.timezone }} - Timezone configured for this event
{{ event.tickets }} - List of available ticket types for this event
Attendee:
{{ attendee.first_name }} - First name of attendee
{{ attendee.last_name }} - Last name of attendee
{{ attendee.name }} - Full name of attendee
{{ attendee.email }} - Email provided by attendee
{{ attendee.order_name }} - Order name/number from Shopify where this ticket was purchased
{{ attendee.token }} - Unique alphanumeric token for this attendee. Used for internal use only unless you have some reason to give it to the customer.
{{ attendee.manage_url }} - URL to ticket management page for this attendee where they can download their tickets or update their information.
{{ attendee.event_url }} - URL of event this ticket was purchased for
{{ attendee.number }} - Sequential ID of ticket (scoped to your event)
{{ attendee.pdf_ticket_url }} - URL to download PDF ticket
{{ attendee.passbook_ticket_url }} - URL to download Passbook ticket
{{ attendee.ics_ticket_url }} - URL to download ICS ticket
{{ attendee.purchased_on }} - Date the ticket was purchased on (in event timezone)
Ticket:
{{ ticket.title }} - Name of ticket / variant
{{ ticket.inventory }} - Inventory available for ticket
{{ ticket.price }} - Cost of ticket
{{ ticket.logo_base64 }} - Base64 encoded image of logo, can use as <img src="data:image/png;base64,{{ ticket.logo_base64 }}"/>
{{ ticket.qr_data }} - Base64 encoded image of QR code, can use as <img src="data:image/png;base64,{{ ticket.qr_data }}"/>