Page 14 of 20 FirstFirst ... 41213141516 ... LastLast
Results 131 to 140 of 198
  1. #131
    Join Date
    Sep 2012
    Location
    Anchorage, Alaska
    Posts
    5
    Plugin Contributions
    0

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

    Hello,

    I installed the module and sql statement, and all went well. Everything is in the admin, but I see no new fields in on the signup form. Also, there is no label for the STATE field. Anybody else have this problem? Thanks.

  2. #132
    Join Date
    Sep 2013
    Location
    Texas
    Posts
    315
    Plugin Contributions
    0

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

    Check the "Customer Details" setup in your Admin under the Configuration menu.

  3. #133
    Join Date
    Jul 2013
    Location
    Cluj, Romania
    Posts
    11
    Plugin Contributions
    0

    Idea or Suggestion Extra Fields for Customer Sign Up - to invoice.php and print_invoice.php?

    Hi,

    how can I add the extrafields to admin/invoice.php and to includes/modules/print_invoice.php?

    Thanks for the help!

  4. #134
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Extra Fields for Customer Sign Up - to invoice.php and print_invoice.php?

    Quote Originally Posted by Okkwebmedia View Post
    Hi,

    how can I add the extrafields to admin/invoice.php and to includes/modules/print_invoice.php?

    Thanks for the help!
    As long as the extrafields have been added to the db query you can add/echo the new fields in admin/orders.php to see it on the edit orders/invoice page. The same is true with the print invoice.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  5. #135
    Join Date
    Jan 2014
    Location
    San pablo, CA
    Posts
    19
    Plugin Contributions
    0

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

    Hi, I'm using Zen-cart 1.5.1 ver.

    Can I use it or no?
    Last edited by Park; 23 Jan 2014 at 02:32 AM.

  6. #136
    Join Date
    Sep 2013
    Location
    Texas
    Posts
    315
    Plugin Contributions
    0

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

    ZC 1.5.1 and "Extra Fields for customer sign up" "EXFCSU"
    This isn't exactly what you asked for but it may give you some ideas how to use EXFCSU for your purposes. I'm showing the core folders but you can apply this to your "Overrides" folders.
    In addition to the standard installation of EXFCSU this is how I expanded the EXF(s) to collect additional information in the registration form " create_account.php " & then add that information to the EXTRA_INFO in the admin copy of the registration sign up emails.

    In "includes\modules\create_account.php" around line 733

    $extra_info=email_collect_extra_info($name,$email_address, $account->fields['customers_firstname'] . ' ' . $account->fields['customers_lastname'], $account->fields['customers_email_address'], $account->fields['customers_telephone'], $account->fields['customers_fax'], $company, $extrafield, $extrafield2, $street_address, $suburb, $city, $state, $postcode, $extrafield4);
    =========================

    In "includes\languages\emglish\email_extras.php" around line 20

    define('OFFICE_USE','<strong>Office Use Only:</strong>');
    define('OFFICE_LOGIN_NAME','<strong>Login Name:</strong>');
    define('OFFICE_LOGIN_EMAIL','<strong>Email:</strong>');
    // Add company, extrafield, street address, city, state, zip, & extrafield2 defines
    define('OFFICE_COMPANY','<strong>Company Name:</strong>');
    define('OFFICE_EXTRAFIELD','<strong>Tax ID#:</strong>');
    define('OFFICE_STREET_ADDRESS','<strong>Street Address:</strong>');
    define('OFFICE_STREET_ADDRESS_LINE2','<strong>Address Line 2:</strong>');
    define('OFFICE_CITY','<strong>City:</strong>');
    define('OFFICE_STATE','<strong>State:</strong>');
    define('OFFICE_POSTCODE','<strong>Zip Code:</strong>');
    define('OFFICE_EXTRAFIELD2','<strong>Current Customer:</strong>');
    define('OFFICE_EXTRAFIELD4','<strong>My Store:</strong>');
    ====================

    In "\includes\functions\functions_email.php" around line 508
    I'm using HTML email but the same could be applied to TEXT emails.

    * Function to build array of additional email content collected and sent on admin-copies of emails:
    *
    */
    function email_collect_extra_info($from, $email_from, $login, $login_email, $login_phone='', $login_fax='', $company='', $extrafield='', $extrafield2='', $street_address='', $suburb='', $city='', $state='', $postcode='', $extrafield4='') {
    // get host_address from either session or one time for both email types to save server load
    if (!$_SESSION['customers_host_address']) {
    if (SESSION_IP_TO_HOST_ADDRESS == 'true') {
    $email_host_address = @gethostbyaddr($_SERVER['REMOTE_ADDR']);
    } else {
    $email_host_address = OFFICE_IP_TO_HOST_ADDRESS;
    }
    } else {
    $email_host_address = $_SESSION['customers_host_address'];
    }

    // generate footer details for "also-send-to" emails
    $extra_info=array();
    $extra_info['TEXT'] =
    OFFICE_USE . "\t" . "\n" .
    OFFICE_FROM . "\t" . $from . "\n" .
    OFFICE_EMAIL. "\t" . $email_from . "\n" .
    (trim($login) !='' ? OFFICE_LOGIN_NAME . "\t" . $login . "\n" : '') .
    (trim($login_email) !='' ? OFFICE_LOGIN_EMAIL . "\t" . $login_email . "\n" : '') .
    ($login_phone !='' ? OFFICE_LOGIN_PHONE . "\t" . $login_phone . "\n" : '') .
    ($login_fax !='' ? OFFICE_LOGIN_FAX . "\t" . $login_fax . "\n" : '') .
    OFFICE_IP_ADDRESS . "\t" . $_SESSION['customers_ip_address'] . ' - ' . $_SERVER['REMOTE_ADDR'] . "\n" .
    OFFICE_HOST_ADDRESS . "\t" . $email_host_address . "\n" .
    OFFICE_DATE_TIME . "\t" . date("D M j Y G:i:s T") . "\n\n";

    // LtoMod Add company, extrafield, street address, city, state, zip, & extrafield2
    $extra_info['HTML'] = '<table width="100%" class="extra-info">' .
    '<tr><td class="extra-info-bold" colspan="2">' . OFFICE_USE . '</td></tr>' .
    '<tr><td width="20%" class="extra-info-bold">' . OFFICE_FROM . '</td><td>' . $from . '</td></tr>' .
    //'<tr><td class="extra-info-bold">' . OFFICE_EMAIL. '</td><td>' . $email_from . '</td></tr>' .
    ($login_email !='' ? '<tr><td class="extra-info-bold">' . OFFICE_LOGIN_EMAIL . '</td><td>' . $login_email . '</td></tr>' : '') .
    ($login !='' ? '<tr><td class="extra-info-bold">' . OFFICE_LOGIN_NAME . '</td><td>' . $login . '</td></tr>' : '') .
    ($company != '' ? '<tr><td class="extra-info-bold">' . OFFICE_COMPANY . '</td><td>' . $company . '</td></tr>' : '') .
    ($extrafield != '' ? '<tr><td class="extra-info-bold">' . OFFICE_EXTRAFIELD . '</td><td>' . $extrafield . '</td></tr>' : '') .
    ($street_address != '' ? '<tr><td class="extra-info-bold">' . OFFICE_STREET_ADDRESS . '</td><td>' . $street_address . '</td></tr>' : '') .
    ($suburb != '' ? '<tr><td class="extra-info-bold">' . OFFICE_STREET_ADDRESS_LINE2 . '</td><td>' . $suburb . '</td></tr>' : '') .
    ($city != '' ?'<tr><td class="extra-info-bold">' . OFFICE_CITY . '</td><td>' . $city . '</td></tr>' : '') .
    ($state != '' ? '<tr><td class="extra-info-bold">' . OFFICE_STATE . '</td><td>' . $state . '</td></tr>' : '') .
    ($postcode != '' ? '<tr><td class="extra-info-bold">' . OFFICE_POSTCODE . '</td><td>' . $postcode . '</td></tr>' : '') .
    ($login_phone !='' ? '<tr><td class="extra-info-bold">' . OFFICE_LOGIN_PHONE . '</td><td>' . $login_phone . '</td></tr>' : '') .
    ($login_fax !='' ? '<tr><td class="extra-info-bold">' . OFFICE_LOGIN_FAX . '</td><td>' . $login_fax . '</td></tr>' : '') .
    ($extrafield2 != '' ? '<tr><td width="20%" class="extra-info-bold">' . OFFICE_EXTRAFIELD2 . '</td><td>' . $extrafield2 . '</td></tr>' : '') .
    ($extrafield4 != '' ? '<tr><td class="extra-info-bold">' . OFFICE_EXTRAFIELD4 . '</td><td>' . $extrafield4 . '</td></tr>' : '') .
    '<tr><td class="extra-info-bold">' . "&nbsp;" . '</td><td>' . "&nbsp;" . '</td></tr>' .
    '<tr><td class="extra-info-bold">' . OFFICE_IP_ADDRESS . '</td><td>' . $_SESSION['customers_ip_address'] . ' - ' . $_SERVER['REMOTE_ADDR'] . '</td></tr>' .
    '<tr><td class="extra-info-bold">' . OFFICE_HOST_ADDRESS . '</td><td>' . $email_host_address . '</td></tr>' .
    '<tr><td class="extra-info-bold">' . OFFICE_DATE_TIME . '</td><td>' . date('D M j Y G:i:s T') . '</td></tr>' . '</table>';
    return $extra_info;
    }

  7. #137
    Join Date
    Mar 2014
    Location
    US
    Posts
    4
    Plugin Contributions
    0

    Default Extra fields not showing up on create account page

    I installed your add on, but the extra fields are not showing up on the create account page or in the customer's "My Account" page. They do, however, show up in the Admin > Configuration > Customer Details section as "Display Extra Field #1", etc.

    I tried to follow instructions carefully, but apparently missed something. Any help would be appreciated. I'm using version 1.3.9. Thank you in advance.
    Last edited by johninreno; 27 Mar 2014 at 06:21 PM.

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

    Default Re: Extra fields not showing up on create account page

    @johninreno, sounds like you may have missed one of the installation steps.

    Did you:

    2. Change the name of /YOUR_TEMPLATE/ folders to the name of your template folder

    3. Open the 2 language files and define the names of your new field(s):
    /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

  9. #139
    Join Date
    Mar 2014
    Location
    US
    Posts
    4
    Plugin Contributions
    0

    Default Re: Extra fields not showing up on create account page

    Thank you for your quick reply, Jackie. I put the changes I made inside your response, as shown below.

    Quote Originally Posted by jackie.taferner View Post
    @johninreno, sounds like you may have missed one of the installation steps.

    Did you:

    2. Change the name of /YOUR_TEMPLATE/ folders to the name of your template folder
    Yes, changed the /YOUR_TEMPLATE/ folders to blue_sky

    3. Open the 2 language files and define the names of your new field(s):
    Yes, changed as shown:
    /includes/languages/english/extra_definitions/extrafield_defines.php
    define('EXTRAFIELD_TITLE', 'Company Details');

    define('ENTRY_EXTRAFIELD', 'Reseller License #:');
    define('ENTRY_EXTRAFIELD_ERROR', 'Please Enter Reseller License #:');

    define('ENTRY_EXTRAFIELD2', 'Reseller State:');
    define('ENTRY_EXTRAFIELD2_ERROR', 'Please Enter Reseller State:');

    /admin/includes/languages/english/customers.php
    Yes, changed as shown:
    //start extrafield
    define('ENTRY_EXTRAFIELD', 'Reseller License #:');
    define('ENTRY_EXTRAFIELD2', 'Reseller State:');
    define('ENTRY_EXTRAFIELD3', 'Field #3:');
    define('ENTRY_EXTRAFIELD4', 'Comments:');
    //end extrafield

    4. Upload all contents to your main Zen Cart store directory
    Just to be sure, should I upload the entire Zen Cart store directory or just the "extra_field_on_customer_sign_up_2-0" directory?

  10. #140
    Join Date
    Dec 2013
    Location
    Columbia, SC
    Posts
    3
    Plugin Contributions
    0

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

    Using Zen Cart Version 1.5.1 Does this plugin work for this version? Also, which customer database(s) are the four new fields being added to?

 

 
Page 14 of 20 FirstFirst ... 41213141516 ... 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