Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2008
    Posts
    20
    Plugin Contributions
    0

    Default Duplicate entries being created in address book

    I'm running 1.3.5 -- I can't upgrade yet because the site I've "inherited" has a lot of custom code / database changes that I need to wrap my head around before attempting an upgrade.

    The problem I'm trying to solve is that of duplicate address book entries. If I select "change your address," the checkout_shipping_address page contains a form that has my current shipping information, and a list of other addresses with radio buttons. If I select one of the address with the radio button AND leave the current shipping information filled in, it duplicates the current information as a new address entry. If I clear it out and then use the radio button, the selected shipping address displays.

    I've combed through the code and can't even find where this duplicate is being created. I know I just want the address form to be empty, but I'm afraid I'll mess with the regular shipping address form.

    HELP!!!

  2. #2
    Join Date
    Mar 2008
    Posts
    20
    Plugin Contributions
    0

    Default Re: Duplicate entries being created in address book

    In the interested of helping someone else who may have this same issue, the problem was that in our version of the page checkout_new_address.php wasn't testing to see whether or not a new address (radio buttons) had been selected. The addition of the test -- !isset($_POST['address']) to the IF statement corrected the problem.

 

 

Similar Threads

  1. Address Book Entries, Help!!
    By godspeed27 in forum General Questions
    Replies: 4
    Last Post: 31 Jan 2008, 04:55 AM
  2. Replies: 5
    Last Post: 10 Oct 2006, 02:12 PM
  3. View or change entries in address book?
    By benjames in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 27 Sep 2006, 05:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •