• I am using the latest Events Manager and WordPress and when a customer books using the calendar and has paid, I receive a booking notification email but the email does not tell me what date the customer has booked and then i have to email them and ask them what date they have booked. Not very professional.

    How can i edit what email address the notifications go to and what information is displayed in the email?

    Cheers

    http://wordpress.org/extend/plugins/events-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can use change email templates at Settings > Emails > Booking Email Template then create a custom placeholder to be use in your email template

    e.g.

    Paste this code to you theme functions.php so that it will not override during EM update.

    function my_em_bookeddate_placeholders($replace, $EM_Event, $result){
    	global $wp_query, $wp_rewrite,$EM_Event;;
    	switch( $result ){
    		case '#_BOOKINGDATE':
    			foreach( $EM_Event->get_bookings()->bookings as $EM_Booking ) {
    				$replace = date('Y-m-d H:i', $EM_Booking->timestamp);
    			}
    			break;
    	}
    	return $replace;
    }
    add_filter('em_event_output_placeholder','my_em_bookeddate_placeholders',1,3);
    Thread Starter blake0591

    (@blake0591)

    I put this is in the functions file and then i couldn’t view the website at all.
    I had to download the functions.php and remove the placeholder you provided and re-upload it to get the site working again.

    How do i use your code in the Events Manager settings area?

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    once you paste that in your functions.php file, you need to use the _BOOKINGDATE placeholder in your email formats in the settings page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Events Manager] Booking Notification Email does not show the date/time the customer has boo’ is closed to new replies.