This commit is contained in:
2020-12-06 21:31:09 +01:00
parent 48ed432f17
commit ee21283692
2 changed files with 1 additions and 9 deletions

View File

@@ -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();
}
/**