### Basic Ticket Email Template Example Source: https://www.guestmanager.com/docs/event-setup/ticket-email A simple example of a ticket email template using dynamic variables. This template includes a greeting with the guest's name and provides a link to download their ticket for the specified event. ```html Hi {{ ticket.name }}! Here is your ticket for {{ ticket.event.name }}. Download it here: {{ ticket.links.pdf }} ``` -------------------------------- ### Dynamic Variables for Ticket Emails Source: https://www.guestmanager.com/docs/event-setup/ticket-email This snippet shows examples of dynamic variables that can be used within email templates to personalize content. These variables are placeholders that Guest Manager replaces with actual data when sending the email. They cover guest information, ticket details, event information, and venue details. ```html {{ ticket.name }} -> "Jeff Blake" {{ ticket.email }} -> "jeff@guestmanager.com" {{ ticket.status }} -> "Valid" {{ ticket.links.pdf }} - URL link to download the ticket PDF.* {{ ticket.links.wallet }} - URL link to download Apple wallet ticket.* {{ ticket.ticket_type.name }} -> "General Admission" {{ ticket.ticket_type.starts_at }} -> **Raw Date** {{ ticket.ticket_type.ends_at }} -> **Raw Date** {{ ticket.ticket_type.content }} {{ ticket.event.name }} -> "Holiday Party" {{ ticket.event.date }} -> 12-25-2018 {{ ticket.event.time }} -> 7:00am-10:00am {{ ticket.event.images.banner }} {{ ticket.event.venue.name }} {{ ticket.event.venue.address.address1 }} -> "123 Main St." {{ ticket.event.venue.address.state }} -> "WA" {{ ticket.event.venue.address.city }} -> "Seattle" {{ ticket.event.venue.address.country }} -> "US" {{ ticket.event.venue.images.map_icon }} -> URL {{ ticket.custom_fields['Your field name'] }} -> Field value * If a corresponding design is not setup, this value will be blank. ``` -------------------------------- ### Customizing Dates in Ticket Emails Source: https://www.guestmanager.com/docs/event-setup/ticket-email Demonstrates how to format raw date attributes within email templates using the Liquid date filter. This allows for displaying dates in a human-readable format, such as 'Fri, Jul 17, 15'. ```html {{ ticket.event.starts_at | date: "%a, %b %d, %Y" }} ``` -------------------------------- ### Accessing Custom Fields in Ticket Emails Source: https://www.guestmanager.com/docs/event-setup/ticket-email Illustrates how to access custom fields associated with a ticket within the email template. This allows for the inclusion of specific, user-defined information in the email, such as a company name. ```html {{ ticket.custom_fields['Company'] }} ``` -------------------------------- ### Access Specific Event Metafields (Liquid) Source: https://www.guestmanager.com/docs/shopify/metafields Demonstrates how to access specific event details like venue name, start date, and end date from product metafields. It also shows how to format dates using Liquid filters. ```liquid {{ event.venue.name }} {{ product.metafields.event_ticketing.event.venue.name }} {{ product.metafields.event_ticketing.event.starts_at }} {{ product.metafields.event_ticketing.event.ends_at }} {{ product.metafields.event_ticketing.event.starts_at | date: "%a, %b %d, %Y" }} ``` -------------------------------- ### HTML Input Fields for Ticket Properties Source: https://www.guestmanager.com/docs/shopify/collecting-attendee-information Standard HTML structure for collecting custom ticket information. These fields use the 'properties[]' naming convention to ensure data is correctly associated with the line item in the Guest Manager system. ```HTML

``` -------------------------------- ### Access All Product Metafields (Liquid) Source: https://www.guestmanager.com/docs/shopify/metafields This snippet shows how to output all metafields associated with a product within the 'event_ticketing' namespace. This is useful for debugging or displaying all available event data. ```liquid {{ product.metafields.event_ticketing }} ``` -------------------------------- ### Ticket Attachment Email Subject Line Source: https://www.guestmanager.com/docs/shopify/ticket-attachment-email The default subject line template for the ticket attachment email, dynamically generating event names from the order data. ```Liquid Your tickets for {{ order.events | map: 'name' | join: ', ' }} are attached! ```