trembita Posted May 22, 2007 Posted May 22, 2007 I want to remove some fields from registration form such as "city, Date of Birth etc." How can I do this?
Helvetica2 Posted May 22, 2007 Posted May 22, 2007 I found this yesterday here on the forum when I was looking for it: You simply go into Admin, click on Configuration, then click on Customer Details then click on the item you want to remove from the registration form, so that it shows > at the end of the line, click the Edit button and set it to "false" then click on "update". I want to remove some fields from registration form such as "city, Date of Birth etc." How can I do this?
trembita Posted May 22, 2007 Author Posted May 22, 2007 well, these fields are not necessary to fill while registration. I need to remove such fields as "Post Code" "Street Address" "City" "State/ Province" these cannot been removed from admin panel.
TDiver Posted May 23, 2007 Posted May 23, 2007 I found this yesterday here on the forum when I was looking for it:You simply go into Admin, click on Configuration, then click on Customer Details then click on the item you want to remove from the registration form, so that it shows > at the end of the line, click the Edit button and set it to "false" then click on "update". Hi! You should modify includes/create_account.php. Here you can comment out/delete (make a backup before!) the unnecessary fields. E.g. you want to remove the date of birth field, delete the following: --------------------- <?php if (ACCOUNT_DOB == 'true') { ?> <tr> <td class="main"><?php echo ENTRY_DATE_OF_BIRTH; ?></td> <td class="main"><?php echo tep_draw_input_field('dob') . ' ' . (tep_not_null(ENTRY_DATE_OF_BIRTH_TEXT) ? '<span class="inputRequirement">' . ENTRY_DATE_OF_BIRTH_TEXT . '</span>': ''); ?></td> </tr> <?php } ?> ---------------------- All the other fields can be found in a similar structure.
TDiver Posted May 23, 2007 Posted May 23, 2007 Sorry, the referred file (create_account.php) is in the catalog folder, not in catalog/includes....
Recommended Posts
Archived
This topic is now archived and is closed to further replies.