Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2008
    Posts
    4
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Dec 2005
    Location
    Cincinnati Ohio
    Posts
    1,014
    Plugin Contributions
    12

    Default 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
    Web Hosting & PCI Hosting, SecurityMetrics Platinum Partner
    PCI Certified Web Hosting - ControlScan, McAfee, TrustKeeper
    Business Class Web Hosting - Linux and cPanel Powered

 

 

Similar Threads

  1. adding tele# to ship to field in customer info
    By Blooms in forum Managing Customers and Orders
    Replies: 4
    Last Post: 5 May 2008, 07:05 PM
  2. [Done 2.0.0] Delete Customer Bug
    By Alex Clarke in forum Bug Reports
    Replies: 2
    Last Post: 30 Oct 2007, 11:16 PM
  3. How to delete a customer? 1.3.1
    By marcelox8 in forum Basic Configuration
    Replies: 2
    Last Post: 1 Jun 2006, 05:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •