This commit is contained in:
Frank John Begornia
2023-09-24 16:17:22 +08:00
parent 33b7ab7b7f
commit 1186d090bb
2 changed files with 13 additions and 1 deletions

View File

@@ -296,6 +296,7 @@ class PaypalController extends Controller
}
$array_storename = $UserModel->selectTeamStoreName($cartKey); // email subject
$items = $m->myCart($cartKey); // item from cart_tmp
$getSubtotal = $m->getSubtotal($cartKey);
@@ -387,6 +388,17 @@ class PaypalController extends Controller
return $shippingFee = 0;
}
if (count($array_storename) >= 1 && count($array_storename) <= 1) {
if($array_storename[0]->NoShippingFee) {
return $shippingFee = 0;
}
}
// if(count($array_storename) > ) {
// }
return $shippingFee;
}