Hello, you can do that with custom code only.
You add a Reply-To in the emails header thanks to the bookacti_email_notification_data hook. The customer email address is stored in the $tags variable.
I’m green with coding and don’t want to break my notification on our site. Any chance you could send an image of how to implement this? Just bought the ORDER FOR CUSTOMERS, very cool feature for our non-profit as we have a lot of older folks trying to use our site.
Hello, Thank you! Thank you for your review and feedback too.
I cannot provide support for custom code, you would also need to maintain your custom code by your own means afterwards, it’s a double-edged blade.
Here is a little help, add this code in your child theme’s functions.php or with a plugin such as Code Snippets:
// Set the Reply to address to customer's when an admin receives a notification
function my_theme_bookacti_add_reply_to( $email_data, $notification, $tags, $locale ) {
if( substr( $notification[ 'id' ], 0, 6 ) === 'admin_' && is_email( $tags[ '{user_email}' ] ) ) { $email_data[ 'headers' ][] = 'Reply-To: <'. $tags[ '{user_email}' ] . '>'; }
return $email_data;
}
add_filter( 'bookacti_email_notification_data', 'my_theme_bookacti_add_reply_to', 10, 4 );
Works like a charm! Thanks for the help with this!