| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
If Condition in Template | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
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
|
|||||||
|
|||||||
|
Have you read through this thread?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#3
|
|||||||
|
|||||||
|
Perfect, thanks!
__________________
4.0.19 |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||