Results 1 to 10 of 88

Hybrid View

  1. #1
    Join Date
    Jan 2013
    Location
    Eustis, Florida, United States
    Posts
    84
    Plugin Contributions
    0

    Default Re: Minimum Customer Account Information - Support Thread

    I am also seeing the text below with a red border when I try to register. The address fields are not showing but I get the following error.

    Error Your Street Address must contain a minimum of 5 characters.
    Error Your City must contain a minimum of 2 characters.
    Error Your State must contain a minimum of 2 characters.
    Error Your Post/ZIP Code must contain a minimum of 4 characters.
    Error You must select a country from the Countries pull down menu.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

    Default Re: Minimum Customer Account Information - Support Thread

    Quote Originally Posted by DeeL View Post
    I am also seeing the text below with a red border when I try to register. The address fields are not showing but I get the following error.

    Error Your Street Address must contain a minimum of 5 characters.
    Error Your City must contain a minimum of 2 characters.
    Error Your State must contain a minimum of 2 characters.
    Error Your Post/ZIP Code must contain a minimum of 4 characters.
    Error You must select a country from the Countries pull down menu.
    The presence of these errors suggests to me that you didn't rename the /includes/modules/YOUR_TEMPLATE directory to reflect your custom template's name. Those errors are not issued if that file from the zipped release file is present.

  3. #3
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Minimum Customer Account Information - Support Thread

    ok I give up...

    I have installed (locally) this excellent mod as it's exactly what I will be needing once live.
    However when I create an account/attempt test purchases when I click on confirm I get the warning:

    Update Address Book Entry
    Error Sorry, but we no longer accept billing or shipping addresses in . Please update this address to continue.

    I have triple checked that I have the file/folder structure correct. All my prods are virtual and I have set my store in accordance with your readme.

    Could you give me a few pointers please, perhaps how/where/with which file(s) the mod notifies the database that no further details are required before purchasing.

    thank you in advance.
    Last edited by picandnix; 1 Feb 2013 at 01:24 AM. Reason: forgot my manners

  4. #4
    Join Date
    Jan 2013
    Location
    Eustis, Florida, United States
    Posts
    84
    Plugin Contributions
    0

    Default Re: Minimum Customer Account Information - Support Thread

    Thanks. There were about 5 or so folders I had to rename to the template name. All looking good now. THANKS!

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

    Default Re: Minimum Customer Account Information - Support Thread

    Quote Originally Posted by picandnix View Post
    ok I give up...

    I have installed (locally) this excellent mod as it's exactly what I will be needing once live.
    However when I create an account/attempt test purchases when I click on confirm I get the warning:

    Update Address Book Entry
    Error Sorry, but we no longer accept billing or shipping addresses in . Please update this address to continue.

    I have triple checked that I have the file/folder structure correct. All my prods are virtual and I have set my store in accordance with your readme.

    Could you give me a few pointers please, perhaps how/where/with which file(s) the mod notifies the database that no further details are required before purchasing.

    thank you in advance.
    What payment processor are you using? When I submitted your error message to my admin's "Developers Tool Kit" I didn't get any matches.

  6. #6
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Minimum Customer Account Information - Support Thread

    Quote Originally Posted by lat9 View Post
    What payment processor are you using? When I submitted your error message to my admin's "Developers Tool Kit" I didn't get any matches.
    Thank you for looking into it for me.
    I've tried COD, check, PayPal express but still get same results.
    I'll put same into my tool kit a mo and post back...

  7. #7
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Minimum Customer Account Information - Support Thread

    Aha...
    that warning message comes from a certain mod called Selectable Countries
    why would I have that mod in a store being used for downloads you ask? I am using a base installation of ZC that I installed the general mods I planned to use before I decided to go down the road of download only.

    Do you think there could be a fix or should I just uninstall Selectable Countries and hope that resolves?
    Thank you again

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

    Default Re: Minimum Customer Account Information - Support Thread

    Well, since I "own" that one too ... I'll give it a look.

  9. #9
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

    Default Re: Minimum Customer Account Information - Support Thread

    Here you go ... I'll update the Selectable Countries to contain these changes to /includes/init_includes/init_country_check.php:
    Code:
    <?php
    /*-----
    ** Add flag, either 'true' or 'false' to indicate whether or not a country is included for the store's customer addresses.
    */
    if (!defined('ACCOUNT_COUNTRY')) define('ACCOUNT_COUNTRY', 'true');
    
    /*-----
    ** If a customer is logged in, check to see that the customers' address(es) still contain valid countries.
    ** If not, redirect to the address-book page for changes.
    */
    if (ACCOUNT_COUNTRY == 'true' && $_SESSION['customer_id'] && $_GET['main_page'] != FILENAME_ADDRESS_BOOK_PROCESS && $_GET['main_page'] != FILENAME_LOGOFF) {
      $addresses_query = "SELECT address_book_id, entry_country_id as country_id, entry_firstname as firstname, entry_lastname as lastname
                          FROM   " . TABLE_ADDRESS_BOOK . "
                          WHERE  customers_id = :customersID
                          ORDER BY firstname, lastname";
    
      $addresses_query = $db->bindVars($addresses_query, ':customersID', $_SESSION['customer_id'], 'integer');
      $addresses = $db->Execute($addresses_query);
      
      while (!$addresses->EOF) {
        if (!is_country_active ($addresses->fields['country_id'])) {
          $messageStack->add_session('addressbook', sprintf(SELECTABLE_COUNTRIES_UPDATE, get_country_name($addresses->fields['country_id'])), 'error');
          zen_redirect (zen_href_link(FILENAME_ADDRESS_BOOK_PROCESS, 'edit=' . $addresses->fields['address_book_id'], 'SSL'));
        }
        $addresses->MoveNext();
      }
    }
    ?>
    For your case, you'd want to set the define's value to 'false'. I'll also make a future update to "Minimum Customer Account Information" to use the same define to control whether/not the country dropdown is required for the customer's account.

 

 

Similar Threads

  1. Replies: 3
    Last Post: 13 Feb 2018, 06:51 PM
  2. v150 Admin New Customer [Support Thread]
    By lhungil in forum All Other Contributions/Addons
    Replies: 34
    Last Post: 4 Nov 2016, 06:20 AM
  3. v150 Minimum per Category Support Thread
    By purelypoultry in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 22 Dec 2014, 07:47 PM
  4. v153 Customer Information, credit accounts, paying down account.
    By CCMall in forum Managing Customers and Orders
    Replies: 1
    Last Post: 24 Oct 2014, 03:20 AM
  5. Customer Information and Account Creation Email
    By dcbennion in forum Customization from the Admin
    Replies: 2
    Last Post: 15 Jan 2008, 03:15 PM

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