In my template condition are evaluated using php if else statement as follows
<?php
$my_product_color = 'black shirt' ///it may be blue jeans,red shoes ,yellow belt etc
if ((strpos($my_product_color ,'black') == false )){
//content
<h3>You are eligible for discounted rate for all light colors<h3>
} else {
//another content
<h3>no discount on dark colors <h3>}
?>
I have more colored products (variable values ). and want to set condition using above statement for black,blue,red,purple,green. Is it possible using two different array of color value as condition?