Contributions
Store Logo
These adjustments to the application will replace the osCommerce logo in the admin section of your store and create a new configuration feature in "My Store" to control it's value so that you may display your store logo here.
Expand All / Collapse All
Here is an update of the original instructions but for the latest version of osCommerce.
This is only an add on to the initial version.
This fix allows you to use this contribution with the Simple Template System
In includes/sts_display_output.php, find the following line:
$template['cataloglogo'] = '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>';
Replace it with:
$template['cataloglogo'] = '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . STORE_LOGO, STORE_NAME) . '</a>';
That should do it.
Great Mod, thanks to Greggory.
Working on oscommerce-2.2ms2.
When I was doing this modification I found a few differences in the last 2 items.
The path in the second last option needed "/include/" added.
The last option line was at line 57 and quite different syntax.
This is a modified instruction file to show the changes.
This upgrade includes the sql to add "My Store Logo", improved instructions, and expands the logo usage to the store-front.
These adjustments to the application will replace the osCommerce logo in the admin section of your store and create a new configuration feature in "My Store" to control it's value so that you may display your store logo here. These adjustments have been tested on osCommerce v 2.2 only.
These adjustments to the application will replace the osCommerce logo in the admin section of your store and create a new configuration feature in "My Store" to control it's value so that you may display your store logo here. These adjustments have been tested on osCommerce v 2.2 only.
Note: Contributions are used at own risk.