Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable to change header logo


boostanddestroy

Recommended Posts

i did what the sticky @ the top said to do but i cannot find the particular area of text it is talking about in the header.php file. i just put oscommerce on a couple days ago so im a little unclear but if someone could point me in the right direction i would appreciate it.

 

 

ALSO I AM UNABLE TO CHANGE MY SHIPPING/HANDLING SECTION HOW DO I GO ABOUT THAT?

noob-

Link to comment
Share on other sites

You may want to do this. Just rename the oscommerce.gif file to an xoscommerce.gif and then upload your new image as oscommerce.gif. When you have it the way you like, just go back and delete the xoscommerce.gif file. Cheating yes, but object results are the same.

 

Dale

Link to comment
Share on other sites

This is not cheating. This is an accepted method of maintaining order to a sites' files. Whenever you wish to change it you simply upload a new image with the same name. This also removes the necessity of having to modify the code. You should actually give the original file a more descriptive name (eg. orig_oscommerce.gif) and keep it around for emergency/reference.

 

You can even overwrite the original gif file (after saving it with a different name) with a jpg or png. The type extension doesn't matter for the banner and after all it's only a name.

For ALL problems, please review this link first -> osCommerce Knowledge Base

Link to comment
Share on other sites

You can even overwrite the original gif file (after saving it with a different name) with a jpg or png. The type extension doesn't matter for the banner and after all it's only a name.

 

One thing I found important though is PHP is case sensitive. So if your file name is oscommerce.gif you must enter the reference as oscommerce.gif not OSCommerce.gif.

Link to comment
Share on other sites

oops.

 

The default header image in 2.2rc2a is images/store_logo.png

 

Upload your new image file to this filename.

 

To change your Shipping/Handling text, go to admin Tools -> Define Languages pick shipping.php and put your new text here (including html if you wish. no single quotes unless preceeded by a backslash):

 

$text = @file_get_contents(DIR_WS_LANGUAGES . $language . 'your_new_text_here');

For ALL problems, please review this link first -> osCommerce Knowledge Base

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...