RE: Customer email and phone number in the email confirmation

fjelsten <[email protected]>
Newsgroups gmane.comp.web.oscommerce.features
Message-ID <2a4b7329f36758955d3c48f6773ee65b@osCommerce-Forums>
This message was sent from: Features
http://forums.oscommerce.com/viewtopic.php?p=193569#193569
----------------------------------------------------------------

[quote="Ajeh"]I use something like this in checkout_process.php for the additional mail so that it is convenient to email/call the customer:

[code]// send emails to other people
  if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
// WebMakers.com Added: Include Order # in Subject and customer's email address and phone in body
    tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, 
    EMAIL_TEXT_SUBJECT . ' #' . $insert_id, 
    $order->customer['firstname'] . ' ' . $order->customer['lastname'] . ' ' . $order->customer['email_address'] . "\n\n" . 
    'Telephone ' . $order->customer['telephone'] . "\n\n" .
    nl2br($email_order), 
    STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, '');
  }
[/code][/quote]

I get:
[quote]Parse error: parse error, unexpected T_IF in "file path to my website"\catalog\checkout_process.php on line 282[/quote]

That line is:
[code]if (SEND_EXTRA_ORDER_EMAILS_TO != '') {[/code]

I run "2003/03/22" on IIS.

Any help?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.