osCommerce: Change Footer Links

If you want to change the footer links and remove the osCommerce banner it’s simple.

osCommerce Footer default

osCommerce Footer default

How to remove the osCommerce link in the footer

Open the file english.php which is found in the folder includes/languages/english.php

Just for you information, many define functions are located in this file.

You find this section:

define('FOOTER_TEXT_BODY', 'Copyright © ' . date('Y') . ' ' . STORE_NAME . '
Powered by osCommerce');

The simply replace the above code with this:

define('FOOTER_TEXT_BODY', 'Copyright © ' . date('Y') . ' ' . STORE_NAME . '');

How to remove the osCommerce banner in the footer

You’ll find a file footer.php located in the folder includes/.

Then find this part at the end of the file:

<?php
  if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>

<?php } ?>

You can remove the entire section of the banner by commenting the lines out like so:

<?php
  //if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>

<?php
  //}
?>

Another way to remove of the osCommerce banner from the footer or even replace the osCommerce from the footer

Go to your MySQL table ‘banners’.

Then set the column name ‘status’ to 0.

osCommerce disable footer banner table

osCommerce disable footer banner table

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Share

You must be logged in to post a comment.