Is there a shortcut to write this. I'm sure there is. IF( $line[itemstatus]== 'SHIPPED' || $line[itemstatus]== 'IN STOCK' || $line[itemstatus]== 'DIRECT')
You could use [man]switch[/man] or put the conditions in an array and use [man]in_array[/man]