Snippet Library

Custom additional fields for RSVPs and tickets, and adding them to the email – for the new ticket emails

Snippet for

Add additional fields for Tickets (extension needed!) and add that information to the ticket email.

Requirements:

  • Event Tickets
  • New ticket emails – https://theeventscalendar.com/knowledgebase/event-tickets-emails/
  • Event Tickets Additional Fields extension – https://theeventscalendar.com/extensions/additional-fields-for-tickets/
  • Sample code included below. Customize based on your needs.
  • Template override, see additional file

Usage:

  • Add the snippet to your functions.php file or with a plugin like Code Snippets.
  • Add the tickets.php file to wp-content/themes/[your-theme]/tribe/tickets/emails/template-parts/body/tickets.php