Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Phone number in shipping address


bijink

Recommended Posts

Posted

I would like to add a blank for phone number when a store account holder put new address in their address book. So when we record order, invoice and packing slip we will have it in case of delivery problem.

 

I tried looking for a contribute soltuion but it's way more then I need...

 

Does anyone know how to do this? I am OK modifying code, not confident in changing database structure and interfacing with it via all the related php files...

 

BK

Posted
I would like to add a blank for phone number when a store account holder put new address in their address book. So when we record order, invoice and packing slip we will have it in case of delivery problem.

 

I tried looking for a contribute soltuion but it's way more then I need...

 

Does anyone know how to do this? I am OK modifying code, not confident in changing database structure and interfacing with it via all the related php files...

 

BK

 

I am looking for exact the same thing. :'(

What I want is the tel # to show up in the confirmation email for every address a customer has in their address book.

 

The store I am working on was developed by someone else and they added the tel. number in the "Add Shipping Address" page (checkout_payment_address.php), except they neglected to create a database entry for it and when the user checks their addresse book the tel # does not appear anywhere.

More importantly, the tel # does not appear in the order confirmation email that my client uses to prepare the products for shipping and since they use Fedex they absolutely need the tel # of the recipient, not the payee.

 

On my developement installation I added the contribution you mention, it is not the easiest to install but it works very well, problem is that I the production site also uses the contribution to fix the state field changing from a text field to a drop down (making Alabama the state for every customer that makes a mistake on their profile page). The two contributions are not compatible and now I may have to revert the state fix in order to install the other contribution. A time consuming job at best.

 

Does anyone have a simple way to add the tel # to the alternate addresses and to include it in the confirmation email?

  • 1 year later...
Posted
I am looking for exact the same thing. :'(

What I want is the tel # to show up in the confirmation email for every address a customer has in their address book.

 

The store I am working on was developed by someone else and they added the tel. number in the "Add Shipping Address" page (checkout_payment_address.php), except they neglected to create a database entry for it and when the user checks their addresse book the tel # does not appear anywhere.

More importantly, the tel # does not appear in the order confirmation email that my client uses to prepare the products for shipping and since they use Fedex they absolutely need the tel # of the recipient, not the payee.

 

On my developement installation I added the contribution you mention, it is not the easiest to install but it works very well, problem is that I the production site also uses the contribution to fix the state field changing from a text field to a drop down (making Alabama the state for every customer that makes a mistake on their profile page). The two contributions are not compatible and now I may have to revert the state fix in order to install the other contribution. A time consuming job at best.

 

Does anyone have a simple way to add the tel # to the alternate addresses and to include it in the confirmation email?

 

 

Did you get this figured out I need the same thing too

 

Thomas

Posted
  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 .= EMAIL_TEXT_PHONE . ' ' . $order->customer['telephone'] . "\n" .
				EMAIL_TEXT_EMAIL . ' ' . $email_address . "\n"; 
 }

Posted
  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 .= EMAIL_TEXT_PHONE . ' ' . $order->customer['telephone'] . "\n" .
				EMAIL_TEXT_EMAIL . ' ' . $email_address . "\n"; 
 }

 

 

Hi Manfred Thank you for replying.. I have been stuck with this problem for a while. what I'm after is two telephone numbers in the "Add Shipping Address" page, one for daytime, one for nighttime, that stores in the database, shows in admin and writes to the email.

 

Again thanks for the help I really appreciate it.

 

Thomas

Archived

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

×
×
  • Create New...