devindelane Posted July 28, 2004 Posted July 28, 2004 Hello, I'm sorry I posted this in the Contribution section by mistake ---- I'm new to PHP and was wondering: In the (Customer Order Email) I would like to include the customers phone number and email address. So we do not have to look it up everytime a new order comes in. Does anyone have any idea how to do this? Thank you in advance, DD
rcmdesign Posted July 29, 2004 Posted July 29, 2004 I am not sure how you have the confirmation emails setup, but I have it setup to send extra order emails to my email address. You can set that in the configuration area of the admin area. Now in order to send this extra details edit the file checkout_process.php and then find this code: if (SEND_EXTRA_ORDER_EMAILS_TO != '') { tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } And then change to: if (SEND_EXTRA_ORDER_EMAILS_TO != '') { tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order . "\nCustomers Telephone: " .$order->customer['telephone'] . "\nCustomers Email Address: " . $order->customer['email_address'], STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); }
LordWulf Posted September 8, 2004 Posted September 8, 2004 sweeeeeeeeeeeeeeeeeeeeeeeeeeeeeeet, after a while of searching though here I found what I wanted and it's simple to do...... Now, let's say I used the above and now I want to include the customers IP address in the email ???? Is that something that can even be done ????
Recommended Posts
Archived
This topic is now archived and is closed to further replies.