Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2010
    Posts
    3
    Plugin Contributions
    0

    Default customer details fields

    I trying to modify the feilds for customer details, someone else was working on the site and removed the city text fields but left the box.




    Uploaded with ImageShack.us

    The box still has city validation on it

    I just want to put the City text back in. I'm sure its somewhere in a languages or template folder but can't find the file. If someone could point me in the right direcetion that would be great thanks.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: customer details fields

    Probably in includes/english/YOUR_TEMPLATE/english.php:

    Line #225 : define('ENTRY_CITY', 'City:');

  3. #3
    Join Date
    Aug 2010
    Posts
    3
    Plugin Contributions
    0

    Default Re: customer details fields

    Quote Originally Posted by stevesh View Post
    Probably in includes/english/YOUR_TEMPLATE/english.php:

    Line #225 : define('ENTRY_CITY', 'City:');
    Thanks for the reply

    That was the first place i looked

    it was
    Line #226 : define('ENTRY_CITY', 'Address line 3:');

    with i changed to

    Line #226 : define('ENTRY_CITY', 'City:');

    Still comming up blank.

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: customer details fields

    Line numbers can be a pain. In Notepad ++ it's line 226.

    In a stock Zencart installation, it looks like this in includes/languages/english.php:

    define('ENTRY_CITY', 'City:');

    I changed that to define('ENTRY_CITY', 'Test:');

    and saved it to includes/languages/MY_TEMPLATE and it showed up as expected.

  5. #5
    Join Date
    Aug 2010
    Posts
    3
    Plugin Contributions
    0

    Default Re: customer details fields

    Thanks finally fugured it out. I thought the other guy had just changed includes/languages/english.php, so when i changed it back I was confused why it was not working. It turns out he changed both tyhe includes/languages/english.php and includes/languages/MY_TEMPLATE/english.php (which was over riding the original) only that MY_TEMPLATE what called jsweb so i thought it was a folder for javascript pretty much the only place I did not look.

    I'm only new to Zen-Cart (but not CMS), looks like i nice peice of kit. Looking forward to asking more stupid questions in the future ;)

    Thanks the help stevesh

 

 

Similar Threads

  1. Adding fields to customer details-- 2 questions
    By jdl in forum Customization from the Admin
    Replies: 5
    Last Post: 30 Jul 2010, 08:35 PM
  2. Adding new fields to the Customer Details
    By dustyshoes in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 30 Jul 2010, 08:24 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR