Line 10 is throwing a unexpected < when i test it. Not sure what is wrong since the previous IF statement went through fine :/
<?php
/////////BEGIN CART GOAL REACHER2
if ($grandTotal < 5.00){
$goal = 5.00;
$difference = $grandTotal - $goal;
$view_cart->assign("GOAL_ALERT","You are only '. $difference.' away from earning the $5 promo!");
$view_cart->parse("view_cart.cart_true.goal_alert");
}else if($grandTotal > 5.00 AND < 10.00){
$goal2 = 10.00;
$difference2 = $grandTotal - $goal2;
$view_cart->assign("GOAL_ALERT","YAY! You earned the $5 promo and you are only '. $difference2.' away from earning the $10 promo!");
$view_cart->parse("view_cart.cart_true.goal_alert");
}else if ($grandTotal => 10.00){
$view_cart->assign("GOAL_ALERT","YAY! You earned BOTH the $5 and $10 promos with this order!");
$view_cart->parse("view_cart.cart_true.goal_alert");
}
?>