| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Subcategories Listing help! | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Im currently trying to implement a shop by brand section in a drop down menu.
Code:
but the above once into a category it will then list the subcategories, but i just want the subcategories to be displayed under the specific cat. what I require is for the main cat i created (ie. shop by brand) just to display the its subcategories subcategories I have tried to include a if statement Quote:
but that just gives me a smarty php error of an unexpected $ any help would be grateful. many thaks Anton http://www.savatrader.com/xcart/customer/home.php |
|||||||
#2
|
|||||||
|
|||||||
![]() Need to separate the two bits:
{if $config.general.root_categories eq "351"} {section=sub_cat loop=$subcategories} Your loopy bits {/section} {/if} I know this is previous cos you have drop downs on your site now - but as these were hardcoded this might help. ![]()
__________________
ex x-cart guru ![]() |
|||||||
|
|||
X-Cart forums © 2001-2020
|