Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2006
    Posts
    78
    Plugin Contributions
    1

    Default Change Model Number to Product Ref

    Hello

    Is it possible to change the wording of Model Number to Product Ref,

    It would be pretty easy to change it in the product/order pages just by editing the text in the php files, but would i need to change anything else,
    or is there one file which will change it for the whole of the site?




    Thanks
    Rob

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Change Model Number to Product Ref

    Learn to use the grep tool > developers tool kit in the admin tools area and search for the text and seek a defines for it
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Change Model Number to Product Ref

    Kobra makes an important point. The developers tool kit is a vital and important part of finding elements within the core code files when you are looking for stuff to customise.

    You really should make a point of learning how to use it...

    The changes need to be made to a number of php files - all of which are in the LANGUAGES folder(s). (I recall having to change about 12 php files).

    One of these files is " english.php ", the original of which is in :-
    includes/languages/template_default

    FTP a copy to your hard drive.

    Open it for editing, using a good TEXT editor such as Crimson editor (NOT notepad!)

    you will be looking for DEFINES, such as:-

    PHP Code:
      define('TEXT_INFO_SORT_BY_PRODUCTS_MODEL''Model'); 
    You will change to:-

    PHP Code:
      define('TEXT_INFO_SORT_BY_PRODUCTS_MODEL''Product Ref'); 
    (There may be other DEFINES in this file that need editing).

    You will SAVE the file...

    You will FTP the edited copy to your OVER-RIDES directory, eg: includes/languages/YOUR_TEMPLATE.

    Using the developers tool kit (ADMIN>>>TOOLS>>>DEVELOPERS TOOL KIT) you can seek out other instances of the word "model" and then look for results which show this as part of a DEFINE statement. These are likely to be files that you must edit (then return to their respective OVER-RIDE directories, in the same manner as the example above.
    19 years a Zencart User

  4. #4
    Join Date
    Sep 2006
    Posts
    78
    Plugin Contributions
    1

    Default Re: Change Model Number to Product Ref

    I do use the developer tool kit often to search for files and text within files, i just wanted to ask for advice before going ahead and changing the files,

    Thank you for your help i will edit the files and see how i get on tomorrow.


    Rob

  5. #5
    Join Date
    Mar 2009
    Location
    Raleigh, NC
    Posts
    31
    Plugin Contributions
    0

    Default Re: Change Model Number to Product Ref

    Thank you for the detail and tip on the developers tool kit, what a real time saver !!
    George Susini Raleigh Tech Consulting - Raleigh, NC

 

 

Similar Threads

  1. v139f How to add "Model" infront of my model number above my product pictures?
    By missymissy in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 15 Apr 2014, 06:44 AM
  2. v151 Product Model Number change with attribute
    By kitcorsa in forum General Questions
    Replies: 7
    Last Post: 4 Apr 2014, 10:22 PM
  3. Product Listing Page - Model Number - Need to change color
    By beyre in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 24 Feb 2010, 12:30 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