Results 1 to 10 of 88

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Posts
    43
    Plugin Contributions
    0

    Default Re: Minimum Customer Account Information - Support Thread

    Hi lat9,

    No problem, thanks for the reply!

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

    Default Re: Minimum Customer Account Information - Support Thread

    I've submitted v1.2.0 to the Plugins area; it should be available for download in a couple of days:

    1. Restore the already optional "Gender", "Company", "Date of Birth" and "Fax" fields to the minimum customer information collected. Your store's minimum information will now include these values based on the settings in your admin's Configuration->Customer Details.
    2. Moved additional language defines from /languages/YOUR_TEMPLATE/english.php to /languages/english/extra_definitions/YOUR_TEMPLATE/minacct.php.
    3. BUGFIX: Modification to login page's on_load_main.js since the State/Zone portion of create_account is no longer there.
    4. BUGFIX: The customer's checkout email still included references to shipping and the address information in the email was improperly formatted. Change required to functions_customers.php, to modify the address formatted in a customer's checkout email and to the checkout email template itself.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,925
    Plugin Contributions
    96

    Default Re: Minimum Customer Account Information - Support Thread

    v1.2.0 is now available in the Plugins area ...

  4. #4
    Join Date
    Aug 2009
    Posts
    43
    Plugin Contributions
    0

    Default Re: Minimum Customer Account Information - Support Thread

    Thanks lat9 working great!

    Pascal

  5. #5
    Join Date
    Mar 2010
    Posts
    30
    Plugin Contributions
    0

    Default Re: Minimum Customer Account Information - Support Thread

    Hi,
    Thanks for this mod, it has prompted me to upgrade my site from 1.3.9 to 1.5.1 (I broke it doing that)
    Site logon page is here http://www.railworks.marleyman.co.uk...ain_page=login
    I do seem to have two issues though;
    One, I cannot disable the Telephone Number Field. There is not an option in my 'Configuration-Customer Fields' for Telephone. Now, that could be the Template I am using but I thought I would stop by here first and say thanks for the mod and can you check these errors for me. So here I am.

    I am using Aberdeen Neutral Template and will contact that author if you cannot help.

    The second issue is next to the e-mail box. It has the following text; 'ENTRY_EMAIL_ADDRESS_CONFIRM' before the box and 'ENTRY_EMAIL_ADDRESS_CONFIRM_TEXT' after the box.
    Hopefully you can see that when you navigate to the login page.

    Any ideas how to disable the phone number and correct that text please?

  6. #6
    Join Date
    Mar 2010
    Posts
    30
    Plugin Contributions
    0

    Default Re: Minimum Customer Account Information - Support Thread

    I should also say I am using version 1.2.0.

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,925
    Plugin Contributions
    96

    Default Re: Minimum Customer Account Information - Support Thread

    1) You cannot currently disable the Telephone Number field, but you can make it optional. To make it optional, go to your admin's Configuration->Minimum Values and set the Telephone Number field to 0. Then, edit /includes/languages/YOUR_TEMPLATE/english.php to change
    Code:
      define('ENTRY_TELEPHONE_NUMBER_TEXT', '*');
    to
    Code:
      define('ENTRY_TELEPHONE_NUMBER_TEXT', '');
    If you really don't want the Telephone Number field to display, you can edit /includes/templates/YOUR_TEMPLATE/templates/tpl_modules_create_account.php (starting at line 129 in the version associated with the plugin) to delete the lines marked in red:
    Code:
    <fieldset>
    <legend><?php echo TABLE_HEADING_PHONE_FAX_DETAILS; ?></legend>
      -eof-d-minacct */
    ?>
    <hr />
    <label class="inputLabel" for="telephone"><?php echo ENTRY_TELEPHONE_NUMBER; ?></label>
    <?php echo zen_draw_input_field('telephone', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_telephone', '40') . ' id="telephone"') . (zen_not_null(ENTRY_TELEPHONE_NUMBER_TEXT) ? '<span class="alert">' . ENTRY_TELEPHONE_NUMBER_TEXT . '</span>': ''); ?>
    <br class="clearBoth" />
    <hr />
    <?php
    
    /*-bof-d-minacct
      if (ACCOUNT_FAX_NUMBER == 'true') {
    ?>
    <br class="clearBoth" />
    <label class="inputLabel" for="fax"><?php echo ENTRY_FAX_NUMBER; ?></label>
    The removal of those two lines keeps the base code but extends the min-acct comments to comment-out the lines associated with the Telephone Number's display.

    2) The presence of ENTRY_EMAIL_ADDRESS_CONFIRM and ENTRY_EMAIL_ADDRESS_CONFIRM_TEXT imply to me that you didn't rename the directory /includes/languages/YOUR_TEMPLATE before you copied the plugin's files to your installation. That directory holds the override version of the english.php file which holds those defines.

  8. #8
    Join Date
    Mar 2010
    Posts
    30
    Plugin Contributions
    0

    Default Re: Minimum Customer Account Information - Support Thread

    OK, resolved the odd bit of text. Thank you very much for the clue. It was this directory;

    \includes\languages\english\extra_definitions\YOUR_TEMPLATE that required updating. I clearly did not look deep enough into the directory structure for Template folders.

    I will modify the telephone number part later and I appreciate very much your advice on that part too. My 'store' really is just a Free Download Site so I don't want any more info from a user than absolutely necessary.

    Kind regards,
    Marleyman

 

 

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