I have noticed the function send order details to buyer by e-mail.
Is it possible to adjust file orders_step-3 (QuickCart v5.0) so admin will receive a confirmation too? Or do I have to adjust more files to achieve this?
Admin only needs a confirmation by e-mail, displaying order details is not necessary.
both emails use the same template BLOCK. sending emails is triggered in /core/orders.php -> function sendEmailWithOrderDetails
there you can see: sendEmail($aSend,null,$GLOBALS['config']['orders_email']); this above is the email to admin. And then: if($bSendToCustomer===true) sendEmail($aSend,null,$aData['sEmail']); this is the email to customer (if chosen in settings).
As you can see, the $aSend[mailContent] is created on the ORDER_EMAIL_BODY part of the template and is used by sending to both (admin + customer). If you want another email "looking" for the admin, so create a similar block (e.g. ORDER_EMAIL_BODY_ADMIN) and fill it eith needed variables. Then use this block by creating $aSend[sMailContent] and additionaly by calling the email to customer overwrite it with the old block.