Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

remove city field


rebelo

Recommended Posts

Ok This is what you have to do:

 

on the create_account.php

 

Look for

 

<tr>

<td class="main"><?php echo ENTRY_CITY; ?></td>

<td class="main"><?php echo tep_draw_input_field('city') . ' ' . (tep_not_null(ENTRY_CITY_TEXT) ? '<span class="inputRequirement">' . ENTRY_CITY_TEXT . '</span>': ''); ?></td>

</tr>

 

 

and Delete it

 

 

Then you need to go a the JS file names includes/form_check.js.php

 

and in that file you need to look for

 

check_input("city", <?php echo ENTRY_CITY_MIN_LENGTH; ?>, "<?php echo ENTRY_CITY_ERROR; ?>");

 

 

and delete it

 

 

 

 

 

Make a back up of your files just in case...

at the end of the day the code will be good

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...