Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Location
    Puerto Rico
    Posts
    15
    Plugin Contributions
    0

    Default Rename "Model" to "Item "

    I would like to know if there is a faster better method of changing "Model" to "Item #" automatically verses having to go into many pages and retype the wording for "Model" Thank you

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Rename "Model" to "Item "

    Yes, simply re-define the word in your language files. See the tutorials/FAQ for how to.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Jun 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Rename "Model" to "Item "

    Quote Originally Posted by Kim View Post
    Yes, simply re-define the word in your language files. See the tutorials/FAQ for how to.
    Really? I tried searching for where the "Model" language text is defined, and I found defines in a whole bunch of files under the English folder. It also looks like there are other places where it is defined for the various table column headings. It looks pretty involved - or am I misreading the code? "Model" is not the best term - I agree with OP, "Item" would be a more universal way to say it - I know it would sound better for my store (flowers).

  4. #4
    Join Date
    Jun 2007
    Location
    Puerto Rico
    Posts
    15
    Plugin Contributions
    0

    Default Re: Rename "Model" to "Item "

    Quote Originally Posted by Kim View Post
    Yes, simply re-define the word in your language files. See the tutorials/FAQ for how to.


    On the english.php file there is only on location where it can be made.
    I need to change it accross the board. I did a search and i have found many many files that need to be modified, thats the reason for my question....... i dont want to end of spending 5 hours modifing this and later hear that there is a better, faster method.


  5. #5
    Join Date
    Jun 2007
    Location
    Earth
    Posts
    13
    Plugin Contributions
    0

    Default Re: Rename "Model" to "Item "

    Shouldn't take that long. On a heavily modded 1.3.7 cart, I found it on 30 pages on the admin side and 15 times on the public side.

    Now this only counts the times it's in a language call, for example in /includes/languages/english/YOURTEMPLATEFOLDER/shopping_cart.php where it's on define('TABLE_HEADING_MODEL', 'Model');

    You only have to change it in the language folders, make sure you are using the template override system correctly. Once you do that then everywhere on a page that it currently says "model" would then become "item", "thingie number" or whatever you want to call it.

    A good php editor with find/replace ability with the "prompt to replace" feature turned on, take about 10 minutes.
    Chinchilla2661

  6. #6
    Join Date
    Jun 2007
    Location
    Puerto Rico
    Posts
    15
    Plugin Contributions
    0

    Default Re: Rename "Model" to "Item "

    Quote Originally Posted by Chinchilla2661 View Post
    Shouldn't take that long. On a heavily modded 1.3.7 cart, I found it on 30 pages on the admin side and 15 times on the public side.

    Now this only counts the times it's in a language call, for example in /includes/languages/english/YOURTEMPLATEFOLDER/shopping_cart.php where it's on define('TABLE_HEADING_MODEL', 'Model');

    You only have to change it in the language folders, make sure you are using the template override system correctly. Once you do that then everywhere on a page that it currently says "model" would then become "item", "thingie number" or whatever you want to call it.

    A good php editor with find/replace ability with the "prompt to replace" feature turned on, take about 10 minutes.
    Chinchilla2661, thank you for your reply. Can you please tell me which php editor you use npw which i can use. Thank you

  7. #7
    Join Date
    Jun 2007
    Location
    Earth
    Posts
    13
    Plugin Contributions
    0

    Default Re: Rename "Model" to "Item "

    I use a variety of programs for editing, both free and not so free ;)

    However, Notepad, which is bundled with Windows, has the find/replace with prompt. There are several free php editing programs on the net, a quick Google is sure to find one that will suit your needs. I would suggest Crimson. It might be a good idea to grab a copy of it no matter what as it will come in handy when setting up the template system to customize the look of your store.
    Chinchilla2661

 

 

Similar Threads

  1. Replies: 3
    Last Post: 15 Feb 2013, 03:17 PM
  2. Remove "Product Image" "Item Name" and "Price"...
    By rebekah in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Sep 2008, 06:08 PM
  3. How can I rename the "add to cart" to "checkout now"?
    By InterSign in forum General Questions
    Replies: 5
    Last Post: 6 May 2008, 08:45 PM
  4. Changing the word "Model:" to "Item #:"
    By RummageGuy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Jan 2007, 04:40 AM

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