booking emails

This topic contains 3 replies, has 3 voices, and was last updated by  Stephen Harris 5 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31066

    Is there a method of being notified when a visitor books a ticket with a venue?

    Ryan Valizan
    #31071

    Hi Ryan,

    This is possible. There are hooks for CC’ing address into booking confirmation emails (and also a free extension which adds a user interface for doing this). In your case you’ll need to code the logic yourself to pull out an email associated with the venue to include them in the booking confirmation email. There are details about these hooks here: http://docs.wp-event-organiser.com/bookings/notification-emails/

    Please also see this tutorial which details how to implement what you want to achieve: https://wp-event-organiser.com/blog/tutorial/emailing-venues/

    It’s also possible to hook into the ‘booking confirmed’ action and send an entirely separate email, rather than CC a venue’s contact email address into the existing email.

    Stephen Harris
    #31168

    Hi

    I tried implementing what you suggest in your link https://wp-event-organiser.com/blog/tutorial/emailing-venues/ but I am not getting the email in the email account assigned to the venue_email property. Any clues on how to debug this?

    Please forgive me I am not a PHP developer but I am a software developer. So any tips in the right direction should be a great assistance.

    I did notice however that in the WP Mail Log logs that no email was sent to the venue_email email address. Also, I put the code you suggested in the functions.php file. Finally, the venue_email property was added to the event itself. I assume that is where it needed to be added.

    Thanks Colin

    • This reply was modified 5 years, 9 months ago by  Colin Gajraj.
    Colin Gajraj
    #31220

    Hi Colin,

    My apologies for the delay in getting back to you on this.

    The email should be stored in the venue custom field metabox. Although, if its preferable the code can be altered to use an event custom field.

    Stephen Harris
Viewing 4 posts - 1 through 4 (of 4 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.