Home | Store | osCommerce Tutorials

osCommerce Database: Categories Logo Images

Categories Images

Each category (e.g. Hardware, CDROM Drives, etc) has a representative image. This are small images that represent each category. Click on the picture above to see the hardware category image.

Categories Images

The filename of these images are saved in the categories_image field of categories table. As we learnt before that there are 20 Categories of this default new shop. Therefore there are also 20 records under the categories_image field. Click on the image above to see the structure of categories table.

Also pay attention to the parent_id and categories_id. The parent_id and categories_id is used to listing out the category tree (check catalog/includes/boxes/categories.php) as shown below.

oscommerce mySQL database tutorial, oscommerce database structure