Page 4 of 9 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 88
  1. #31
    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

  2. #32
    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!

  3. #33
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,903
    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.

  4. #34
    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...

  5. #35
    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

  6. #36
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,903
    Plugin Contributions
    96

    Default Re: Minimum Customer Account Information - Support Thread

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

  7. #37
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,903
    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.

  8. #38
    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
    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.
    You are a star Cindy, thank you so much, I will give that a go later. At last I'll be able to close the laptop without huffing

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

    Default Re: Minimum Customer Account Information - Support Thread

    Perfect!
    Thank you so much

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

    Default Re: Minimum Customer Account Information - Support Thread

    I'm back...
    all is well with this mod, thank you very much. However I have also installed phpBB notifier hook mod to the same test store, all works well thank you as new customers do generate forum accounts too as per your design.

    My question, is it possible to offer the nick name field as optional rather than required, as I'm sure that not all customers will want to join the store's forum by default.
    Thank you.

 

 
Page 4 of 9 FirstFirst ... 23456 ... LastLast

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