Hi there,
I've asked this a few times now but got no reply, what is the name of the language file for the manufactures dropdown box and where is it located?
Thanks for you time,
Wilbo
Hi there,
I've asked this a few times now but got no reply, what is the name of the language file for the manufactures dropdown box and where is it located?
Thanks for you time,
Wilbo
There isn't one... the manufacturers' data is stored in the database.
20 years a Zencart User
Ah, the problem I have it that my site sells art so I need to change the bit that says "All Maufacturers" to "All Artists".
Will I have to go into the database to change this?
Okay I see what you want...
These CONSTANTS are called language defines.
When I used ADMIN>>>TOOLS>>>DEVELOPERS TOOLKIT to do a search for this CONSTANT, I find that it occurs as follows:
/includes/languages/english/advanced_search.php
Line #31 : define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
/includes/languages/english/advanced_search_result.php
Line #42 : define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
/includes/languages/english/index.php
Line #47 : define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
... So you'll need to edit the defines in the three files shown above.
HOWEVER... you need to FTP these files to your local machine, edit them on your local machine, then FTP the edited version s to the OVER-RIDE folders of your template.
EG:
For: /includes/languages/english/index.php
Edited file goes to: /includes/languages/english/YOUR_TEMPLATE/index.php
20 years a Zencart User
PS: ...
This is what you will need to edit on each define statement:-
define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
Becomes:-
define('TEXT_ALL_MANUFACTURERS', 'All Artists');
You DO NOT change the UPPER_CASE_CONSTANT
20 years a Zencart User
Thanks Schoolboy,
I didn't realise that the same thing could be in more that one language file.
Thanks again![]()