Guest Posted June 10, 2003 Posted June 10, 2003 I need to change some of the fields in the account registration process. So far I've removed the date of birth one but I need to change some of the names and the order of the others Currently I have Gender: First Name Last Name Email Address Street Address Suburb Post Code City County State/Province Telephone Number Fax Number --------------------------------- I would like to change these to Gender First Name Last Name Email Address *Centre Name *Address Line 1 *Address Line 2 *Address Line 3 *Address Line 4 *Country Telephone Number Fax Number Could someone give me an idea which files I need to be editing to do this?
Guest Posted June 10, 2003 Posted June 10, 2003 Catalog/includes/module/account_details.php is the main one also (depending on what you are doing) catalog/create_account.php catalog/create_account_process.php acoont.php account_edit.php catalog/includes/languages/english.php catalog/includes/form_check.js.php admin/customers.php...... Then you can start on all the checkout files also... etc etc Something like this, which sounds simple, can turn into a major project :shock: Probably over 30 files *may* be involved depending on exactly what you are doing Just be careful with your cutting and pasting... the html format and the placement of curly braces is critical.... as is error checking. If you have extra fields you will need corresponding database rows. Not for the faint hearted! :shock: But persevere... it can be done! There may be some help on the Wiki site also!
Guest Posted June 10, 2003 Posted June 10, 2003 Hmmm.......thanks but I think I'll end up stuffing my install if I start making major changes like that!! Isn't there an easier way where I can just change the names of the fields that are shown and the order they appear in, I'll just leave the back end bits alone.
Guest Posted June 10, 2003 Posted June 10, 2003 You can change the order for account signup in catalog/includes/account_details.php... like I said, be careful how you cut and paste.... this is the only way it can be done...... :shock: You can change the names in catalog/includes/languages/english.php
Guest Posted June 10, 2003 Posted June 10, 2003 Thanks for the pointers, hopefully I'll be ok from here :)
Guest Posted June 10, 2003 Posted June 10, 2003 I've changed the order in account_details.php and it all works perfect. Thanks for the help!!
Guest Posted June 16, 2003 Posted June 16, 2003 Hi. I've been looking to do the same thing with changing the order of the sign up fields, but I can't seem to locate account_details.php. Is there anywhere else the code for it might be? Maybe I have an older version?
Guest Posted June 17, 2003 Posted June 17, 2003 That file doesn't exist in any directories I have. Is it possible I have an older version or something?
Guest Posted July 23, 2003 Posted July 23, 2003 I have a question about switching the order of the items. I am in the process of adding a second address line - and am having trouble getting the values of the second to appear when I do the following: I am in checkout shipping and I choose to change my address. I am shown all my addresses from my address book. Formatted as follows: Name, Address1, City, Zip, State, Country I want: Name, Address1, Address2, City, Zip, State, Country I tried adjusting includes/functions/general.php - and adjusting the values in the address format table. But netiher have seemed to work. Any suggestions?
Guest Posted July 25, 2003 Posted July 25, 2003 Hope this helps other people: These are the files I had to change in order to adjust the address order and adding a new address line (I'm sure this list isn't complete, but it's a good start) catalog/... create_account.php create_account_process.php account.php checkout_shipping.php checkout_payment_address.php modules/checkout_new_address.php checkout_confirmation.php order.php general.php admin/... general.php - be sure to add $street2 = $streets2 (to match your db) classes/order.php admin/customers.php Check all files named order.php remember to add your new fields to all your db tables. Especially be sure to change the address_format table example: to add an extra address line change $streets$cr$city $streets$cr$streets2$cr$city Note: $cr - is a carriage return, or line break Good luck.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.