Zen Cart Logo
Forums / All Other Contributions/Addons / Additional Customers Fields

Additional Customers Fields

Locked

Views: 88,141

Results 401 to 420 of 491
This thread is locked. New replies are disabled.
3 Jul 2007, 6:55 PM
#401
simetra avatar

simetra

Zen Follower

Join Date:
Mar 2005
Posts:
167
Plugin Contributions:
0

Additional Customers Fields

I am having a serious issue and ANY help is greatly appreciated!! I installed this mod but now when I go into my customers in zen admin and try to delete or edit any of them I get the following error:

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

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

I don't know how to fix this please help!!!!

Thanks,
M E

3 Jul 2007, 7:15 PM
#402
simetra avatar

simetra

Zen Follower

Join Date:
Mar 2005
Posts:
167
Plugin Contributions:
0

Re: Additional Customers Fields

Also, as an additional note when I click edit on my customers all the fields are blank...all I have is their name now...

3 Jul 2007, 8:54 PM
#403
creative avatar

creative

New Zenner

Join Date:
Jul 2005
Posts:
85
Plugin Contributions:
0

Re: Additional Customers Fields

Hello Oracle,

I've updated all my files and took another shot at this MOD. The fields are showing up in the login form without repeating as before (hoorah! thanks!!!). However, I'm having problems with the fields in both the admin-end account edit and the customer-end account edit.

On the admin side of account edit, the new fields do not show up at all. On the customer side of account edit, only the framed box with the "Additional Customer Fields" title shows up. I even added a new customer from the storefront and utilized the new fields, hoping that this would make the new fields register in the other two areas. No such luck.

As seen below, my two fields are "In business since: " (customers_bussince) and "Federal ID#: " (customers_fedid).

Here are my files so far containing the two fields:

FILE:
admin/includes/languages/english/extra_definitions/additional_customers_fields.php

define('BOX_CUSTOMERS_ADDITIONAL_CUSTOMERS_FIELDS', 'Add Customers Fields');

// Additional Customers Fields - Form Type Table Title For Whole Additional Window.
define('ADDITIONAL_CUSTOMERS_FIELDS_FORM_TITLE', 'Additional Customers Fields');

and

$additional_customers_fields_form_input_title['customers_bussince'] = array('In business since: ');
$additional_customers_fields_form_input_title['customers_fedid'] = array('Federal ID#: ');
?>

FILE:
includes/languages/english/extra_definitions/additional_customers_fields_create_account.php

// Defines the additional customers fields title in order to show in HTML forms.
define('ENTRY_ADDITIONAL_CUSTOMERS_FIELDS_TITLE', 'Additional Customers Fields');
define('HEADING_ADDITIONAL_CUSTOMERS_FIELDS_CREATE_ACCOUNT_TITLE', '');

// Defines the in business since title name for the additional customers fields.
$additional_customers_fields_form_create_account_input_title['customers_bussince'] = array('In business since: ');

// Defines the federal id title name for the additional customers fields.
$additional_customers_fields_form_create_account_input_title['customers_fedid'] = array('Federal ID#: ');
?>

FILE: includes/languages/english/extra_definitions/additional_customers_fields_account_edit.php

// Defines the additional customers fields title in order to show in HTML forms.
define('ENTRY_ADDITIONAL_CUSTOMERS_FIELDS_TITLE', 'Additional Customers Fields');
define('HEADING_ADDITIONAL_CUSTOMERS_FIELDS_ACCOUNT_EDIT_TITLE', '');

// Defines the in business since title name for the additional customers fields.
$additional_customers_fields_form_account_edit_input_title['customers_bussince'] = array('In business since: ');

// Defines the federal id title name for the additional customers fields.
$additional_customers_fields_form_account_edit_input_title['customers_fedid'] = array('Federal ID#: ');
?>

FILE: includes/templates/mytemplate/templates/tpl_modules_create_account.php

