Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add Phone Number to Recipient's information


GaryWorster

Recommended Posts

My client wants to obtain the phone number for the recipient of the product as well as currently getting the phone number for the customer. I can add a field in the Address_Book table of the catalog database, but need to know how and where to add the entry in the php files for the field to appear for input, review, etc.

 

My client also wants the phone numbers of the recipient as well as the customer to appear in the email that is sent to him when orders are placed. I've looked through the email.php file, but it seems that the full email is created somewhere else and pulled into email.php as the variable "text". I can't find the program that is calling email.php and therefore passing this information in as the "text" variable.

 

Please help! :D

Link to comment
Share on other sites

  • 3 weeks later...
My client wants to obtain the phone number for the recipient of the product as well as currently getting the phone number for the customer. I can add a field in the Address_Book table of the catalog database, but need to know how and where to add the entry in the php files for the field to appear for input, review, etc.

 

My client also wants the phone numbers of the recipient as well as the customer to appear in the email that is sent to him when orders are placed. I've looked through the email.php file, but it seems that the full email is created somewhere else and pulled into email.php as the variable "text". I can't find the program that is calling email.php and therefore passing this information in as the "text" variable.

 

Please help! :D

 

 

Gary we are in the same situation, is this for fedex by the way? My opinion is that the recipients phone should not be needed at all, as they cannot do anything about the order. There is no way I am going to call anyone but the actual purchaser to confirm or deny anything. Even at best i will email them if a problem occurs as phone calls are $$. Tell your client that getting this field added in for just optional recipient addresses will be a bear, not only do you have to create the forms and put in the db, but you have to make sure it does not mess with any other code. I am having my client request it in the additional messages area, and I am even going to tell them not to require it there either. It is the customers/purchasers responsibility to input all valid address information for the recipient and usually fedex and other place will let you insert any phone number for the recipient, and I suggest you use your store number for this as you don't need fedex calling recipients that have no idea of a package they are supposed to receive. I would contact the purchaser back and tell them they need to fix anything that has to do with shipping and pay the additional fee to have the product reshipped. My honest opinon is that purchasers should not be allowed to send products elsewhere through the cart, if the purchasers and reciepients numbers aren't the same, that is their tough luck and the way the cart was designed I think they have the same outlook on this.

Link to comment
Share on other sites

As for getting the Customer's Phone number on the "Order Confirmation" email, you can try this contribution.

 

http://www.oscommerce.com/community/contri...mailorderextras

 

It's pretty simple to install.

 

Good luck

 

 

Does the cart actually notify the cart admin that an address or phone number has changed after the order confirmation was sent? Basically if you are going to not be looking these up through the cart admin functions this could hurt you later on if the customer finds out right after confirmation that they put in the incorrect address or something and fix it without telling anyone by editing the address to be shipped to. I would assume that the cart would do this, but I don't trust assume.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...