Notification mail with data provided in the submission form

WordPress Event Management, Calendars & Registration Forums General Question Notification mail with data provided in the submission form

This topic contains 2 replies, has 2 voices, and was last updated by  Nicolas Massart 7 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26657

    Hello,

    I would like to add in the notification message sent to my bookees some of the fields they chose or filled in the submission form.

    The first element is the name(s) of the ticket(s) they bought. I know %tickets% can do that, but it displays a table with the price also and I do not want to display the price for that specific tickets.

    The second kind of element I want to include in the notification email is one of the custom field I set up in the form builder of your plugin. I also now %form_submission% can do that but it displays everything and I need only some of them.

    Thanks

    Nicolas Massart
    #26671

    Hi Nicolas,

    For the second one you can follow this tutorial: https://wp-event-organiser.com/blog/tutorial/including-custom-fields-confirmation-e-mail/

    For the first, you can use the eventorganiser_email_ticket_list – this filters the HTML mark-up of the table. You’ll probably want to replace it with your own table, so you may want to copy what eventorganiser_email_ticket_list() (in includes/email.php) does, and edit it slightly to remove the price column.

    Please see https://wp-event-organiser.com/forums/topic/tickets-table/#post-15702 for a working example – but it doesn’t remove the price column.

    Stephen Harris
    #26680

    Thanks again Stephen !

    Nicolas Massart
Viewing 3 posts - 1 through 3 (of 3 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.