ashlyn Posted March 3, 2003 Posted March 3, 2003 I need to add 1 or 2 extra fields in registration details. Need to add a website URL and a customer reference field.. (it's for a wholesale site) I've managed to do a heap tonight and am seeing little dots before my eyes, but can't seem to find anything that can lead me in the right direction.. I know that the database is probably a good start, and can probably bluff my way through that, but it's getting it onto the page that worries me :( I would also like to set the state field so that it gives a dropdown of zones, like country selection, and change country to only UK. Thanks in advance for any tips.. ------------------------------------------------------- I used to be insane, but now I'm just nuts ;)
♥olby Posted March 3, 2003 Posted March 3, 2003 The easiest way would be to reuse DOB and Gender. They don't make any sense in wholesale anyway. Rename them in the language-file(s), and change the field type to the type you need in the database. As for the dropdown, you could copy the country-selection code in create_account.php to your own state-code and create a new table with states-names in it. Best Regards olby
greree Posted March 3, 2003 Posted March 3, 2003 Need to add a website URL What kind of website URL? Is this something the customer fills in or do you want to capture the URL that the customer came from?
Deskdirect Posted March 4, 2003 Posted March 4, 2003 I changed my fax_number field to a forum_number field for the members of my forum to post their forum ID numbers. I changed the database and the language files but I have the following - ENTRY_FAX_NUMBER ENTRY_FAX_NUMBER_TEXT -listed on the account register form. I still can't change the heading to read Forum Number! What did I do wrong or not do? Annette
Deskdirect Posted March 4, 2003 Posted March 4, 2003 I needed to also change my account_details.php file in catalog/includes/modules.
ashlyn Posted March 4, 2003 Author Posted March 4, 2003 Need to add a website URL What kind of website URL? Is this something the customer fills in or do you want to capture the URL that the customer came from? It's so they can input their URL, like in a guestbook message. Because it's a wholesale site, we need to see where they will be selling my client's products.. ------------------------------------------------------- I used to be insane, but now I'm just nuts ;)
greree Posted March 4, 2003 Posted March 4, 2003 Adding the extra fields is easy enough. I've made similar changes to my cart. Let me know how many spaces (number of characters) you want in each field and I'll post the code. The drop down menu for zones is a bit beyond me. I only know what I need to make changes to my own cart, and I haven't needed to do that.
ashlyn Posted March 4, 2003 Author Posted March 4, 2003 I need below the telephone (and instead of fax if possible) the following fields.. 1: Website URL (not more than 30 characters, able to add . and / as well) 2: Trade References: approx 50 characters allowed.. That's it, thanks so much. I've just added field fax2 to database, and changed fax to website URL, and fax 2 to trade references, in both catalog and admin, but it's writing website URL to trade references, and nothing to website URL! :roll: Just going through the process of making sure I've edited everything. Language english.php (both) check, create_account_process.php check, customers.php (admin) check.. Did I miss any? ------------------------------------------------------- I used to be insane, but now I'm just nuts ;)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.