Skip to content

Commit 5b50b5b

Browse files
committed
MC-42885: Bundle Product - Fixed Product Tax - Shipping error
- fix
1 parent 6063639 commit 5b50b5b

File tree

1 file changed

+2
-3
lines changed
  • app/code/Magento/Weee/Model/Total/Quote

1 file changed

+2
-3
lines changed

app/code/Magento/Weee/Model/Total/Quote/Weee.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,8 @@ protected function recalculateParent(AbstractItem $item)
310310
foreach ($item->getChildren() as $child) {
311311
$associatedTaxables[] = $child->getAssociatedTaxables();
312312
}
313-
$item->setAssociatedTaxables(
314-
array_unique(array_merge([], ...$associatedTaxables))
315-
);
313+
$associatedTaxables = array_merge([], ...$associatedTaxables);
314+
$item->setAssociatedTaxables($associatedTaxables);
316315
}
317316

318317
/**

0 commit comments

Comments
 (0)