Page 3 of 18 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 177
  1. #21
    Join Date
    Jan 2011
    Location
    US
    Posts
    37
    Plugin Contributions
    0

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

    Awesome, that worked. THANK YOU THANK YOU....
    Last edited by Cyndi; 4 Feb 2011 at 01:11 AM.

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

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

    You're welcome!

  3. #23
    Join Date
    Jun 2008
    Posts
    23
    Plugin Contributions
    0

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

    Hi Jackie

    I have just installed the module on v1.3.9g store and it is working fine. My question is though how can I change this field to a yes / no field. I need a question like rural delivery - yes/no as my extra field.

    Do I just need to change the field in the database or will it require other changes too. Thanks

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

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

    You will need to edit /includes/templates/YOUR_TEMPLATE/templates/tpl_modules_create_account.php

    Just find this code:
    Code:
    <?php echo zen_draw_input_field('extrafield', '', 'id="extrafield"') . (zen_not_null(ENTRY_EXTRAFIELD_TEXT) ? '<span class="alert">' . ENTRY_EXTRAFIELD_TEXT . '</span>': ''); ?>

    And replace with this:
    Code:
    <?php echo zen_draw_radio_field('extrafield', 'yes', '', 'id="extrafield-yes"') . '<label class="radioButtonLabel" for="extrafield-yes">Yes</label>' . zen_draw_radio_field('extrafield', 'no', '', 'id="extrafield-no"') . '<label class="radioButtonLabel" for="extrafield-no">No</label>' . (zen_not_null(ENTRY_EXTRAFIELD_TEXT) ? '<span class="alert">' . ENTRY_EXTRAFIELD_TEXT . '</span>': ''); ?>
    I did not test it, but I *think* it should work.

    You can do a similar edit in the tpl_account_edit_default.php file, so your customers see the same radio button on their My Account page.

  5. #25
    Join Date
    Jun 2008
    Posts
    23
    Plugin Contributions
    0

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

    Hi Jackie

    Got the radio buttons showing up at sign up and on the account edit screen thank you. Unfortunately the buttons don't retain the setting. When I go into the account after creating a new one the radio buttons are there but neither are turned on.

    Also I am not sure of what exactly I put in the phpmyadmin to change the customers table. I know I need to change the customers_extrafield but not sure what to replace it with. I have limited knowledge of mysql and I couldn't find the answer on the internet

    thanks for your time

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

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

    Your best bet will be to compare the salutation or gender button on the Account Signup page. If you use the same technique, you should be abel to get the same results with the Yes/No button.

  7. #27
    Join Date
    Mar 2009
    Posts
    1
    Plugin Contributions
    0

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

    Is there a way to make the field a non required field? I noticed it shows up as a required field and I'm using the field so Affilliates can enter their registration number to qualify for a group discount. All of the customers are not affilliate members so if they're not I'd like them not to have to put something in this field. Thanks in advance!

    EDIT---
    Never mind! I found it in the extrafield_defines.php file!
    Last edited by ofincorp; 16 Feb 2011 at 01:09 AM. Reason: Found my answer

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

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

    You can make the field required or turn it on/off in Admin > Configuration > Customer Details

  9. #29
    Join Date
    Mar 2010
    Location
    New York
    Posts
    10
    Plugin Contributions
    0

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

    Hi. I am using 1.3.9h and am trying to install the Extra fields. It doesn't seem to be working. I believe that I followed the instructions properly but nothing is showing up. One thing that I noticed is that I have a mandatory field below the "country" field with a blank heading. This should probably be the "state" field. Could this mod have caused this? I can see this causing problems when someone tries to sign up. Please help.

    My site is www.longfellowscoffee.com.

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

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

    Please try installation again, make sure you do ALL the steps!

    ================= INSTALLATION =====================

    1. BACKUP BACKUP BACKUP. (cant say it enough :)

    2. Change the name of /YOUR_TEMPLATE/ folders to the name of your template folder (see above for list of files)

    3. Open the 2 language files and define the names of your new field:
    /includes/languages/english/extra_definitions/extrafield_defines.php
    /admin/includes/languages/english/customers.php

    4. Upload all contents to your main Zen Cart store directory

    5. Go to Admin > Tools > Install SQL Patches, and paste the content of the install.sql file

 

 
Page 3 of 18 FirstFirst 1234513 ... 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