Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove Fields From Registration Form?


trembita

Recommended Posts

Posted

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?
Posted

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.

Posted
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.

Posted

Sorry, the referred file (create_account.php) is in the catalog folder, not in catalog/includes....

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...