Page 7 of 14 FirstFirst ... 56789 ... LastLast
Results 61 to 70 of 138
  1. #61
    Join Date
    Oct 2008
    Posts
    48
    Plugin Contributions
    0

    help question Re: Add a field into create account

    has anyone got information how to add a dropdown list for references (where they heard about us) into the login section?
    Tharina

  2. #62
    Join Date
    Dec 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: Add a field into create account

    I followed all the the suggested steps and all works, except when creating an account for the first time, a user receives this error when submitting their login info.

    1062 Duplicate entry '2' for key 1
    in:
    [insert into customers_info (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created) values ('2', '0', now())]

    They still get an account, and everything saves to the database, but it doesnt transfer them to the confirmation page.

    Any ideas how to fix this?

  3. #63
    Join Date
    Dec 2008
    Location
    Uk
    Posts
    79
    Plugin Contributions
    0

    Default Re: Add a field into create account - Possible Solution!

    Hi, after going over and over this I still can't seem to get it up and running. So I was wondering. If someone who has this Add field thing up and running on their site, could they post up for download the pages they updated to make it work with just one added field "With Comments like /* Add Additional Field Here */ ", so I and probably quite a few others can simply add as many fields to it as we like following the added code as a guide, and it would still work when uploaded to our sites.

    Could this be a possibility.

    Cheers
    J#xx
    (Scott Perry)

  4. #64
    Join Date
    Oct 2008
    Posts
    48
    Plugin Contributions
    0

    Default Re: Add a field into create account

    I added my old client database through phpadmin and now it shows this error messages above my customer panel in admin.

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/evergree/public_html/shop/admin/customers.php on line 1155

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/evergree/public_html/shop/admin/customers.php on line 1157

    Warning: reset() [function.reset]: Passed variable is not an array or object in /home/evergree/public_html/shop/admin/includes/classes/object_info.php on line 29

    Warning: Variable passed to each() is not an array or object in /home/evergree/public_html/shop/admin/includes/classes/object_info.php on line 30

    any ideas what I must do to fix it?
    Tharina

  5. #65
    Join Date
    Oct 2006
    Posts
    19
    Plugin Contributions
    0

    Default Re: Add a field into create account

    Hi and thanks to those who share their knowledge...

    Could some one help me out to include this taxid field in the order email and to print.

    Thanks in advance.

  6. #66
    Join Date
    Nov 2008
    Location
    Pacific Northwest
    Posts
    40
    Plugin Contributions
    0

    Default Re: Add a field into create account

    Thanks for sharing. I created a different type of field, but this thread gave me a good idea of what needed to be edited.

  7. #67
    Join Date
    Feb 2009
    Location
    Sydney, Australia
    Posts
    43
    Plugin Contributions
    0

    Default Re: Add a field into create account

    Great post!

    I'm sorry but this is probably a really stupid question.

    How do I just echo the data from the customers table, without an editable field?

    Thanks

  8. #68
    Join Date
    Jan 2009
    Posts
    28
    Plugin Contributions
    0

    Default Re: Add a field into create account

    I have been right through all the instrcutions on this thread and still stumped. I am trying to add a field to allow customer to enter thier website address.
    When I get to

    9. Now open file: includes/templates/YOURTEMPLATE/templates/tpl_modules_create_account.php

    9a. Now search for the following code:

    <?php
    if (ACCOUNT_FAX_NUMBER == 'true') {
    ?>
    <br class="clearBoth" />
    <label class="inputLabel" for="fax"><?php echo ENTRY_FAX_NUMBER; ?></label>
    <?php echo zen_draw_input_field('fax', $account->fields['customers_fax'], 'id="fax"') . (zen_not_null(ENTRY_FAX_NUMBER_TEXT) ? '<span class="alert">' . ENTRY_FAX_NUMBER_TEXT . '</span>': ''); ?>
    <?php
    }
    ?>

    I open the file and find the above section but it is slightly different to what I have. This is not in my file
    $account->fields['customers_fax'],

    So I tried entering

    <br class="clearBoth" />
    <label class="inputLabel" for="website"><?php echo ENTRY_WEBSITE_NUMBER; ?></label>
    <?php echo zen_draw_input_field('website', ' ','id="website"') . (zen_not_null(ENTRY_WESITE_NUMBER_TEXT) ? '<span class="alert">' . ENTRY_WEBSITE_NUMBER_TEXT . '</span>': ''); ?>
    <?php
    }
    ?>

    And if I make the changes as suggested then view the page /index.php?main_page=login The ID and Password fields are still there , but everything else has gone.

    help, please

  9. #69
    Join Date
    Nov 2005
    Posts
    51
    Plugin Contributions
    0

    Default Re: Add a field into create account

    I followed the instruction below, everthing works fine EXCEPT
    when I edit any of the newely added customer info from ADMIN panel,
    then all the customer info is gone, except the one in zencart default customer field.

    Do I miss something? Anybody have same problem as me. Please help!

    thanks in advance,,



    Quote Originally Posted by Tharina View Post
    word doc did not upload sorry
    I replaced taxid with cellphone, children, children_ages and occupation.

  10. #70
    Join Date
    Jan 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: Add a field into create account

    Works like a charm. Added 2 fields, they populate the database. How do I get them in to show up in invoice???

 

 
Page 7 of 14 FirstFirst ... 56789 ... LastLast

Similar Threads

  1. How do I add a custom pulldown field to create account page?
    By margarita in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 May 2008, 07:48 PM
  2. add a field to "create account"
    By bobio in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Jan 2008, 07:35 AM
  3. Create account Form field allign
    By manfer72 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Jan 2008, 12:01 AM
  4. Create a requested field in registration account
    By rosponina in forum Managing Customers and Orders
    Replies: 6
    Last Post: 31 Jul 2006, 09:15 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