Hello,
I guess I am not doing the below code correctly, can you see what I am doing wrong? Thanks
The shipping method is in the $_POST, and if its above51$ it adds the signature confirmation.
PHP Code:
if(($main_total =< '51') AND ($_POST['shipping'] == 'free_shipping_FCM')) {
$shipping_method_pre = 'free_shipping_FCMS';
}elseif(($main_total > '50') AND ($_POST['shipping'] == 'free_shipping_FCM')) {
$shipping_method_pre = 'free_shipping_FCM';
}else{
$shipping_method_pre = htmlentities(mysql_escape_string(trim($_POST['shipping'])));
}
Bookmarks