cxixer Posted January 3, 2009 Share Posted January 3, 2009 Hello, I would like to add two extra fields to the customer 'address book'. I would like to add "email address" and "phone number" but not make them required. This way, when a customer enters in a new address to ship to, they may enter this information. Can someone direct me on this? I know it's an odd request, but I've been working on it and can not find it anywhere else on the forum how to modify this page correctly. It looks like it goes in to a different database than the 'create account' info does. Thanks! Link to comment Share on other sites More sharing options...
cxixer Posted January 5, 2009 Author Share Posted January 5, 2009 bump Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted January 5, 2009 Share Posted January 5, 2009 If you can't add these two fields how are you going to use the information when it is entered? Anyway that said Add the 2 fields to the address book table. Look in address_book.php and address_book_process.php. use the code to add city as a template and add the same code to add / maintain your new fields . Make sure sql to select and update include the new field names. G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted January 6, 2009 Share Posted January 6, 2009 Or you could look in the contributions, I was searching for "book" and ran across one. Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
cxixer Posted January 7, 2009 Author Share Posted January 7, 2009 If you can't add these two fields how are you going to use the information when it is entered? Anyway that said Add the 2 fields to the address book table. Look in address_book.php and address_book_process.php. use the code to add city as a template and add the same code to add / maintain your new fields . Make sure sql to select and update include the new field names. G Hey smart one, if you make a smart a** remark, make sure you know what you're talking about. At the point that I asked this, I did that already. To make these fields show up, you need to edit address_book_details.php, which displays the actual input fields. This is the information that I needed that I was missing. Thanks anyways for your guessing. Hope this helps anyone who needs it in the future. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.