This is a discussion on Problems displaying Sub-Categories / Products on same page within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi, I have been playing with my MS2 MAX 1.5 install and coming along well with my store. Although I ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| Hi, I have been playing with my MS2 MAX 1.5 install and coming along well with my store. Although I now have a problem. I initially wanted to keep all of my categories in the same format whereby they either had sub-categories in them or products. However, I have come to the point where I need to display at least 7 products or so and one single sub-category. The problem is....although my products are displaying as expected, the subcategories do not. I can see that they are there in the categories info box but they do not appear in the main content area. Is there a fix for this or am I being a spazz? http://www.extrememetal.co.uk/index.php?cPath=0_24_35 Thanks in advance for any input. |
|
#2
| |||
| |||
| Well I managed to fix this fairly easily by altering the code in index.php slightly to reflect set a different $category_depth variable for categories which contain both products and sub-categories at that level. This then displays a template which is effectively is both index_nested.tpl.php and index_product.tpl.php combined into one file. Easy in the end really. |
|
#3
| |||
| |||
| anyone have a code sample for this? i am running into this problem as well.... |
|
#4
| |||
| |||
| I actually wrote around this problem myself, since I posted this problem initially, if you visit http://www.extrememetal.co.uk you will see this in operation. Drop me a line through the site and I will gladly forward you my ammeded code. |
|
#5
| ||||
| ||||
| Guest, better yet, how about you just attach the ammended code to your post here, that is, after all, what this forum is for...
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Admin/categories.php lists all 5000 products on same page... | JonCloud420 | osCMax v2 Features Discussion | 3 | 02-06-2007 10:31 AM |
| No categories, just products, on main page, with dropdowns | dave_rave_old | osCMax v2 Customization/Mods | 4 | 03-12-2006 04:24 AM |
| Products/Categories on front page | webguy262 | osCommerce 2.2 Modification Help | 1 | 08-01-2005 05:45 AM |
| Products/Categories on front page | webguy262 | osCommerce 2.2 Modification Help | 0 | 05-12-2004 04:31 PM |
| Displaying less products on front page | angie201 | osCommerce 2.2 Modification Help | 3 | 04-01-2003 03:16 PM |