Home - Help & Support - Contact Us
    

How To Turn Infoboxes On Or Off

There is a possibility to turn on/off all the standard osCommerce infoboxes. Due to design some of them are turned off but you can easily turn then on in the " /includes/column_left.php" or " /includes/column_right.php" files.

All you need is to remove comment of the appropriate box:

<?php
/*
  $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License
*/

  if ((USE_CACHE == 'true') && empty($SID)) {
    echo tep_cache_categories_box();
  } else {
    include(DIR_WS_BOXES . 'categories.php');
  }

  if ((USE_CACHE == 'true') && empty($SID)) {
   // echo tep_cache_manufacturers_box();
  } else {
  //  include(DIR_WS_BOXES . 'manufacturers.php');
  }

// require(DIR_WS_BOXES . 'whats_new.php'); // This is for "Latest Products" infobox 
//  require(DIR_WS_BOXES . 'search.php');
//  require(DIR_WS_BOXES . 'information.php');
?>


The string for box looks like require(DIR_WS_BOXES . 'THE_BOX_FILE_NAME.php');
where THE_BOX_FILE_NAME is the name of the box.

Note! You can use this feature starting from the template #13077 only.

osCommerce Templates
Rated:NR/0 Votes
560 Views
More Articles From osCommerce Templates
More Articles From osCommerce Templates
Print Article
Print
Share |
Comments, Questions & Reviews

Comments is currently disabled for this article!
Related Articles and Readings
Applying osCommerce Templates To Exisiting Shop
Ok, let's see how to install our OsCommerce Template on your existing shop without re-installing. Open your OsCommerce shop on ...
Updatig Images in osCommerce Templates
You should open your PSD file in Adobe Photoshop. Go to "sourcespsd" folder and there you will find all the ...
How to install an osCommerce template
Once you have downloaded a ZIP file, you should unpack the archive and save the unpacked files to any folder ...
Registering globals in osCommerce template
Q: I'm receiving the error that I need to enable register globals in my php.ini file. A: It's not a ...
What are osCommerce Templates?
osCommerce templates are ready made designs based on the open source ecommerce system. osCommerce is a well know e-commerce system ...
The information provided in this article is for general information and/or the comments is the sole responsibility of their respective authors and does not necessarily reflect the opinion of zeronese.net does not endorse any article and/or comments published by our web users unless otherwise noted.