<?php // Additional customers fields begins here. ?>
<?php if (function_exists('check_add_customers_fields_records') && check_add_customers_fields_records()) { ?>
            <fieldset>                            
                <legend><?php echo ENTRY_ADDITIONAL_CUSTOMERS_FIELDS_TITLE; ?></legend>                
                <?php
       } // End of if statement.
        
        // We now set up an additional customer field for in business since.                        
            echo add_customers_fields_for_create_account('customers_bussince', 'zen_draw_input_field');
        // End of additional customer field for in business since.
        
        // We now set up an additional customer field for federal id.                        
            echo add_customers_fields_for_create_account('customers_fedid', 'zen_draw_input_field');
        // End of additional customer field for federal id.
        
        ?>
        </fieldset>         
<?php
// End of additional customers fields.

FILE:
…includes/templates/mytemplate/templates/tpl_account_edit_default.php

 // Additional customers fields begins here.
        while (!$account->EOF) {                                                            
        
        // We now set up an additional customer field for in business since.                
        if (isset($account->fields['field_name']) && $account->fields['field_name'] == "customers_bussince") {            
            echo add_customers_fields_for_account_edit('customers_bussince', 'zen_draw_input_field');
        } // End of additional customers fields for in business since.     
        
        // We now set up an additional customer field for federal id.                
        if (isset($account->fields['field_name']) && $account->fields['field_name'] == "customers_fedid") {            
            echo add_customers_fields_for_account_edit('customers_fedid', 'zen_draw_input_field');
        } // End of additional customers fields for federal id.     
        
            $account->MoveNext();
        } // End of while statement.
        
        // End of additional customers fields.

Any ideas as to why this is not working? If more info is needed, please let me know.

Thank you!

3 Jul 2007, 10:55 PM
#404
rbepple avatar

rbepple

New Zenner

Join Date:
Jun 2007
Posts:
71
Plugin Contributions:
0

Re: Additional Customers Fields

TheOracle,
Thanks for your MOD, time and efforts. I truely appreciate your help. As you once tried before to help me have the additional customers fields show up on the invoices that I print from admin>customers>orders>invoice and it was not successful due to the fact that I was running on a very slow server. Well, I have transfered my site to a faster server and I am hoping you are still willing to help me with this challenge.

3 Jul 2007, 11:01 PM
#405
simetra avatar

simetra

Zen Follower

Join Date:
Mar 2005
Posts:
167
Plugin Contributions:
0

Re: Additional Customers Fields

I got it figured out!!! I did a clean install of zen in another directory and then imported my database into that. I then took the customer.php from the clean install and overwrote the customer.php on my original install. Now all my customer info is there and it is working perfectly.

3 Jul 2007, 11:45 PM
#406
darkgamer avatar

darkgamer

New Zenner

Join Date:
May 2007
Posts:
14
Plugin Contributions:
0

Re: Additional Customers Fields

Creative:

On the admin side of account edit, the new fields do not show up at all. On the customer side of account edit, only the framed box with the "Additional Customer Fields" title shows up. I even added a new customer from the storefront and utilized the new fields, hoping that this would make the new fields register in the other two areas. No such luck.

Creative:

Hm. I'm having the same issues. The commented out lines fixed the admin side for me (see my previous post), but the form fields were only absent there when the associated field was empty in the database.

I'm having the same problem you are with the user's edit account page. No fields show up, even though I copied the array syntax exactly.

The user's create new account page shows the form fields, but something is preventing me from displaying either a drop-down menu (disappears) or a second radio button field (displays, but crashes into previous radio button field) after the first radio button field.

Time for some more zen. If you find out what's going on, please share your solution; I'll do the same. Good luck!

4 Jul 2007, 1:15 AM
#407
simetra avatar

simetra

Zen Follower

Join Date:
Mar 2005
Posts:
167
Plugin Contributions:
0

Re: Additional Customers Fields

Please help!!!!

