In a default osCommerce setup, the category box holds your categories, and subcategories are displayed in the same box directly below the active category name. This recipe will use the category box for subcategories only while the main categories are displayed in a different menu.
By adding a navigation bar with your top categories at the top of the pages, the category box only needs to be visible if there are subcategories to a category. At all other times, the category box will be hidden to free up the space.
In this setup a horizontal navigation bar was added at the very top of the page for the top categories of the shop, which are Hardware, Software, and DVD Movies in a default osCommerce installation. By clicking on the category Software, a subcategory box shows up, displaying all the subcategories that belong to Software. The box is
still visible when you click on a subcategory from the box to show the subcategory product...