Contributions
Customers extra fields
Admin can add/edit/delete extra fields for customers and set up field name, field type (input field, textarea field) and field required status (true, false). Customers see extra fields when he create or edit own account.
Expand All / Collapse All
This is the french traduction for the extra fields contrib. Very usefull contrib though I used to make an form to ask a credit report so I still had to tweak it but this contrib is really well done even a newbie like me made it to work.
Thank you for this pretty nice job,
David Robitaille
www.e-genius.ca
This addon created on basis of Customers Extra Fields v1.2a Rollup.
But it allow to add next types of extra fields:
1) Text (Standart)
2) Textarea (Standart)
3) Radiobuttons list
4) Multicheck list
5) Drop down menu
This is my attempt to add all of the previous packages and updates into one Full Install Package.
Contains all of the files and updates by kit, zoulxp and myself.
Sorry my French is bad ... if Zoulxp would be so kind as to translate any necessary files.
Correctif :
- Les champs client supplémentaires apparaissent maintenant dans la langue du client dans le mail de confirmation de commande.
ATTENTION : Avant d'installer email on extra fields, vous devez avoir installé au préalable :
- Customers Extra Fields by Kit - Nov 7 2005
- Extra Fields Pacth by zoulxp - Jun 8 2006
Ensuite vous suivez les instructions ci dessous.
--------------------------------------------------
Changes in this release:
- Correct extrafields language in email according to the customer language.
YOU STILL NEED TO INSTALL the original contribution first.
- Customers Extra Fields by Kit - Nov 7 2005
- Extra Fields Pacth by zoulxp - Jun 8 2006
Then when you have done that continue with these instructions.
There is a wrong instruction in the Email on Extra Fields v1 update. The misunderstanding removes the fields_required_status
causing you not to be able to change the status.
Where it reads:
#### FIND ####
'fields_required_status' => $fields_required_status,
'fields_size' => $fields_size);
#### REPLACE WITH ####
'fields_size' => $fields_size,
'fields_required_email' => $fields_required_email);
SHOULD INSTEAD BE:
#### FIND ####
'fields_size' => $fields_size);
#### REPLACE WITH ####
'fields_size' => $fields_size,
'fields_required_email' => $fields_required_email);
So make sure you did not remove the line:
'fields_required_status' => $fields_required_status,
if you did .. put it back in.
I forgot to mention regarding the previous post to avoid confusion.
YOU STILL NEED TO INSTALL the original contribution first.
- Customers Extra Fields by Kit - Nov 7 2005
- Extra Fields Pacth by zoulxp - Jun 8 2006
Then when you have done that continue with these instructions.
I will try to put them all together in one package soon.
Thanx to zoulxp for his contribution.
Changes in this release:
- added instructions in english format
- updated / corrected checkout_process.php code
With this add-on, you can configure for each customer field if you want it appear in the "order confirmation email".
You have to install the customers_extra_fields contribution before !!!
--------------------------------------------------
Avec cet add-on vous pouvez configurer nouveau champs client par nouveau champs client, lesquels seront afficher dans le mail de confirmation de commande généré par checkout_process.php.
Sous l'admin, dans le menu "client +++" lors de la création d'un nouveau champs, vous aurez une nouvelle option "Affichage dans l'email:". Sur "true", l'info du champs apparaitra dans le mail, sur false, non.
Au préalable, vous devez avoir installer la contribution "customers_extra_fields" :
http://www.oscommerce.com/community/contributions,3737
J'ai remarqué une petite anomalie dans le fichier extrafields.php de la contrib customers_extra_fields.
En effet, lors de la suppression d'un champs client dans l'admin, les données sont
supprimées des tables : extra_fields et extra_fields_info mais pas de la table
customers_to_extra_fields, ce qui n'est pas logique et pollue inutilement cette table.
Une ligne est à ajouter pour corriger cela dans le fichier extrafields.php
------------------------------------------------
When you delete a field in your extrafields customers admin, that delete entries in extra_fields and extra_fields_info but not in customers_to_extra_fields.
This correct the problem :
#### Ouvrir ####
/admin/extrafields.php
#### Chercher ####
tep_db_query("delete from " . TABLE_EXTRA_FIELDS_INFO . " where fields_id = '" . (int)$fields_id . "'");
#### Ajouter aprés ####
tep_db_query("delete from " . TABLE_CUSTOMERS_TO_EXTRA_FIELDS . " where fields_id = '" . (int)$fields_id . "'");
Admin can add/edit/delete extra fields for customers and set up field name, field type (input field, textarea field) and field required status (true, false). Customers see extra fields when he create or edit own account.
Note: Contributions are used at own risk.