I installed this mod before it was updated recently and then went in and reuploaded the new mod. It was giving me many problems so I uninstalled it, or I thought I did. I went into the recent contrib and backtracked all the files and folders it uploaded and deleted them.

Now, it is off my admin BUT I cannot create any accounts nor can any of my customers log in to their accounts. I was getting an error message but now if you create a new account the screen blinks but brings you back to the blank registration page as if you didnt type anything in but no error and if you try to log in with an already made account it tells you that it doesnt recognize your email or password....

The error message I was getting but am no longer getting was:
1054 Unknown column 'moderators_level' in 'field list'
in:
[INSERT INTO customers (moderators_level, customers_firstname, customers_lastname, customers_email_address, customers_nick, customers_telephone, customers_fax, customers_newsletter, customers_email_format, customers_default_address_id, customers_password, customers_authorization, customers_dob) VALUES ('1', 'My Name', 'myemail', '', '--****', '', '0', 'HTML', '0', '9c1fa92a3095a49f656eb1ae1b7412c8:3f', '0', '19781209')]

Now it is just the blank registration screen
How do I get this working and the mod removed completely so it is not affecting my customer fields????

PLEASE HELP!!

4 Jul 2007, 3:04 AM
#408
darkgamer avatar

darkgamer

New Zenner

Join Date:
May 2007
Posts:
14
Plugin Contributions:
0

Re: Additional Customers Fields

Simetra:

Looks like I'm not the only one. As soon as I find another bug, it appears someone else is having the same issue.

Someone else previously on this thread had the same problem and it was suggested that they installed a mod that is causing it. That is not the case. I had a clean installation of Zen Cart.

Pretty much the mod is trying to write into a field that doesn't exist. I fixed this issue by adding a field to 'customers' called 'moderators_level' using phpmyadmin, and users are able to create accounts again. I just want to be sure I'm not skipping some needed functionality. Should this data should be written to a different table, or was this mod was originally developed to work with another?

4 Jul 2007, 6:43 PM
#409
simetra avatar

simetra

Zen Follower

Join Date:
Mar 2005
Posts:
167
Plugin Contributions:
0

Re: Additional Customers Fields

How do I delete this mod from my zen cart without messing anything up? I would like to completely uninstall it.

Anyone?

5 Jul 2007, 1:28 PM
#410
creative avatar

creative

New Zenner

Join Date:
Jul 2005
Posts:
85
Plugin Contributions:
0

Re: Additional Customers Fields

Simetra,

I had the same "moderator" error message. Someone else suggested a fix for a similar if not same error previously in this thread. I followed their suggestion and up to this point have not had the same error.

In your /includes/modules/your_template/create__account.php there is a line that reads 'moderators_level' => 1. I commented out that line (never really like to delete in case I've made a mistake or it will be needed at a later time), and it seems to have fixed the error message.

If you want to completely uninstall this MOD, I've done so by following all the paths in Oracle's folder hierarchy and deleting those files. If you've used Zen's "override" system, you shouldn't run into the problem of deleting anything that is needed. Or if the store is not live yet (meaning there is little to no customized info), you could replace any files accidentally overwritten with Zen's default install files.

DarkGamer,

I did read your post at the end of the afternoon after I had made my post. I'll try commenting out the lines suggested and see what happens. Will keep you updated if/when I stumble onto any solutions to the problems we are both experiencing.

6 Jul 2007, 1:07 PM
#411
pasher avatar

pasher

New Zenner

Join Date:
Dec 2005
Posts:
64
Plugin Contributions:
0

Re: Additional Customers Fields

Sorry if this has been raise before, but with a thread running at 41 pages, I'm not inclined to wade through them all ;-)

Just trying a 'first time' install of the latest version and am confused by the following -

**Simply upload all the files, from this ZIP package, - except for the following ones:

  • includes/classes/db/mysql/query_factory.php
  • includes/modules/<your_template>/create_account.php
  • includes/modules/<your_template>/pages/account_edit/header_php.php
  • includes/templates/<your_template>/templates/tpl_account_edit_default.php
  • includes/templates/<your_template>/templates/tpl_modules_create_account.php

Use a comparing tool software for the listed files above.
**

My template folder is 'QE_Skin' - I'll use it in the following questions I have.

'query_factory.php' has not been modified at all in mt setup, so do I just overwrite it?

I do not have a QE_Skin folder under /includes/modules. Presumably I create it and just copy the two files to it? But if that is the case, the pages folder of the downloaded mod has a second <your_template> in it, as in '\includes\modules\pages\account_edit\your_template, so does it want another 'QE_Skin' folder there and the files under it just copying over?

I do have a /includes/templates/QE_Skin/ folder, so again, does the template folder, and its two files, which do not currently exist, just get copied over?

Hope this is clear - its difficult to put these questions in words ;-)

