Add additional field column to email ticket

Home Forums Ticket Products Event Tickets Plus Add additional field column to email ticket

  • This topic has 3 replies, 4 voices, and was last updated 9 years, 9 months ago by Manuela Hernandez Perez.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1133943

    Hi,
    I need a new column in the email.php (src/views/tickets/email.php).
    There needs to be shown the additional field “Treffpunkt”, see here: http://prntscr.com/bn2d90
    Please let me know what I have to add to the email.php file.
    Thank you very much in advance!!
    Best regards,
    Manuela

    #1135318
    Brook
    Participant

    Howdy Manuela!

    I would love to help you with this. Thanks for bearing with us, slightly longer responses over the holiday.

    That is totally possible. It will require modifying the Email template to insert that info, and so a little bit of knowledge on modifying templates will be helpful. The first step is to familiarize yourself with the Themer’s Guide if you have not already. Now you will create an override for /event-tickets/src/views/tickets/email.php Within this file you will where it outputs the info for each ticket in the Tickets Email. Inside of this loop insert a call to tribe_get_custom_fields() to get the Additional fields data. Output the field you need, and you’re all set!

    Does that all make sense? Will that work for you? Please let me know.

    Cheers!

    – Brook

    #1141568
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Add additional field column to email ticket’ is closed to new replies.