Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I add email address to order notification


gurutogo

Recommended Posts

Did some searching around but could not find out how to do this. We have a oscommerce send an email to our book distributor once an order is placed. It sends the customer address/phone number etc.. But we would like it to include the email address so the distributor can send a shipping confirmation to the client. How can I have this added to the order notifications. Thanks

Link to comment
Share on other sites

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

  • 4 months later...

Hey I've been looking for some answer to this as well. I have done some testing and figured it out. open Catalog --> checkout_process.php

around line 284 you have:

if ($order->content_type != 'virtual') {
   $email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" . 
                   EMAIL_SEPARATOR . "\n" .

 

after this add:

$order->customer['telephone'] . "\n" .
$order->customer['email_address'] . "\n" .

 

make sure its above:

tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n";

 

Hope this helps.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...