Page 9 of 20 FirstFirst ... 789101119 ... LastLast
Results 81 to 90 of 198
  1. #81
    Join Date
    Sep 2011
    Posts
    27
    Plugin Contributions
    0

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    Hi,

    This is probably pretty easy, but then again I'm not very bright. I want to change the labels in the EXTRA FIELDS section to read something other than Field #1:, Field #2:, etc. Which files, and variables do I need to modify?

  2. #82

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    Hi Jackie, how can I make the extra fields read only? I would like show details of the extra fields in the account edit but cannot be edited. Thank you.

  3. #83
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    Sorry to all for my unavailability. I will do my best to check into the forum a little more often. I'll answer the last two questions, and if anyone else still needs help please let me know.

    @lafaverp:
    The field names are located in /includes/languages/engligh/extra_definitions/extrafield_defines.php

    @Defanci:
    In the following file: /includes/templates/YOUR_TEMPLATE/templates/tpl_account_edit_default.php

    Find the following code:
    Code:
    <!-- start extrafield -->
    <label class="inputLabel" for="extrafield"><?php echo ENTRY_EXTRAFIELD; ?></label>
    <?php echo zen_draw_input_field('extrafield', $account->fields['customers_extrafield'], 'id="extrafield"') . (zen_not_null(ENTRY_EXTRAFIELD_TEXT) ? '<span class="alert">' . ENTRY_EXTRAFIELD_TEXT . '</span>': ''); ?>
    <br class="clearBoth" />
    <!-- end extrafield -->
    And replace with this:
    Code:
    <!-- start extrafield -->
    <label class="inputLabel" for="extrafield"><?php echo ENTRY_EXTRAFIELD; ?></label>
    <?php echo zen_draw_input_field('extrafield', $account->fields['customers_extrafield'], 'id="extrafield" readonly="readonly"') . (zen_not_null(ENTRY_EXTRAFIELD_TEXT) ? '<span class="alert">' . ENTRY_EXTRAFIELD_TEXT . '</span>': ''); ?>
    <br class="clearBoth" />
    <!-- end extrafield -->
    An alternative would be to display just the text, instead of an input field:
    Code:
    <!-- start extrafield -->
    <label class="inputLabel" for="extrafield"><?php echo ENTRY_EXTRAFIELD; ?></label>
    <?php echo $account->fields['customers_extrafield']; ?>
    <br class="clearBoth" />
    <!-- end extrafield -->

  4. #84

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    It works, thank you.

  5. #85
    Join Date
    Jun 2010
    Posts
    25
    Plugin Contributions
    0

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    I have an odd problem. I've been running the module for a few months and it's been working fine, but the past couple of weeks the required additional fields for some customers are blank in my database and in admin. I've tried to duplicate the problem but can't. I've tried to create an account in 5 different browsers and each one won't let me create an account without entering data in the required additional fields. When I enter the data and create the account the information shows in my admin just like it is supposed to. However some customers are creating accounts without having to enter that information or it's not storing it, but it isn't every customer. Can anyone point me in the direction of where to start?

    Zen Cart v1.3.9h
    Extra Field on Customer Sign Up Version: 1.0

    Thanks,
    Cindy

  6. #86
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    The required field functionality is based on Javascript. So if a user has Javascript turned off, or if they're a robot (ie. Googlebot or spambot), then they may be able to surpass the required fields.

    In the future, we may build required fields into the PHP validation like the default Zen Cart fields, but it's not on the to-do list in the immediate future.

    But, rest assured that your customer's information isn't being lost; they just aren't entering the info.

  7. #87
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    978
    Plugin Contributions
    6

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    To make this mod compatible with php5.3+, I consider the following is all that needs to be changed.

    admin\customers.php

    Line 78

    Code:
              if ((int)CUSTOMERS_APPROVAL_AUTHORIZATION > 0 && (int)$_GET['current'] > 0 && $custinfo->RecordCount() > 0) {
    change to

    Code:
                if ((int)CUSTOMERS_APPROVAL_AUTHORIZATION > 0 && (int)$_POST['current'] > 0 && $custinfo->RecordCount() > 0) {
    However, if someone could please confirm.

  8. #88

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    Is it at all possible to merge this plugin with the Minimum Customer Account Information plugin? My shop currently offers virtual goods only, which makes the MCAI plugin valuable, but doesn't offer a way to require custom account details as this plugin does.

  9. #89
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    Yes, it is possible to merge the two plugins. Use a program such as WinMerge to determine the file differences, then copy one plugin's code into the other then upload to your server.

  10. #90
    Join Date
    Apr 2007
    Location
    Dayton, Ohio
    Posts
    682
    Plugin Contributions
    0

    Default Re: Extra Fields for Customer Sign Up (Create Account) Page

    If you would like to add your extra field definitions to your order e-mails, you can follow this thread here:
    http://www.zen-cart.com/showthread.p...nd-orders-area

    The solution will be toward the end of the thread.

    I was not able to solve adding the extra fields to the shipping information on each order page. At least now, I am able to have my extra fields display on every order e-mail which is what I was looking for. Hope this helps others.

 

 
Page 9 of 20 FirstFirst ... 789101119 ... LastLast

Similar Threads

  1. v150 additional create account fields for wholesale customer
    By newbieOK in forum General Questions
    Replies: 2
    Last Post: 23 Aug 2012, 04:17 AM
  2. Extra Fields for Customer Sign Up
    By divagal in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 31 Jan 2012, 11:51 PM
  3. Create Account - modify existing fields or add extra fields?
    By sopretty in forum General Questions
    Replies: 4
    Last Post: 30 Jul 2010, 08:26 PM
  4. Extra Box on Account Sign-up Page
    By paulssports in forum General Questions
    Replies: 6
    Last Post: 1 Dec 2006, 05:50 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