I have everything working except the:
{if $subcategories ne "" and $current_category.category ne "" and $config.General.root_categories ne "Y"}
{ include file="customer/subcategories.tpl" }
{/if}
code that should display the subcategories of the left hand side once a root categorie is "clicked".
I place this code where the categories include statment was in the customer/home.tbl file.
If I comment out the {if} statement the subcategorie menu loads fine and will display the correct subcategorie for the root categorie that is clicked.
Why would the if statement not work. Did I put it in the wrong place?
I'm running version 4.0.6.
Thanks for your help..
|