| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Display if current category ne to cat 6 | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Display if current category ne to cat 6
I want the category (home.php?cat=6) to not display a certain include file.
I tried this, but it doesn't work: {if $main eq "catalog" and $current_category.category gt "1" and $current_category.category ne "6"} {include file="customer/main/left_subcategories.tpl"} {/if} This is the full statement located in home.tpl.
__________________
Product: X-Cart Gold Current version: 4.0.14 Additional Mods: X-Affiliate |
|||||||
#2
|
|||||||
|
|||||||
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Thanks, btw, what did you search for to find that?
I spent like 10 minutes searching before I posted.
__________________
Product: X-Cart Gold Current version: 4.0.14 Additional Mods: X-Affiliate |
|||||||
|
|||
X-Cart forums © 2001-2020
|