Skip to content

Commit 01dd146

Browse files
author
Serhii Balko
committed
MC-41069: Free Shipping enables with wrong total for DHL
1 parent 9d666cc commit 01dd146

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

app/code/Magento/Shipping/Model/Carrier/AbstractCarrierOnline.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -648,16 +648,6 @@ public function setRawRequest($request)
648648
*/
649649
public function getMethodPrice($cost, $method = '')
650650
{
651-
if ($method == $this->getConfigData(
652-
$this->_freeMethod
653-
) && $this->getConfigFlag(
654-
'free_shipping_enable'
655-
) && $this->getConfigData(
656-
'free_shipping_subtotal'
657-
) <= $this->_request->getBaseSubtotalWithDiscountInclTax()) {
658-
return '0.00';
659-
}
660-
661651
return $method == $this->getConfigData(
662652
$this->_freeMethod
663653
) && $this->getConfigFlag(

0 commit comments

Comments
 (0)