Cheers
Pa

6 Jul 2007, 4:29 PM
#412
darkgamer avatar

darkgamer

New Zenner

Join Date:
May 2007
Posts:
14
Plugin Contributions:
0

Re: Additional Customers Fields

The disappearing input fields in the customer's edit account page seem to come from this if statement testing false on line 204 of additional_customers_fields.php (I might have moved a few lines around). When I comment it out the input form fields show up but are formatted improperly.

if (isset($account->fields['field_name']) && $account->fields['field_name'] == $key1 && isset($account->fields['field_status']) && $account->fields['field_status'] == 2) {
```Now I apparently need to read up on the $account object and how it works... sigh. Anyone have a suggestion as to why this is happening?
10 Jul 2007, 4:30 PM
#413
darkgamer avatar

darkgamer

New Zenner

Join Date:
May 2007
Posts:
14
Plugin Contributions:
0

Re: Additional Customers Fields

So I haven't quite gotten to the bottom of why the additional form fields don't show up on the edit page. However, I have figured out why form fields that appear after a radio button were not formatting properly on the account creation page. This tag was not being output after each radio button form field:```
<br class="clearBoth" />

```php
            echo '<br class="clearBoth" />';
```It should go after this statement closes:
```php
 while (list($key, $val) = each($additional_customers_fields_form_create_account_radio_title[$field])) {

now the form field titles are correctly on the left column as they should be and not crashing into the previous radio button field on the right column. I will tackle the disappearing account edit fields later...

theOracle, are you around? We could use your help on this, as it seems to be a common problem.

10 Jul 2007, 5:30 PM
#414
rbobzin avatar

rbobzin

Zen Follower

Join Date:
Mar 2007
Posts:
112
Plugin Contributions:
0

Re: Additional Customers Fields

DarkGamer,

The need for this module is, I think, huge! I know I, and probably many other Zen users, sincerely appreciate any help provided from any source to getting this mod to work!

Big time THANKS!

11 Jul 2007, 4:29 PM
#415
alucab avatar

alucab

New Zenner

Join Date:
Jul 2007
Posts:
4
Plugin Contributions:
0

Re: Additional Customers Fields

Hello to all, this just to share my findings about this product.
Good the idea and the design just some slips in coding i think. :smile:
Thanks to theOracle!

The consideration will be in sparse order as i remember the notes, i'm sorry if I repeat information already seen.

As a general advice, do your tests creating customer_cellphone that is already well configured by theoracle in the files, less doubts.

First :
The problem of not seeing the combos populated in create field page.
My answer : the javascript files that populate the combos etc... reside in a directory called
[ZENDIR]admin\includes\javascript\mods\additional_customers_fields**english
**Now if you speak a different language (I'm from Italy) it will not find the files so you have to create a dir with your language and copy the contained files
**NOTE: Take care of this point for all the dirs that end with english and the involved files

**Second :
Empty areas instead of fields in Admin/Customer Edit if values are not there.
It seems a design choice so nothing to say, in the forum there is the modification for avoiding it

Third:
**Empty areas in Customer part (for Edit account)
**This was tricky and (shame on me) I don't remember well if it was present only for edit account or also for create.

In any case (remember I speak of my particular case) It was solved when I recognized that

  1. the account informations are retrieved from the DB in a file called header_php.php

  2. the install instructions say that you have to compare

[ZENDIR]includes/modules/pages/account_edit/<your_template>/header_php.php

which I had not in my dirs, as I had only
[ZENDIR]includes/modules/pages/account_edit/header_php.php
without template references.

  1. That instead of comparing at the end of the story I copied that file actually creating the
    [...]account_edit/<your_template>/header_php.php

Now it seems (beware i'm not a zen expert) that in modules/pages/account_edit templating doesn't work (and it makes sense for me as it is business logic) so simply the new header_php.php didn't work.

Solution : I just copied it in [ZENDIR]includes/modules/pages/account_edit/header_php.php and voila' it worked and filled the fields

Fourth: **
sql errors during creation and editing (you have an error in 'UPDATE... blah blah)
**
It seems that theOracle doesn't like empty fields.:smile:
Now if at least one of the additional field has a value (i.e. you have a compo or a radio group) you won't see the problem.

The problems originate from the fact that the sql queries are built adding sql to the original ones but the additional sql is filled only if there are values so simply the strings are built uncorrectly if there is no value in a field (side effect : you can't empty a filled field)

Here I will post the modification I did hoping that a new version is done for everyone by the author

**Note for theOracle : **the cycle actually builds the $additionalsql string putting every field twice, is this normal ?

Original create_account.php
```php
// Additional customers fields.
$additional_sql = "";
$table_fields = $db->get_table_fields(TABLE_CUSTOMERS);
if (isset($table_fields) && !empty($table_fields)) {
foreach ($table_fields as $key => $val) {
if (!in_array($key, $customers_table_fields)) {
$key = zen_output_string_protected($key);
if (isset($POST[$key]) && isset($table_fields[$key]) && eregi("^[[:alnum:]][a-z0-9.-]*@[a-z0-9.-]+.[a-z]{2,6}$", zen_db_prepare_input($_POST[$key])) && zen_validate_email($_POST[$key]) == true) {
$additional_sql .= "$key = '".zen_db_prepare_input($_POST[$key])."', ";
} elseif (isset($POST[$key]) && isset($table_fields[$key]) && preg_match("/[a-zA-Z0-9.,;:%&#@!^-~`"'[]{}*/?()\n\r]/", $_POST[$key])) {
$additional_sql .= "$key = '".zen_db_prepare_input(strip_tags($_POST[$key]))."', ";
} // End of if statement.
} // End of if statement.
} // End of foreach statement.
} // End of if statement.
if (isset($additional_sql) && !empty($additional_sql)) {
$additional_sql .= substr($additional_sql, 0, strlen($additional_sql) -2);
} // End of if statement.

$sql = "update " . TABLE_CUSTOMERS . "
           set customers_default_address_id = '" . (int)$address_id . "', " . zen_db_output($additional_sql) . "
           where customers_id = '" . (int)$_SESSION['customer_id'] . "'";

$db->Execute($sql);
// End of additional customers fields.


**Modified version from mine**
```php
// Additional customers fields.
      $additional_sql = "";    
      $table_fields = $db->get_table_fields(TABLE_CUSTOMERS);
      if (isset($table_fields) && !empty($table_fields)) {
          foreach ($table_fields as $key => $val) {
              if (!in_array($key, $customers_table_fields)) {
                  $key = zen_output_string_protected($key);
                  if (isset($_POST[$key]) && isset($table_fields[$key]) && eregi("^[[:alnum:]][a-z0-9_.-]*@[a-z0-9.-]+\.[a-z]{2,6}$", zen_db_prepare_input($_POST[$key])) && zen_validate_email($_POST[$key]) == true) {                              
                      $additional_sql .= "$key = '".zen_db_prepare_input($_POST[$key])."', ";
                  } elseif (isset($_POST[$key]) && isset($table_fields[$key]) && preg_match("/[a-zA-Z0-9\.\,;:%&#@!\^-_~`\"'\[\]\{\}\*\/\?\(\)\n\r]/", $_POST[$key])) {
                      $additional_sql .= "$key = '".zen_db_prepare_input(strip_tags($_POST[$key]))."', ";          
                  } // End of if statement.
              } // End of if statement.
          } // End of foreach statement.
      } // End of if statement.
      if (isset($additional_sql) && !empty($additional_sql)) {
      
      $additional_sql .= substr($additional_sql, 0, strlen($additional_sql) -2);
      $additional_sql=','.$additional_sql;//LBTBD comma added only if there is additional sql
      } // End of if statement.   

    $sql = "update " . TABLE_CUSTOMERS . "
               set customers_default_address_id = '" . (int)$address_id . "' " . zen_db_output($additional_sql) . "
               where customers_id = '" . (int)$_SESSION['customer_id'] . "'";//LBTBD deleted comma

    $db->Execute($sql);
    // End of additional customers fields.
