| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Adding an OR statement | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
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
__________________
https://www.bedstar.co.uk |
|||||||||
#2
|
|||||||
|
|||||||
Re: Adding an OR statement
try
Code:
__________________
xcartmods.co.uk |
|||||||
#3
|
|||||||
|
|||||||
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
|
|||||||
|
|||
X-Cart forums © 2001-2020
|