Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Address Book Entry - not saving when primary is selected

    Zen cart 1.5.5f
    Fast and Easy Checkout 2.1.8

    Update Address Book Entry does not seem to be working correctly when logged in via
    my account/address book

    When a customer has an account, and wants to change information in there address book via My Personal Address Book it does not seem to be saving the entry when you select the new address as primary.

    The address does save but the it will not change the primary.

    If you go to the checkout and change the information there all seems to work correctly.

    I looked at the forum but can’t seem to find an answer. If someone could assist me or lead me in the right direction I would greatly appreciate it.

  2. #2
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: Address Book Entry - not saving when primary is selected

    Just some more information to my puzzle.

    When you change the primary address and logout then log back in the change will work.

    The primary checkbox seems to be the issue from what i can tell.

  3. #3
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: Address Book Entry - not saving when primary is selected

    Just to be clear because I still can’t find a solution.

    When a customer logs into their account and changes their primary address via my address book there seems to be an issue during the checkout process where the primary address is not updated.

    Please note the primary address is created when I first created my account.

    When I either add or edit an address and select it to be the primary address it saves and displays as the new primary address. – which is correct

    The problem is when I go to the checkout it is still showing OLD primary address. - this is incorrect

    When I log out and log back in the the new primary address displays correctly.

    If someone could assist me or lead me in the right direction I would appreciate it.

  4. #4
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Address Book Entry - not saving when primary is selected

    I am not able to check the code right now, but I suspect the address is stored in the session, and is not updated.

  5. #5
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: Address Book Entry - not saving when primary is selected

    hey design75,

    I believe you are correct that it is stored in the session. But how would we go about and fix that.

  6. #6
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: Address Book Entry - not saving when primary is selected

    I figured I give it one more shot. Does anyone have any ideas on how to solve this issue.

    if someone could assist me or lead me in the right direction i would greatly appreciate it,

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,401
    Plugin Contributions
    87

    Default Re: Address Book Entry - not saving when primary is selected

    I just tried this on a zc1.5.5f installation:

    Logged into my account and tried two paths:

    1. Changed an existing address-book record to primary. Placed a product in my cart and went to checkout; the new address was displayed.
    2. Added a new address, ditto.

    What I did see was that changing the primary address after I'd started the checkout process (i.e. login, go to checkout then go to account/address-book) any changes to the primary address had no effect on the address "chosen" for the checkout ... since I'd already selected that (now, not primary) address previously and that address-book-id is recorded in the session.

  8. #8
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Address Book Entry - not saving when primary is selected

    Quote Originally Posted by chadlly2003 View Post
    I figured I give it one more shot. Does anyone have any ideas on how to solve this issue.

    if someone could assist me or lead me in the right direction i would greatly appreciate it,
    As for the answers you got, its all working as expected for us..

    Quote Originally Posted by chadlly2003 View Post
    I believe you are correct that it is stored in the session. But how would we go about and fix that.
    Yes the session variables is registered or re-registered depending on what the customer is doing. This is already done in the code so no fix is needed...

    Before you get to far out, I would compare header file of a clean copy of ZC155f to both nodules/pages/address_book and modules/pages/address_book_process Do the same with the template files..

    Somewhere you or something modified or the files was corrupted during upload... I'm not able to recreate the problem without destroying the files...

    I've modified my account address book to behave as Amaz0n with the primary swatch within the book listing and not just in edit... I posted to by blog about it, but looks like I forgot to post the code… well have to do that..
    Dave
    Always forward thinking... Lost my mind!

  9. #9
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: Address Book Entry - not saving when primary is selected

    The issue happens when someone went to the checkout page and continues shopping then goes to the account and changes there information. That is where the issue comes into play. Then you go back to checkout and its the old address

    Seems like lat9 has the same issue

  10. #10
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: Address Book Entry - not saving when primary is selected

    [QUOTE=chadlly2003;1347736]The issue happens when someone went to the checkout page and continues shopping then goes to the account and changes there information. That is where the issue comes into play. Then you go back to checkout and its the old address

    I also swapped out the header files and still the same result.

    It works on the initial checkout. But mentioned if you leave checkout page and go to my account and change information there that when the issue comes into play.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v155 Update Address Book Entry
    By mani in forum General Questions
    Replies: 1
    Last Post: 25 Dec 2016, 07:47 PM
  2. #1062 - Duplicate entry from Address Book when restoring
    By caesartrading in forum General Questions
    Replies: 1
    Last Post: 28 Jul 2011, 04:56 AM
  3. Update Address Book Entry- not updating
    By G33K-Chik in forum General Questions
    Replies: 11
    Last Post: 2 Apr 2009, 02:47 PM
  4. Replies: 8
    Last Post: 1 Apr 2009, 05:26 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR