Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Manufacturers?


jason97673

Recommended Posts

Posted

Hello,

 

I am in a book publishing company and would like to switch Manufacturers to Authors. Is there a way I can do that other than going in every file and changing the word manufactures to authors 10,000 times? I looked all around the admin area and dont think you can do it in there.

 

I noticed some live sites have done it, but how? Is there a contribution that I can download that will do that? Or what? Thanks

Posted
Hello,

 

I am in a book publishing company and would like to switch Manufacturers to Authors. Is there a way I can do that other than going in every file and changing the word manufactures to authors 10,000 times? I looked all around the admin area and dont think you can do it in there.

 

I noticed some live sites have done it, but how? Is there a contribution that I can download that will do that? Or what? Thanks

 

 

Go through all the language files in the includes/language/ folder for the language you want to change. Don't forget to also check out includes/english.php or (insert correct language).php

 

Also go through the same thing for the langauage files in the Admin folder to see the change on the backend as well.

 

Make sure and check each file as references to Manufacturers can show up anywhere. Especially if you have any contributions installed.

 

Here's an example from one of my files where I changed to Artist Info

 

define('BOX_HEADING_MANUFACTURER_INFO', 'Artist Info');

 

just change the portion where I have "Artist Info" in the code example. make sure and leave the apostrophe's around the text. if you need a literal apostrophe in the text put "\" in front of it.

 

HTH

Travis

Posted

Yes look in your ftp /includes/languages/english.php or whatever language you are using there is all the wording for the pages. also there is a english directory for page specific language files.

 

 

Hello,

 

I am in a book publishing company and would like to switch Manufacturers to Authors. Is there a way I can do that other than going in every file and changing the word manufactures to authors 10,000 times? I looked all around the admin area and dont think you can do it in there.

 

I noticed some live sites have done it, but how? Is there a contribution that I can download that will do that? Or what? Thanks

Posted

Using a Text Editor to "Find in Files," searching the stock Osc catalog, you can find all references to (English language) Manufacturer:

 

Back end:

  • admin\includes\languages\english\manufacturers.php( Line 13): define('HEADING_TITLE', 'Manufacturers');
  • admin\includes\languages\english\manufacturers.php(15): define('TABLE_HEADING_MANUFACTURERS', 'Manufacturers');
  • admin\includes\languages\english\manufacturers.php(22): define('TEXT_MANUFACTURERS', 'Manufacturers:');
  • admin\includes\languages\english\manufacturers.php(31): define('TEXT_MANUFACTURERS_NAME', 'Manufacturers Name:');
  • admin\includes\languages\english\manufacturers.php(32): define('TEXT_MANUFACTURERS_IMAGE', 'Manufacturers Image:');
  • admin\includes\languages\english\manufacturers.php(33): define('TEXT_MANUFACTURERS_URL', 'Manufacturers URL:');
  • admin\includes\languages\english\manufacturers.php(36): define('TEXT_DELETE_IMAGE', 'Delete manufacturers image?');

Front end:

  • includes\database_tables.php(31): define('TABLE_MANUFACTURERS', 'manufacturers');
  • includes\database_tables.php(32): define('TABLE_MANUFACTURERS_INFO', 'manufacturers_info');
  • includes\languages\english.php(76): define('BOX_HEADING_MANUFACTURERS', 'Manufacturers');
  • includes\languages\english\advanced_search.php(24): define('ENTRY_MANUFACTURERS', 'Manufacturers:');
  • includes\languages\english\advanced_search.php(33): define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
  • includes\languages\english\index.php(35): define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

jon

It's all just ones and zeros....

Posted

Thanks for the help. I actually saw the english file but Im guessing its not possible to completely get rid of manufacturers in the database etc? Just in the wording correct?

Posted

I reponded to your original post, which didn't address getting rid of Manufacturers altogether; rather, how to make use of the Manufacturer's structure using "Author". Changing the word in the files listed above is not difficult and should take you about 10 minutes.

 

If you find you need more functionality (additional elements), give this a try first and see what you need.

 

jon

It's all just ones and zeros....

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...