```

**Original account_edit\header_php.php (now not in your_template)**
```php
      // Additional customers fields.
      $additional_sql = "";    
      $table_fields = $db->get_table_fields(TABLE_CUSTOMERS);
      if (isset($table_fields) && !empty($table_fields)) {
          foreach ($table_fields as $key => $val) {
              if (!in_array($key, $customers_table_fields)) {
                  $key = zen_output_string_protected($key);
                  if (isset($_POST[$key]) && isset($table_fields[$key]) && eregi("^[[:alnum:]][a-z0-9_.-]*@[a-z0-9.-]+\.[a-z]{2,6}$", zen_db_prepare_input($_POST[$key])) && zen_validate_email($_POST[$key])) {                              
                  $additional_sql .= "$key = '".zen_db_prepare_input($_POST[$key])."', ";
                  } elseif (isset($_POST[$key]) && isset($table_fields[$key]) && preg_match("/[a-zA-Z0-9\.\,;:%&#@!\^-_~`\"'\[\]\{\}\*\/\?\(\)\n\r]/", $_POST[$key])) {
                  $additional_sql .= "$key = '".zen_db_prepare_input(strip_tags($_POST[$key]))."', ";          
                 } // End of if statement.
              } // End of if statement.
          } // End of foreach statement.
      } // End of if statement.
      if (isset($additional_sql) && !empty($additional_sql)) {
      $additional_sql .= substr($additional_sql, 0, strlen($additional_sql) -2);
      } // End of if statement.
    
    $sql_update = "
    
    UPDATE ".TABLE_CUSTOMERS."
    SET " . $additional_sql . "
    WHERE customers_id = :customersID";
    
    $sql_update = $db->bindVars($sql_update, ':customersID', $_SESSION['customer_id'], 'integer');
    
    $db->Execute($sql_update);
      } // End of if statement.
      // End of additional customers fields.

