Want to delete City field in customer info
for customer info there is a CITY field
I want this field not showing again because I already join City and Province as one field together
when signup, account modification, checkout there is always show the CITY field, how and where to modify it so it not show again
Re: Want to delete City field in customer info
includes/templates/your_template/templates/tpl_modules_create_account.php (your_template is the actual name of your template this is only a reference)
Around line 78 and 79 change from
Code:
<label class="inputLabel" for="city"><?php echo ENTRY_CITY; ?></label>
<?php echo zen_draw_input_field('city', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_city', '40') . ' id="city"') . (zen_not_null(ENTRY_CITY_TEXT) ? '<span class="alert">' . ENTRY_CITY_TEXT . '</span>': ''); ?>
to
Code:
<label class="inputLabel" for="city"><?php //echo ENTRY_CITY; ?></label>
<?php //echo zen_draw_input_field('city', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_city', '40') . ' id="city"') . (zen_not_null(ENTRY_CITY_TEXT) ? '<span class="alert">' . ENTRY_CITY_TEXT . '</span>': ''); ?>
Notice the red marks were put in place (comment out)
This will remove the CITY field but also leave it there incase you ever want to put it back