Home | Store | osCommerce Tutorials

osCommerce Quick Find Header File Structure

Actually the file structure and design of all osCommerce Box Headers are almost the same. We have discussed the file structure of osCommerce Box Headers in previous tutorials. Therefore we will not discuss the code structures in details again.

Open the includes/boxes/search.php file.

The following three lines of codes are used to display the Quick Find Header.

$info_box_contents = array();
$info_box_contents[] = array('text' => BOX_HEADING_SEARCH);

new infoBoxHeading($info_box_contents, false, false);

osCommerce Customization Tips:
Remove the osCommerce Quick Find Header by commenting the above three lines of codes

The Box Heading of osCommerce Quick Find Box (BOX_HEADING_SEARCH) is defined in the catalog/includes/languages/language.php file (line 81 - line 84):

// quick_find box text in includes/boxes/quick_find.php
define('BOX_HEADING_SEARCH', 'Quick Find');
define('BOX_SEARCH_TEXT', 'Use keywords to find the product you are looking for.');
define('BOX_SEARCH_ADVANCED_SEARCH', 'Advanced Search');

This is the end of osCommerce Quck Find Box Header tutorial.