Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to get emailadress and phone in order-mail


Bernd_das_Brot

Recommended Posts

I sweated over this too.

 

If you are using cc.php I believe you can't get it in the email - don't know why as I thought I could see it in the code. However, it is also a security issue.

 

The cc details do show up in the database in that customers orders.

 

 

MG

Link to comment
Share on other sites

Hi

Try this I can't rememebr the thread.

 

Edit the checkout_process.php

Code:

// BOF: WebMakers.com Added: Include Order # in Subject and name, phone and email in body to extra emails

// send emails to other people

if (SEND_EXTRA_ORDER_EMAILS_TO != '') {

$email_order = $order->customer['firstname'] . ' ' . $order->customer['lastname'] . "\n" . 'Telephone: ' . $order->customer['telephone'] . "\n" . $order->customer['email_address'] . "\n\n" . $email_order;

 

tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, 'NEW - ' . EMAIL_TEXT_SUBJECT . ' #' . $insert_id, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

}

 

Cheers

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...