gaspower Posted October 19, 2012 Share Posted October 19, 2012 Hello, In checkout_process.php, I added the below code to add email and phone number to emails sent out for order confirmation. It works fine when I test with payment of COD, Money Order, Authorize, which seem to stay on the site for process. But when I try Paypal Standard as a payment process, it seems not to add the email and phone number to the email confirmation? Thanks JR if ($order->content_type != 'virtual') { $email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n"; $email_order .= 'E-mail: ' . $order->customer['email_address'] . "\n"; $email_order .= 'Tel.: ' . $order->customer['telephone'] . "\n"; } $email_order .= "\n" . EMAIL_TEXT_BILLING_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_label($customer_id, $billto, 0, '', "\n") . "\n\n"; $email_order .= 'E-mail: ' . $order->customer['email_address'] . "\n"; $email_order .= 'Tel.: ' . $order->customer['telephone'] . "\n"; Link to comment Share on other sites More sharing options...
♥ecartz Posted October 19, 2012 Share Posted October 19, 2012 Did you change the file includes/modules/payment/paypal_standard.php ? A lot of the checkout_process.php code gets reimplemented there. Always back up before making changes. Link to comment Share on other sites More sharing options...
gaspower Posted October 19, 2012 Author Share Posted October 19, 2012 Hello Thank you. You are correct, needed to be replaced in both locations, checkout_process.php and /includes/modules/payments/paypal_standard.php. Thanks JR Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.