Home | Store | osCommerce Tutorials

osCommerce Quick Find File Path

The osCommerce Categories Box is located in the Left Column. We already skim over the file structure of the osCommerce Left Column before. Now, we are going to study the Quick Find or Search Box in osCommerce shop.

Before study the code structure of the osCommerce main categories, let's see the file path of the Quick Find. The following diagram illustrate how the search page (search.php) inserted into the osCommerce Left Column and finally display the search result:

osCommerce Quick Find File Structure

The following line of code in the osCommerce homepage will inserted the includes/column_left.php file into index.php.

require(DIR_WS_INCLUDES . 'column_left.php')

The DIR_WS_INCLUDES was defined in the configure.php file as "includes/". Therefore the file path of the column_left.php is includes/column_left.php.

Inside the column_left.php file, the file path of the Quick Find file is:

include(DIR_WS_BOXES . 'search.php');

The DIR_WS_BOXES was defined in the configure.php file as "includes/boxes/". Therefore the file path of the search.php is:

includes/boxes/search.php

This osCommerce tutorial discuss the file path of osCommerce Quick Find Box or Search Box.