DHL
This commit is contained in:
@@ -161,15 +161,7 @@ class DHL extends AbstractDeliveryModule
|
||||
->orderByMaxWeight(Criteria::ASC)
|
||||
->findOne();
|
||||
|
||||
while (prev($areaPrices)) {
|
||||
if ($weight > key($areaPrices)) {
|
||||
break;
|
||||
}
|
||||
|
||||
$postage = current($areaPrices);
|
||||
}
|
||||
return $postage;
|
||||
|
||||
return $deliveryPrice->getPriceWithTax();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user