update shipping cost for dgs

This commit is contained in:
franknstayn
2021-09-04 21:51:39 +08:00
parent f719a6e1bb
commit 90ec4ce7d0

View File

@@ -158,7 +158,7 @@ class PaypalController extends Controller
$getSmallItemQty = ceil($getSmallItemQty / 3) * 8;
$getBulkyItemQty = ceil($getBulkyItemQty / 1) * 8;
$getMaskItemQty = ceil($getMaskItemQty / 25) * 8;
$getMaskItemQty = ceil($getMaskItemQty / 4) * 5;
$getDGSItemQty = ceil($getDGSItemQty / 4) * 5;
$shippingFee = $getSmallItemQty + $getBulkyItemQty + $getMaskItemQty + $getDGSItemQty;
// var_dump($shippingFee);