Modified version (which also empties already filled fields)

    // Additional customers fields.
      $additional_sql = "";    
      $table_fields = $db->get_table_fields(TABLE_CUSTOMERS);
      
          //LBTBD
        //foreach ($table_fields as $key => $val)  
        //{
        //    $debug.= $key.'-'.$val.'<br>';
        //}//end LBTBD
        
      if (isset($table_fields) && !empty($table_fields)) {
          foreach ($table_fields as $key => $val) {
          
              if (!in_array($key, $customers_table_fields)) {
                  $key = zen_output_string_protected($key);
                  if (isset($_POST[$key]) && 
                        isset($table_fields[$key]) && 
                        eregi("^[[:alnum:]][a-z0-9_.-]*@[a-z0-9.-]+\.[a-z]{2,6}$", zen_db_prepare_input($_POST[$key])) && 
                        zen_validate_email($_POST[$key])) 
                    {                              
                        $additional_sql .= "$key = '".zen_db_prepare_input($_POST[$key])."', ";
                    }
                    elseif (isset($_POST[$key]) && 
                            isset($table_fields[$key]) && 
                            preg_match("/[a-zA-Z0-9\.\,;:%&#@!\^-_~`\"'\[\]\{\}\*\/\?\(\)\n\r]/", $_POST[$key])) 
                    {
                        $additional_sql .="$key = '".zen_db_prepare_input(strip_tags($_POST[$key]))."', ";          
                    }
                    //LBTBD manages empty values                    
                    elseif (isset($_POST[$key]) && 
                            isset($table_fields[$key]) && 
                            $_POST[$key]==''
                            ) 
                    {
                        $additional_sql .="$key = '".zen_db_prepare_input(strip_tags($_POST[$key]))."', ";          
                    } //LBTBD manages empty values
    
              } // End of if statement.
          } // End of foreach statement.
      } // End of if statement.
      if (isset($additional_sql) && !empty($additional_sql)) {
      $additional_sql .= substr($additional_sql, 0, strlen($additional_sql) -2);
      } // End of if statement.
    
    $sql_update = "
    
    UPDATE ".TABLE_CUSTOMERS."
    SET " . $additional_sql . "
    WHERE customers_id = :customersID;";//LBTBD
    
    $sql_update = $db->bindVars($sql_update, ':customersID', $_SESSION['customer_id'], 'integer');
    
    $db->Execute($sql_update);
      } // End of if statement.
      // End of additional customers fields.

