Skip to content

Commit 017d3c3

Browse files
author
Stanislav Idolov
authored
ENGCOM-3006: Fix shipping discount failed to apply during place order #18098
2 parents 7cf1156 + c1ac94d commit 017d3c3

File tree

1 file changed

+2
-3
lines changed
  • app/code/Magento/Tax/Model/Sales/Total/Quote

1 file changed

+2
-3
lines changed

app/code/Magento/Tax/Model/Sales/Total/Quote/Tax.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,8 @@ protected function clearValues(Address\Total $total)
164164
$total->setBaseShippingInclTax(0);
165165
$total->setShippingTaxAmount(0);
166166
$total->setBaseShippingTaxAmount(0);
167-
$total->setShippingAmountForDiscount(0);
168-
$total->setBaseShippingAmountForDiscount(0);
169-
$total->setBaseShippingAmountForDiscount(0);
167+
$total->setShippingAmountForDiscount(null);
168+
$total->setBaseShippingAmountForDiscount(null);
170169
$total->setTotalAmount('extra_tax', 0);
171170
$total->setBaseTotalAmount('extra_tax', 0);
172171
}

0 commit comments

Comments
 (0)