okay the basic thing i need to do is have a search by brand drop down box on my top seciton of my site. I already made a category called "search by brand" and its id=8. I need the drop box to show all the sub categories within it.
here's the code i got now, yes i know its referencing the main categories, but how do i make it reference the ones only in the subcategory of brand?
Code:
<form name="form_cat" method="get" action="home.php">
<select name="cat" onChange="document.form_cat.submit()">
<option value="0">Select...</option>
{section name=cat_num loop=$categories}
<option class=CategoriesList value="{$categories[cat_num].categoryid}">{$categories[cat_num].category_name|escape}</option>
{/section}
</select>
</form>
this is on the main page not when somone clicks on a category so the form has to only draw from the cat=8.
here's a link to see
http://www.henshinauto.com/shop/customer/home.php
so basically in the drop down i wanna see
search by brand
buddy club 2
kaminari
etc
this has to be dynamic and not static...if it were static then i'd be done by now.