Quote:
Originally Posted by mart
i have about 3000 categories in my store,so the xcart is very very very slow
SEE OLD.JPG
so i want to do like below
1.only show 2 level in the left menu
2.show subcategories after 2 level,when user click the categories.
SEE NEW.JPG,THIS IS I WANT
I do like below
1.add categorieslevel in the xcart_categories table,then set categorieslevel to level1,level2,level3..
2.change categories.php
Code:
$search_condition[] = "$sql_tbl[categories].categorylevel <= 2";
its work very fast now,Xcart only show 2 level in the lefr menu
but i cannot see the subcategories under 2 level,So anyboday can help me for this?
|
You want to show a 2 level in the left menu.
When you select a different category, start to show for this category all its sub-categories in the left menu (after page reload)?
PS. Fancy Category mod active?
PS2. More needs code file for left block menu (tpl file).