Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customers e-mail address in the order confirmation


Lifeform

Recommended Posts

Hi,

 

Does anyone know how to "manipulate" OSC to show the active customers e-mail address in the invoices sent by e-mail?

 

Would also be great to have this address listed in the main invoice text in the body of the e-mail.

 

Any contribution or hack for this??

 

Hope this is becomes a function that the developers include in the official version of this great solution.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
Hmm

 

Could you tips me as well on what file to put this in?

 

What's the file for the e-mail confirmation...?

 

Newbee progger here...

 

catalog/checkout_process.php

 

This is how I add both Tel No and Email address in the order confirmation email:

 

$email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" .

EMAIL_SEPARATOR . "\n" .

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

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

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

 

 

You can also edit the title text in this file:

catalog/languages/english/checkout_process.php

Link to comment
Share on other sites

catalog/checkout_process.php

 

This is how I add both Tel No and Email address in the order confirmation email:

 

$email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" .

EMAIL_SEPARATOR . "\n" .

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

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

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

You can also edit the title text in this file:

catalog/languages/english/checkout_process.php

 

Thanks!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...