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![]()
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![]()
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.
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).
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.
![]()
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
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