Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding email address to confirmation email


donslund

Recommended Posts

Posted

Hi,

 

I try to add customer email address to the confirmation email.

 

In checkout_process.php I have add a line so it now looks like this.

 

$email_order = STORE_NAME . "\n" .

EMAIL_SEPARATOR . "\n" .

ADDED --> 'Denne email er automatisk genereret og sendt til: ' . $order->customer['email_address'] . "\n\n" .

EMAIL_SEPARATOR . "\n" .

EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .

EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .

EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";

 

But it doesn't change anything in the confirmation email.

 

Isn't it the right place?

 

 

Kind regards

Jeppe Donslund

Posted

It was me who could think ... I use epay as payment gateway and of course it has its own checkout_process.php. I change that and everything worked.

 

Thanks for your replies.

 

 

Jeppe Donslund

  • 3 weeks later...
Posted

I have the same problem. I am using the paypal payments and when is returning from paypal and it executes the process_checkout.php it sends the confirmation e-mail. However if I make any changes on the $email_order which is the body of the e-mail, nothing changes. I cannot figure out what is the problem. Any advice?

Posted

You need to find the checkout_process.php within a PayPal folder. Proboply in Modules-folder. There you should make the changes. That was what I did.

Archived

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

×
×
  • Create New...