If you need to add event and ticket information to your storefront or to your notification SMS and emails that Shopify delivers (such as the order confirmation, etc), then we have a solution.
This is an advanced feature that requires some knowledge of the use of the Shopify liquid programming language. If you're unsure how to do this, please reach out to us and we'd be happy to help you.
When you create an event in the app, the app will automatically create some metafields on the product variant that you can access within the liquid templates of the order confirmation notification. The namespace on the metafields is "evey" and the main object variable is "event", the list of variables within this event object are:
- {{ product.metafields.evey.event.title }} - the name of the event, this should match the product title.
- {{ product.metafields.evey.event.title }} - the location you set in the app for the event
- {{ product.metafields.evey.event.start_at }} - The start date/time that was configured in the app, with format YYYY-MM-DD'T'HH:MM:SS
- {{ product.metafields.evey.event.end_at }} - The end date/time that was configured in the app, with format YYYY-MM-DD'T'HH:MM:SS
- {{ product.metafields.evey.event.contact_email }} - the email you configured for all notifications to be sent from (as the Reply-To address).
- {{ product.metafields.evey.event.timezone }} - the timezone you have configured in the app for this event.
- {{ product.metafields.evey.event.product_id }} - the ID of the product this event is associated with
- {{ product.metafields.evey.event.attendee_attributes }} - any extra attributes you collected using cart attributes or product line item properties.
- {{ product.metafields.evey.event.ticket_types }} - a list of ticket type objects for the event.
Each ticket type object contains:
- {{ ticket_type.id }} - the unique internal ID of the ticket type
- {{ ticket_type.title }} - the name of the ticket type, usually matches the variant title
- {{ ticket_type.variant_id }} - the variant that the ticket type is associated with
- {{ ticket_type.group_size }} - if the ticket is a group ticket, this is the number of tickets generated for each one sold. If it's not a group ticket, this is always 1.
That's it! Feel free to contact us if you have any questions.