Maybe this could get pinned to make it easy to find and others could add to this list their How do I...? with the ANSWER!
How Do I ……
1. … Change the OsCommerce in the Title?
Log into the admin then go to Configuration > My Store and edit Store Name
2. … Change the What’s New Here on the front page?
Go to catalog/includes/languages/English/index.php
Find the following line and change it to what you want it to say
define('HEADING_TITLE', 'What\'s New Here?');3. … Change the Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account on the front page?
Go to catalog/includes/languages/English/index.php
Find the following line and change it to what you want it to say [code define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?'); [/code]
4. … Change the default text on the front page?
Go to catalog/includes/languages/English/index.php
Find the following line that starts with the following (about line 13 – usually the first one ) and change it to what you want it to say
define('HEADING_TITLE', 'TEXT_MAIN', 'This is a default setup …… . PROJECT_VERSION . '</b></font>.');');An easier way to do this is to install the contribution Define MainPage then you can change the default text whenever you like through the Admin section
5. … Remove the ??? box from the left / right side?
Go to catalog/includes/column_left.php OR column_right.php and put // in front of the line with the box name that you want to remove.
An easier way is to install the contribution InfoBox Admin which will let you remove the boxes, move them to the other column through clicking buttons through the admin. You can also add other boxes easily through this as well.
6. … Move the ??? box from the left / right side?
Go to catalog/includes/column_left.php OR column_right.php and put // in front of the line with the box name that you want to remove. Copy that line then add it into the other file where you want it to be.
An easier way is to install the contribution InfoBox Admin which will let you remove the boxes, move them to the other column through clicking buttons through the admin. You can also add other boxes easily through this as well.
7. … Add the ??? box from the left / right side?
Go to catalog/includes/column_left.php OR column_right.php and copy a line then change it into the file that you want to add.
An easier way is to install the contribution InfoBox Admin which will let you remove the boxes, move them to the other column through clicking buttons through the admin. You can also add other boxes easily through this as well.
8. … Remove / Add the rounded corners to the info boxes on the left or right columns?
Go to catalog/includes/boxes and open the corresponding file name for the box you want to change. Here is the code that will change this – look for the line that you have (eg left rounded) then change it to what you want it to be.
No rounded corners
new infoBoxHeading($info_box_contents, false, false);
Right rounded corner
new infoBoxHeading($info_box_contents, false, true);
Left rounded corner
new infoBoxHeading($info_box_contents, true, false);
Both rounded corners
new infoBoxHeading($info_box_contents, true, true);
9. … Remove / Add the rounded corners to the info boxes in the middle part of the page? (eg: New Products for MONTH)
Go to catalog/includes/modules and open the corresponding file name for the box you want to change. Change the following code to the one above that you want.
new contentBoxHeading($info_box_contents);
10. … Change the default text ???? on the ???? page
Go to catalog/includes/language/YourLanguage/ and choose the filename with the same name as the page you want to change. Look for the text in there that you want to change
11. … Change the Title in the ???? Box?
Go to catalog/includes/English.php and find the line where NAME_OF_BOX is the box you want to change and Title of Box is the title that is showing and change the Title of Box to what you want
define('BOX_HEADING_NAME_OF_BOX, 'Title of Box');12. … Remove the Top from the breadcrumb?
Go to catalog/includes/application_top.php and put // in front of the following line (around 482)
$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
13. … Change Top or the Catalog on the breadcrumb?
Go to catalog/includes/English.php and find the following lines and make the changes as necessary
define('HEADER_TITLE_TOP', 'Top');
define('HEADER_TITLE_CATALOG', 'Catalog');14. … Change the >> in the breadcrumb?
Go to catalog/includes/header.php and find the following line – about 63 and change the bit that begins after trail that begins with the & and ends in the ; to the character that you want.
<td class="headerNavigation"> <?php echo $breadcrumb->trail(' & raquo; '); ?></td>15. … Change the default currency to one that is not USD to get the prices to show?
Go to catalog/includes/languages/English.php and around line 39 find
define('LANGUAGE_CURRENCY', 'USD'); and change the USD to Currency code that you want to use. 16. … Change the date format to DD/MM/YYYY?
Go to catalog/includes/languages/English.php and around line 21
define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()change it to
define('DATE_FORMAT_SHORT', '%d/%m/%Y'); // this is used for strftime()Then around line 23 find this
define('DATE_FORMAT', 'm/d/Y'); // this is used for date() and change it to define('DATE_FORMAT', 'd/m/Y'); // this is used for date()You also need to make the same changes in catalog/ADMIN/includes/languages/English.php
17. How do I change the font / colour / size?
Go to catalog/includes/stylesheet.css and make the changes in there for the main site.
Go to catalog/admin/includes/stylesheet.css and make the changes in there for the admin section.
Happy coding!

Sign In
Register
Help



MultiQuote