Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing osCommerce top banner?


Jennifer1

Recommended Posts

Posted

Look in the catalog/includes/header.php file for the following bit of code:

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr class="header">
   <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.png', STORE_NAME)) . '</a>'; ?></td>
<td>

 

The code may differ slightly. There are a couple of ways to do it so this is only one way. Please two slashes (//) before the word echo and after the <?php so that it ends up:

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr class="header">
   <td valign="middle"><?php // echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.png', STORE_NAME)) . '</a>'; ?></td>
<td>

 

This will leave the code there so as to preserve the table format and allowing you to put a logo there in the future, if you desire.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Archived

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

×
×
  • Create New...