Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Email/Phone number


xeonman13

Recommended Posts

Posted

Hello.

Need some help.

I need to include the customers phone number in the email that is sent out to me when an order is placed.

Where can i do that???

 

Thanks!!!

Posted
Hello.

Need some help.

I need to include the customers phone number in the email that is sent out to me when an order is placed.

Where can i do that???

 

Thanks!!!

 

 

Find your /catalog/checkout_process.php file

Make a backup of it

 

now open it and find this block

 

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";

}

 

 

replace it with this block

 

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_SEPARATOR . "n" .

EMAIL_TEXT_TELEPHONE . $order->customer['telephone'] . "n" .

EMAIL_SEPARATOR . "n";

}

 

 

 

save the file and upload it.

 

 

F5

Archived

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

×
×
  • Create New...