I must say that for now i have not tested the orders checkout blah blah
Test my modifications to see if are correct

Bye guys

Luca

11 Jul 2007, 11:48 PM
#416
rbobzin avatar

rbobzin

Zen Follower

Join Date:
Mar 2007
Posts:
112
Plugin Contributions:
0

Re: Additional Customers Fields

Yes, Virginia, there is a Santa Claus! I re-installed the mod, made all the changes recommended by Luca, and...it works!

Well, OK, the fields in the "My Account" edit page aren't formatted properly, but after looking at the tpl_account_edit_default.php file, I almost think I have an idea of how to fix that. At least the mod now works!

Thank you, one and all!

17 Jul 2007, 4:57 PM
#417
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Additional Customers Fields

I have been reading this thread and it seems to be a bit overkill for my need, and it seems to still have issues. Don't get me wrong, I think this will be a very useful mod when done.

What I NEED is just one more field on the registration form for Tax ID # as I run a wholesale only website. There is an old mod in the archive but I could not get it to work. Maybe you folks are more on top of this as you are working on an advanced solution.

How about creating a simple mod or set of instructions for simply adding one field. This is a one time setup and does not need to be selectable from admin.

Anybody have a pointer how to get this done? There must be more wholesale businesses out there that need this?

17 Jul 2007, 5:05 PM
#418
emilio avatar

emilio

New Zenner

Join Date:
May 2005
Location:
san francisco - California
Posts:
49
Plugin Contributions:
0

Re: Additional Customers Fields

Hi Danilo
Just go to the italian forum and check for modulo P.iva e Codice Fiscale
on http://www.zen.cart.opzione.com of Paolo de Dionigi that suits your needs
Two or one fields at your choice customizable to suit your choice.
Just make the appropriate translation and you're done

17 Jul 2007, 5:35 PM
#419
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Additional Customers Fields

Thanks, I will check it out. Hope my Italian will be good enough to make sense of the mod. :)

Other question for the mod in this thread: is this mod ready for the everyday zenner or should I wait a bit longer to give it a try? I am a bit worried with all the postings.

17 Jul 2007, 6:03 PM
#420
graphicman avatar

graphicman

New Zenner

Join Date:
Dec 2004
Location:
Wakefield. UK
Posts:
82
Plugin Contributions:
0

Re: Additional Customers Fields

I agree, all i need is an add on that will allow me to add an account number to the customer registration form. I have been after this for ages. Can any one help.

Thanks