Skip to content

Commit

Permalink
Fix bug where free shipping
Browse files Browse the repository at this point in the history
Calculation was not based on correct value
magento#28472
  • Loading branch information
pixelhed authored Aug 3, 2020
1 parent 12cdc54 commit 25ea6ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -596,8 +596,8 @@ protected function processProductItems(
$address = $shippingAssignment->getShipping()->getAddress();
$address->setBaseTaxAmount($baseTax);
$address->setBaseSubtotalTotalInclTax($baseSubtotalInclTax);
$address->setSubtotal($total->getSubtotal());
$address->setBaseSubtotal($total->getBaseSubtotal());
//$address->setSubtotal($total->getSubtotal());
//$address->setBaseSubtotal($total->getBaseSubtotal());

return $this;
}
Expand Down

0 comments on commit 25ea6ca

Please sign in to comment.