Skip to main content
All CollectionsSettingsCustomization
Customizing Your PDF Ticket
Customizing Your PDF Ticket
Updated over 5 months ago

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 logo and notes or instructions for the attendee. However, this template may not work for you; if not, you can customize it fully by modifying the HTML and Liquid template (see a section at the end of this article).

To customize your pdf ticket template, you can go to the following page in the Evey Application and scroll down to the "PDF Ticket Customization" section, then click on the "Customize" button. This will take you to our new visual PDF ticket template editor - no coding knowledge is required!

pic 1.png





Now on the new template editor, you can customize elements on your ticket page without needing to use any code. Instead, rearrange the elements easily by clicking and dragging using the six dots next to the block names or clicking on the block name to customize the content inside that block.


pic 2.png

Modifying the HTML/Liquid Code

** PLEASE NOTE EDITING THE HTML/LIQUID CODE IS AN ADVANCED FEATURE THAT COULD CAUSE ISSUES WITH THE VISUAL TEMPLATE EDITOR **

You have complete control over how this ticket looks and it's content. 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 Customization:


pic 3.png



You'll notice that all CSS styles are inline; this is necessary for the HTML to PDF rendering to work correctly.

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 can check 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 }}"/>

If you have any questions about customizing your PDF ticket template or anything, don't hesitate to get in touch with us!

Did this answer your question?