![]() |
Adding an OR statement
Hi All
Could someone tell me the structure for an OR statement i.e {if $cat eq '277' OR '278'} do this action {/if} Im not quite sure how to write it thanks john Xcart 3x |
Re: Adding an OR statement
try
Code:
{if $cat eq '277' || $cat eq '278'} |
Re: Adding an OR statement
you can use "or" or "||" whichever you are more comfortable with...but you need to add "$cat eq" to the latter half of your statement
|
All times are GMT -8. The time now is 07:07 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.