| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
If Condition in Template | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
If Condition in Template
I want to change the subcategory layout on a category page, but I only want the layout to be different for one particular category. Is there a way within the category template to do something like this:
if current category == 34 { THIS HTML HERE } else { //for all other categories DEFAULT HTML HERE }
__________________
4.0.19 |
|||||||
#2
|
|||||||
|
|||||||
Re: If Condition in Template
Have you read through this thread?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Re: If Condition in Template
Perfect, thanks!
__________________
4.0.19 |
|||||||
|
|||
X-Cart forums © 2001-2020
|