osCommerce v2.3.3 Tutorials | osCommerce eBook Store | osCommerce Tutorials | osCommerce Home

osCommerce v2.3.3 Homepage File Structure Overview Again

We have discussed the file structure of osCommerce v2.2 RC2a very extensively in our other tutorials. Basically the core file structure of osCommerce v2.3.3 is without much changes. Therefore if you read all our osCommerce File Structure Tutorials, you should be very easily to follow osCommerce v2.3.3.

Let's take a quick look at the file structure of osCommerce v2.3.3 and see the major difference of this new version. As before we start with the homepage (index.php) of osCommerce shop.

osCommerce application_top.php File

osCommerce v2.3.3 is still using the application_top.php file in the same way, and can be found in line 13.

require ('includes/application_top.php');

As we learned before that the application_top.php file as a booting system of the osCommerce shop. It will load up all necessary files before displaying the osCommerce web pages.

osCommerce HTML Head Section and Header

In osCommerce v2.2, the HTML head section, the header layout, the left column and right column are coded in the homepage (index.php).

oscommerce 2.3.3 file structure

osCommerce v2.3.3 template_top.php file

In osCommerce v2.3.3, there is a little difference. The HTML Head Section, header section and some parts of contents are moved to the template_top.php file, making the codes of homepage a little bit clean and simple than previous version. However the codes are actually working in the same way.

oscommerce 2.3.3 file structure

Take a quick look at template_top.php file, and you will find the codes of HTML Head Section.

oscommerce 2.3.3 file structure

And the header section is included in line 60.

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

oscommerce 2.3.3 file structure

osCommerce Left Column, Right Column and Footer

Moreover, the codes of Right Column, Left Column and Footer are moved or included in template_bottom.php file, which can be found in line 274 of osCommerce homepage:

require(DIR_WS_INCLUDES . 'template_bottom.php');

oscommerce 2.3.3 file structure

osCommerce v2.3.3 template_bottom.php file

You can find the PHP codes printing out the Left Column and Right Column. While the Footer is included in the footer.php file.

oscommerce 2.3.3 file structure

Therefore the osCommerce Footer Section can also be customized with the includes/footer.php file, which is same as previous version.

As you can see, the file structure of osCommerce v2.3.3 homepage is working basically the same way as previous version.