We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35c69e7 commit ec03a27Copy full SHA for ec03a27
app/code/Magento/SalesRule/Model/Quote/Discount.php
@@ -238,9 +238,8 @@ public function collect(
238
$this->eventManager->dispatch('sales_quote_address_discount_item', $eventArgs);
239
$this->aggregateItemDiscount($child, $total);
240
}
241
- } else {
242
- $this->aggregateItemDiscount($item, $total);
243
+ $this->aggregateItemDiscount($item, $total);
244
if ($item->getExtensionAttributes()) {
245
$this->aggregateDiscountPerRule($item, $address);
246
0 commit comments