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 f8ff3fa commit 35c69e7Copy full SHA for 35c69e7
app/code/Magento/SalesRule/Model/Quote/Discount.php
@@ -238,8 +238,9 @@ 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