Guest Posted September 27, 2005 Posted September 27, 2005 I tryed to serch the forum but dindt find the answer. Maybe I miss something or is my stupidity, who knows.... I saw in a lot of OSCOMMERCES that each category have a distinct central page. Example, when you open the main page the central portion of the site shows the categories like figures that you can click on. When you click on a categorie the central portion of the site showns figures of the subcategories. How can I do that?
Guest Posted October 20, 2005 Posted October 20, 2005 OK, lets see maybe I wasnt very clear. Here is an example, in this site the category "Airplane Kits" shows pictures and the name of the sub-categories http://www.allerc.com/index.php?cPath=2 . In my site I does not have this http://www.asaseletricas.com.br/loja/index.php?cPath=8 . How can I do that? I know that is a simple thing, please can any one answer?
Guest Posted October 20, 2005 Posted October 20, 2005 I remember something about it in the catalog\index.php I had to do when the category has sub-categories and products it will go through the products and ignore the sub-categories. search for this in that file: } elseif ($category_depth == 'products' || isset($HTTP_GET_VARS['manufacturers_id'])) { after that maybe 50 lines below passing all the sort case statements you need to have categories names and description That is before this line <td><?php include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING); ?></td> The code to display the categories is already there. You need to duplicate it before the product listing as well to cover the case of categories with products and sub-categories. And also search the contributions if something like this already exists.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.