| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
show subcats with product list | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi,
I want to display the list of subcategories on this page http://demo.x-cart.com/demo/home.php?cat=23 In this case they are: Internet and Software Is there a variable that has that kind of data Similar to $allcategories I would build my one php code bt I am not sure where to put it. Thank you
__________________
Gold, X-Cart version 4.1.10 |
|||||||
#2
|
|||||||
|
|||||||
![]() i've done it
made my own array $_allsubcategories = func_get_categories_list($current_category['parentid'], true, "level"); $smarty->assign("allsubcategories", $_allsubcategories['subcategories']); in categories.php + {foreach from=$allsubcategories item=subcat} <a href="home.php?cat={ $subcat.categoryid }" class="subcategoryList">{ $subcat.category|escape }</a> {/foreach} in subcategories.tpl
__________________
Gold, X-Cart version 4.1.10 |
|||||||
#3
|
|||||||
|
|||||||
![]() Hey Alla.. any chance you can post a sample or PM me, if I am understanding you this displays each of the subcats when the lowest cat is selected.
Computers/Mac/Macbooks This would display all the categories at the MAC level even though I was on the Macbook product category. Thanks
__________________
X-Cart version 4.0.18 X-Cart version 4.1.9 |
|||||||
#4
|
|||||||
|
|||||||
![]() I am having the same problem and can't find the solution, any help would be appreciated.
__________________
----------------- xcart gold [linux - apache] Version 4.0.1 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|