minor fixes
This commit is contained in:
@@ -19,7 +19,7 @@ class Baskets
|
||||
public static function getBasketTotal($deliveryId = false, $deliveryTypeId = false)
|
||||
{
|
||||
$saleChannelId = Deliveries::getSaleChannelId($deliveryId);
|
||||
|
||||
|
||||
return self::getBasketSummary($saleChannelId, $deliveryTypeId);
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ class Baskets
|
||||
$totalWeight += $weight;
|
||||
}
|
||||
$shipping = DeliveryTypeCalculations::getPriceByDeliveryType($deliveryTypeId, $totalWeight);
|
||||
|
||||
|
||||
$data = [
|
||||
'detail' => $detail,
|
||||
'total' => $total,
|
||||
@@ -84,7 +84,7 @@ class Baskets
|
||||
$weight = $offer->weight * $item->quantity;
|
||||
$totalWeight += $weight;
|
||||
}
|
||||
|
||||
|
||||
return $totalWeight;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user