| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Adding an OR statement | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||||
|
|||||||||
|
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
|
|||||||
|
|||||||
|
try
Code:
__________________
xcartmods.co.uk |
|||||||
|
#3
|
|||||||
|
|||||||
|
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
|
|||