Change OsCommerce category to Tree View
August 25th, 2008 — ¥ong¥sFirst, I am new to OsCommerce and php programming (yes, a MS guy here). Recently, I am helping my friend to setup a web store using OsCommerce. Frankly, OsCommerce is a well-known open source web store. I don’t think I need to talk much here. When come to customization, I come across one requirement; change left category to a TreeView. I try to search on google but found nothing. But some post did mentioned OsCommerce itself already support treeview structure. We just need to change categories.php in “os\catalog\includes\boxes” to make it look like a treeview. Here is the outcome after some customization.
How to change it?
1. Download this source (zip) file and upload “treeview” folder into “os\catalog\images” folder.
2. Upload “categories.php” to replace the file in “os\catalog\includes\boxes”.
Hope this can benefit to anyone who need this features. Do let me know it got any bugs!
