deej Posted December 17, 2003 Posted December 17, 2003 I need to be able to view the customers fax in my order confirmation email. How can I add this function?
Guest Posted December 17, 2003 Posted December 17, 2003 This should work for you.... Open catalog/checkout_process.php Go To Line 66 (This is in an unmodified installation of OSC) 'customers_telephone' => $order->customer['telephone'], Replace Line 66 with these 2 lines... 'customers_telephone' => $order->customer['telephone'], 'customers_fax' => $order->customer['fax'], Then Go To Line 259 tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); And Replace it with tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], $order->customer['fax'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); That should do it for you.... As ALWAYS...BACK UP YOUR ORIGINAL FILES Trent :blink:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.