WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Send Order Mail after confirmation
- AuthorPosts
- 21 January, 2016 at 9:19 am #15311
Hi.
I try to send a confirmation Mail to the customer after I update the status in the backend to “confirmed”.
Found and love this: https://www.wp-pizza.com/topic/send-email-on-admin-status-update/
BUT: It sends a plain Mail (see screenshot)
How can I achieve that the normal order mail (which the customer normally receives after ordering) will be sent, after changing the status to “Bestätigt” (Confirmed)?
Thank you very much.
21 January, 2016 at 7:30 pm #15316if you look at the code at
https://www.wp-pizza.com/topic/send-email-on-admin-status-update/it sets plaintext headers and only what you set the message to be like inside the
$message
variableso the message, headers etc you want to send/set you have to create.
if you want to use one of the templates, look at the admin-get-json.php as a starting point
inside/************************************************************************************* * * * [order history -> print order] * * *************************************************************************************/ if($_POST['vars']['field']=='print-order' && $_POST['vars']['id']>=0){ /*........code..........*/ }
- AuthorPosts
- The topic ‘Send Order Mail after confirmation’ is closed to new replies.