Skip to content

Commit 01609e7

Browse files
committed
ACP2E-3463: Invalid discount calculation with priority
1 parent a796074 commit 01609e7

File tree

1 file changed

+3
-1
lines changed
  • app/code/Magento/SalesRule/Model/Rule/Action/Discount

1 file changed

+3
-1
lines changed

app/code/Magento/SalesRule/Model/Rule/Action/Discount/CartFixed.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,9 @@ public function calculate($rule, $item, $qty)
133133
$qty,
134134
$baseItemPrice,
135135
$baseItemDiscountAmount,
136-
$baseRuleTotals - $address->getBaseDiscountAmount(),
136+
//$baseRuleTotals - $ruleTotals['base_items_discount_amount'],
137+
//$baseRuleTotals - $address->getBaseDiscountAmount(),
138+
$baseRuleTotals,
137139
$discountType
138140
);
139141
}

0 commit comments

Comments
 (0)