Page 1 of 3 123 LastLast
Results 1 to 10 of 27
  1. #1

    application error Error adding new shipping address

    I'm really not sure when this problem started happening, but I'm guessing it happened when I upgraded to 1.3.7 a couple months ago. This is just the first time I've noticed it, and I'm not sure what to do to fix it. Basically, when a customer has created an account, and wants to create a new shipping address, after typing in all the relevant info and clicking Continue, the page reloads and says "You must select a country from the Countries pull down menu." and the Country drop-down is reset. So no one can create an additional shipping address. Has anyone else had this problem when upgrading to 1.3.7?

    thanks.

  2. #2
    Join Date
    Mar 2004
    Location
    Fort Collins, CO :: Play Hockey eh?!
    Posts
    64
    Plugin Contributions
    0

    Default Re: Error adding new shipping address

    FYI - I have the same problem.

    There is a similar problem with State selection.

    I'll do some forum searching and report back.

    Anybody?

  3. #3

    Default Re: Error adding new shipping address

    So, anyone besides me and Flash having this problem? Anyone know what needs to be done to correct it?

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Error adding new shipping address

    Sounds like either you do not have all of the new files loaded from v1.3.7 or that your templates are not up to date ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Feb 2005
    Location
    New Jersey
    Posts
    646
    Plugin Contributions
    0

    Default Re: Error adding new shipping address

    I'm having it too.
    Any idea which files would affect this so I can check them?


    Thanks,
    Kelly

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Error adding new shipping address

    There are a lot of files involved in the upgrade ...

    It could be any number of things ...

    You may wish to use Beyond Compare from scootersoftware.com which allows either a compare on your computer or via FTP to find what files are missing, different etc.
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Dec 2006
    Location
    Chicago, IL
    Posts
    149
    Plugin Contributions
    1

    Default Re: Error adding new shipping address

    I was having the exact same problem.

    Let me outling my problem. (Our store is not live yet.) I could create a new customer account without experiencing a loop (taking me back to select a country). However, as an existing customer I could not update my address when it was time for me to check out. What I also noticed is that in the area to edit the address the state selection was no longer a drop down menu as it was when the account was created.

    I narrowed it down to the tpl_modules_address_book_details.php.

    Disclaimer:
    PLEASE, PLEASE backup your site before you attempt my fix. I am using Zen Cart 1.3.7. I am not responsible for any site problems associated with this fix. It does work perfectly on my site. Again, please backup your site before you change your code to what I have changed my code to.

    Now, I present to you, my fix...

    BEFORE CODE IN THE TPL_MODULES_ADDRESS_BOOK_DETAILS.PHP FILE

    Code:
    <label class="inputLabel" for="country"><?php echo ENTRY_COUNTRY; ?></label>
    <?php echo zen_get_country_list('zone_country_id', $entry->fields['entry_country_id'], 'id="country" ' . ($flag_show_pulldown_states == true ? 'onchange="update_zone(this.form);"' : '')) . (zen_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="alert">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?>
    <br class="clearBoth" />
    AFTER CODE IN THE TPL_MODULES_ADDRESS_BOOK_DETAILS.PHP FILE
    Code:
    <label class="inputLabel" for="country"><?php echo ENTRY_COUNTRY; ?></label>
    <?php if ($process == true) $entry->fields['entry_country_id'] = (int)$_POST['country']; ?>
    <?php echo zen_get_country_list('zone_country_id', $entry->fields['entry_country_id'], 'id="country" ' . ($flag_show_pulldown_states == true ? 'onchange="update_zone(this.form);"' : '')) . (zen_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="alert">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?>
    <br class="clearBoth" />

    What I added is this line of code:

    Code:
    <?php if ($process == true) $entry->fields['entry_country_id'] = (int)$_POST['country']; ?>
    For me, now there is no longer a loop and now the state is a drop down menu as it should be per my backend settings.

    I hope that helps you and saves you time and energy. Please be so kind as to post your results.

    Remember...
    Disclaimer: PLEASE, PLEASE backup your site before you attempt my fix. I am using Zen Cart 1.3.7. I am not responsible for any site problems associated with this fix. It does work perfectly on my site. Again, please backup your site before you change your code to what I have changed my code to.
    [FONT=Palatino Linotype]Contribution Start:[/FONT]
    [FONT=Palatino Linotype]SHINE Live Help Sidebox[/FONT]

  8. #8
    Join Date
    Apr 2006
    Posts
    247
    Plugin Contributions
    0

    Default Re: Error adding new shipping address

    Quote Originally Posted by Rabbcon View Post
    I was having the exact same problem.

    Let me outling my problem. (Our store is not live yet.) I could create a new customer account without experiencing a loop (taking me back to select a country). However, as an existing customer I could not update my address when it was time for me to check out. What I also noticed is that in the area to edit the address the state selection was no longer a drop down menu as it was when the account was created.

    I narrowed it down to the tpl_modules_address_book_details.php.

    Disclaimer:
    PLEASE, PLEASE backup your site before you attempt my fix. I am using Zen Cart 1.3.7. I am not responsible for any site problems associated with this fix. It does work perfectly on my site. Again, please backup your site before you change your code to what I have changed my code to.

    Now, I present to you, my fix...

    BEFORE CODE IN THE TPL_MODULES_ADDRESS_BOOK_DETAILS.PHP FILE

    Code:
    <label class="inputLabel" for="country"><?php echo ENTRY_COUNTRY; ?></label>
    <?php echo zen_get_country_list('zone_country_id', $entry->fields['entry_country_id'], 'id="country" ' . ($flag_show_pulldown_states == true ? 'onchange="update_zone(this.form);"' : '')) . (zen_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="alert">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?>
    <br class="clearBoth" />
    AFTER CODE IN THE TPL_MODULES_ADDRESS_BOOK_DETAILS.PHP FILE
    Code:
    <label class="inputLabel" for="country"><?php echo ENTRY_COUNTRY; ?></label>
    <?php if ($process == true) $entry->fields['entry_country_id'] = (int)$_POST['country']; ?>
    <?php echo zen_get_country_list('zone_country_id', $entry->fields['entry_country_id'], 'id="country" ' . ($flag_show_pulldown_states == true ? 'onchange="update_zone(this.form);"' : '')) . (zen_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="alert">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?>
    <br class="clearBoth" />

    What I added is this line of code:

    Code:
    <?php if ($process == true) $entry->fields['entry_country_id'] = (int)$_POST['country']; ?>
    For me, now there is no longer a loop and now the state is a drop down menu as it should be per my backend settings.

    I hope that helps you and saves you time and energy. Please be so kind as to post your results.

    Remember...
    Disclaimer: PLEASE, PLEASE backup your site before you attempt my fix. I am using Zen Cart 1.3.7. I am not responsible for any site problems associated with this fix. It does work perfectly on my site. Again, please backup your site before you change your code to what I have changed my code to.
    anyone else tried this ?

    I am also having this problem with 1.37 and a template i bought off template monster.

  9. #9
    Join Date
    Apr 2006
    Posts
    247
    Plugin Contributions
    0

    Default Re: Error adding new shipping address

    i tried this fix with no luck : (

    still get this message when trying to change the shipping address at checkout.

    You must select a country from the Countries pull down menu

    didn't seem to hurt anything though.

    Using TemplateMonster template.

  10. #10
    Join Date
    Dec 2006
    Location
    Chicago, IL
    Posts
    149
    Plugin Contributions
    1

    Default Re: Error adding new shipping address

    Quote Originally Posted by snarkys View Post
    ... Using TemplateMonster template.
    I think that is your problem! I purchased a template from Template Monster and I had to do so much hacking to get it to work. I did not search the forums before to see that they are not good to get for ZenCart. They look ######## but they never work w/o heavy modification.

    I wish there was more I could offer you. I believe the fix is in those files I mentioned. It is just a matter of coding to get it right. You may want to use winmerge or beyond compare with the original Zen Cart 1.37 files but backup your files first.
    [FONT=Palatino Linotype]Contribution Start:[/FONT]
    [FONT=Palatino Linotype]SHINE Live Help Sidebox[/FONT]

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Adding a 2nd Shipping Address
    By Bidgee182 in forum Managing Customers and Orders
    Replies: 1
    Last Post: 14 Nov 2011, 06:19 AM
  2. Forwarding to Select shipping address after logging in or creating new address
    By bindaaz in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 28 Jan 2011, 12:54 PM
  3. Replies: 8
    Last Post: 1 Apr 2009, 05:26 PM
  4. Adding a new a info to the billing address
    By msaygilar in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 21 Mar 2007, 07:40 AM

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