hobbzilla Posted February 10, 2004 Share Posted February 10, 2004 This is the support thread for my Address Book Enhancer Contribution. These modifications allow you to assign specific address book entries to a default shipping and a default billing address. Along with this, it would be easier for the customer to keep track of a "nickname" for that address id (also nicer in a drop-down listing for selection purposes when checking out! :) Quote Link to comment Share on other sites More sharing options...
hobbzilla Posted February 10, 2004 Author Share Posted February 10, 2004 GET IT HERE http://www.oscommerce.com/community/contributions,1868 Quote Link to comment Share on other sites More sharing options...
AnnieO Posted February 23, 2004 Share Posted February 23, 2004 Ryan, This looks awesome. I have downloaded this addon and I am wondering how you used it to import osc data into your accounting software. I need to develop a customer mailing address from osc data. Will your contribution allow me to do this. TIA AnnieO Quote Link to comment Share on other sites More sharing options...
hobbzilla Posted February 23, 2004 Author Share Posted February 23, 2004 AnnieO, I use a program that is offered by my accounting package called integration manager. It is a Microsoft product for their their Great Plains Business Solutions line. This contribution does nothing with integration or data migration. Rather it is just an enhanced address book. Quote Link to comment Share on other sites More sharing options...
hobbzilla Posted February 24, 2004 Author Share Posted February 24, 2004 Address Book Enhancer v1.0b Released. (bug fixed version) Get it here Quote Link to comment Share on other sites More sharing options...
cjfowler Posted March 25, 2005 Share Posted March 25, 2005 (edited) Ryan, I love this contribution, but I'm pulling my hair out trying to find what you've updated to correct for the blank default addresses on checkout_shipping.php and checkout_payment.php. I'm probably missing something just oh so simple, but for the life of me I can't see it. Can you help me out? Thanks!! :) Edited March 25, 2005 by cjfowler Quote * Approach the ordinary with extraordinary intent! * Link to comment Share on other sites More sharing options...
hobbzilla Posted May 2, 2005 Author Share Posted May 2, 2005 Ryan, I love this contribution, but I'm pulling my hair out trying to find what you've updated to correct for the blank default addresses on checkout_shipping.php and checkout_payment.php. I'm probably missing something just oh so simple, but for the life of me I can't see it. Can you help me out? Thanks!! :) <{POST_SNAPBACK}> Sorry this is so late, but can you be more specific with your problem? Quote Link to comment Share on other sites More sharing options...
Harmony Posted May 19, 2005 Share Posted May 19, 2005 Hi I love the contribution also but notice for some strange reason I am getting an array code showing on my checkout_confirmation.php page? :huh: Just above where it says "Delivery Address" an actual array is showing: e.g. Array[Firstname]=>Maryke, [Lastname]=>Brevet, etc . . DELIVERY ADDRESS Maryke Brevet etc . . I'm not sure where the array is coming from, perhaps orders.php? But the actual code is displaying in the page, I've been trying to track it down but can't, it's a duplicate of the delivery address information, but with the array and fields displaying. Can anyone help me with this as I'm totally baffled! >_< Thanks in advance for any help. Kind regards Joanna Quote Half your problems aren't problems at all and the other half are only half as bad as you think they are :) Link to comment Share on other sites More sharing options...
hobbzilla Posted June 6, 2005 Author Share Posted June 6, 2005 Address Enhancer v1.1 released! Get it here. - New Address Book entries partially autopopulated by default values to save time - Added Require Gender code - Added Require DOB code - Fixed Shipping & Payment address when changes or adds new address then goes to address_book and deletes them. Quote Link to comment Share on other sites More sharing options...
ukgoods Posted June 7, 2005 Share Posted June 7, 2005 Is there somewhere I can see a demo of this before I actually install it? Thanks, Donna Gordon UKGoods.com Quote Link to comment Share on other sites More sharing options...
hobbzilla Posted June 7, 2005 Author Share Posted June 7, 2005 I currently don't have a demo of this setup right now. Perhaps someone will chime it that is using it. I would suggest setting up a development server for any osCommerce work you do anyway.. you can install and test out contributions such at your own pace. Quote Link to comment Share on other sites More sharing options...
indicaz Posted June 14, 2005 Share Posted June 14, 2005 first off let me say this is an awesome contribution and one of the easiest to implement so far..... atleast for me it was.. Question I have is, I am using fancier invoice, and the address book enhancer contribution .... The address book contribution allows the addition of a phone number to added addresses in the address book.... being that i have modified my invoice how do I get fancier invoice to include the secondary addresses in users address book's phone numbers within the invoice? It is important that I do so becuase I offer food delivery from my site and if the user chooses to use a secondary address and is not at there primary addresses phone number I have no way of verifying the order.. It would be essential to have inclusion of the secondary addresses phone number in the order.... What do I have to add and where??? Thanks alot hopefully someone has an answer! thanks indi Quote Link to comment Share on other sites More sharing options...
hobbzilla Posted June 15, 2005 Author Share Posted June 15, 2005 Without looking at the fancier invoice, I am not 100% sure but if there is an order query (like in the regular invoice), you will need to include the new table columns in that query and output them in the fancier invoice. Quote Link to comment Share on other sites More sharing options...
indicaz Posted June 15, 2005 Share Posted June 15, 2005 Without looking at the fancier invoice, I am not 100% sure but if there is an order query (like in the regular invoice), you will need to include the new table columns in that query and output them in the fancier invoice. <{POST_SNAPBACK}> could you possibly walk me through that process? i have no idea where to start thank you indi Quote Link to comment Share on other sites More sharing options...
hobbzilla Posted June 15, 2005 Author Share Posted June 15, 2005 Unfortunately, I just lack the time to offer free support for combining other contributions. Perhaps someone who uses that contribution has installed address enhancer and has it already working and will chime in. Quote Link to comment Share on other sites More sharing options...
netstep Posted November 8, 2005 Share Posted November 8, 2005 I love the address book enhancer. I just noticed a bug in my install, but I can't figure it out. ------------- checkout_shiping address works perfectly. checkout_payment address does not update with drop down. I followed the same process of comparing the and copying the changes in both files. ...confused why one works and one doesn't. checkout_payment > Drop down looks right. > Form code looks right. > Form processing code seems right when compared to same in checkout_shipping. Any idea what could cause this? Quote Sam M. - Seattle Link to comment Share on other sites More sharing options...
netstep Posted November 8, 2005 Share Posted November 8, 2005 Any idea what could cause this? If found it. I had two instances of tep_draw_form('checkout_payment', One was above the address drop down and the second was the new one I added with this contribution. All better. Quote Sam M. - Seattle Link to comment Share on other sites More sharing options...
johnTan Posted December 2, 2005 Share Posted December 2, 2005 Address Enhancer v1.1 released! Get it here. - New Address Book entries partially autopopulated by default values to save time - Added Require Gender code - Added Require DOB code - Fixed Shipping & Payment address when changes or adds new address then goes to address_book and deletes them. Hi there, First of all this is wonderful contibution. I am a newbie in php and oscommerce. I add this contribution to my store. everything is working perfect except I do not see the address2 and telephone on admin section and on the email. would you please help me on this and tell me which file should I modify and update. I really appreciate for any help. cheers :) Quote Link to comment Share on other sites More sharing options...
Mookie_Jam Posted May 5, 2006 Share Posted May 5, 2006 I add this contribution to my store. everything is working perfect except I do not see the address2 and telephone on admin section and on the email. would you please help me on this and tell me which file should I modify and update. Got same problem.. :( Any help would be much appreciated!! Quote Link to comment Share on other sites More sharing options...
codex Posted June 2, 2006 Share Posted June 2, 2006 hello, thank you for great contribution. maybe someone from this contributions gurus can make step by step instalation in txt ? someone will kill him self soon. ;) very difficult to install this contribution for modified shops. Thank you in advance for any replays. Quote Link to comment Share on other sites More sharing options...
codex Posted June 2, 2006 Share Posted June 2, 2006 Hi there,First of all this is wonderful contibution. I am a newbie in php and oscommerce. I add this contribution to my store. everything is working perfect except I do not see the address2 and telephone on admin section and on the email. would you please help me on this and tell me which file should I modify and update. I really appreciate for any help. cheers :) same here. Quote Link to comment Share on other sites More sharing options...
codex Posted June 3, 2006 Share Posted June 3, 2006 why need all thees changes if you cant see any name changes in admin panel. i mean if customer changing different name into primary name on admin panel still is the same name which was used by customer thru registration procces. its problem only with me? Quote Link to comment Share on other sites More sharing options...
hobbzilla Posted October 15, 2006 Author Share Posted October 15, 2006 Address Book Enhancer v1.3 Released! Get it here: http://www.oscommerce.com/community/contributions,1868 v1.3 - 10-14-2006 Fixed issue in the .sql file Moved sql updates from .sql to install.txt Updated to ms2-060817 Quote Link to comment Share on other sites More sharing options...
hobbzilla Posted October 15, 2006 Author Share Posted October 15, 2006 (edited) To answer some of the questions regarding this contribution. With the osc 2.2 MS2 Release, there isn't much you can see about customers in the admin view anyway. You certainly can't see their address books. This contrib is mainly helpful for the shopper. It makes it easy for them to have a specific address book be the default for shipping. And another address be the default for billing. This contrib could be modified to be used in conjunction with the create account in admin section, but that functionality will be available soon enough with osc 3.0 released. (Fax & Phone have been moved from customer table to address_book anyway in stock osc as well -- but still only one "default" address... e-mail the dev team and request this contrib be part of stock osc as it just makes sense!) So, in short it won't make your life easier as a store owner -- but your customers might appreciate it. Also, in regards to updating heavily modded stores for those of you new to php/oscommerce/etc: all code changes have been commented as stated in the install.txt. As a contrib installer.. you would _greatly_ benefit from a good 'diff' program. Some are free others are commercial. Even M$ has a free one! Regardless, the code is commented so all you need to do is search the files contained in the contrib and adjust the only those lines that have changed. Edited October 15, 2006 by hobbzilla Quote Link to comment Share on other sites More sharing options...
Micke Posted October 19, 2006 Share Posted October 19, 2006 Hi All! The contribution [v1.1 - 06/06/2005] installed perfectly and all went very smooth. Thank you!! Just one problem though... When my customers press the EDIT buttons next to thier addresses in the address book they recieve the message: "The address book entry does not exist." How come? If I understand this right, the actual error message comes from "catalog/address_book_process.php" Here's the line in the contrib install package: if (isset($HTTP_GET_VARS['edit']) && is_numeric($HTTP_GET_VARS['edit'])) { //rmh addr-enhancer edited next line $entry_query = tep_db_query("select entry_id_name, entry_gender, entry_company, entry_firstname, entry_lastname, entry_street_address, entry_street_address2, entry_suburb, entry_postcode, entry_city, entry_state, entry_zone_id, entry_country_id, entry_telephone, entry_fax from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customer_id . "' and address_book_id = '" . (int)$HTTP_GET_VARS['edit'] . "'"); if (!tep_db_num_rows($entry_query)) { $messageStack->add_session('addressbook', ERROR_NONEXISTING_ADDRESS_BOOK_ENTRY); ...and here's mine: // BOF Separate Pricing Per Customer if (isset($HTTP_GET_VARS['edit']) && is_numeric($HTTP_GET_VARS['edit'])) { //rmh addr-enhancer edited next line $entry_query = tep_db_query("select entry_id_name, entry_gender, entry_company, entry_tva_intracom, entry_company_tax_id, entry_firstname, entry_lastname, entry_street_address, entry_street_address2, entry_suburb, entry_postcode, entry_city, entry_state, entry_zone_id, entry_country_id, entry_telephone, entry_fax from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customer_id . "' and address_book_id = '" . (int)$HTTP_GET_VARS['edit'] . "'"); // EOF Separate Pricing Per Customer if (!tep_db_num_rows($entry_query)) { $messageStack->add_session('addressbook', ERROR_NONEXISTING_ADDRESS_BOOK_ENTRY); ...as you can see I have SPPC and the E.U VAT Intracom contribs installed, but that should not be a problem, should it? Here's an example link from an EDIT-button: "http://www.whatever.com/address_book_process.php/edit/96 Deleting an address works just as usual.... Any ideas anyone? //Micke Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.