Skip to content

Commit ec03a27

Browse files
committed
ACP2E-3403: Cart Price Rules Miscalculating Discount
1 parent 35c69e7 commit ec03a27

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/SalesRule/Model/Quote/Discount.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,8 @@ public function collect(
238238
$this->eventManager->dispatch('sales_quote_address_discount_item', $eventArgs);
239239
$this->aggregateItemDiscount($child, $total);
240240
}
241-
} else {
242-
$this->aggregateItemDiscount($item, $total);
243241
}
242+
$this->aggregateItemDiscount($item, $total);
244243
if ($item->getExtensionAttributes()) {
245244
$this->aggregateDiscountPerRule($item, $address);
246245
}

0 commit comments

Comments
 (0)