| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Quick smarty question | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||||
|
|||||||||
|
I want to display a block of text for certain categories. I have this smarty code:
{if $smarty.get.cat eq "292"}some text{/if} How do I change that to show the text for multiple category numbers?
__________________
~ Andrea Beight |
|||||||||
|
#2
|
|||||||
|
|||||||
|
Just $cat should suffice...
Code:
Code:
http://smarty.php.net/manual/en/language.function.if.php
__________________
xcartmods.co.uk |
|||||||
|
#3
|
|||||||||
|
|||||||||
|
Thanks, Phil!
__________________
~ Andrea Beight |
|||||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||