donslund Posted October 29, 2010 Posted October 29, 2010 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
apapazov Posted November 2, 2010 Posted November 2, 2010 the place is right, here I edit letters but assume that your code is not correct
multimixer Posted November 3, 2010 Posted November 3, 2010 You can read here about how to add customers phone and email into the order confirmation email My community profile | Template system for osCommerce - New: Responsive | Feedback channel
donslund Posted November 3, 2010 Author Posted November 3, 2010 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
mariuscd Posted November 19, 2010 Posted November 19, 2010 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?
donslund Posted November 19, 2010 Author Posted November 19, 2010 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.
mariuscd Posted November 20, 2010 Posted November 20, 2010 Thanks. I found it. It is the paypal_standard.php file that generates the confirmation e-mail.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.