Skip to content

Commit f3d7944

Browse files
committed
ACP2E-1516: Promotion issue with applying rule per item
1 parent c130c2d commit f3d7944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/SalesRule/Model/RulesApplier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ public function setAppliedRuleIds(AbstractItem $item, array $appliedRuleIds)
413413
$address = $item->getAddress();
414414
$quote = $item->getQuote();
415415

416-
$item->setAppliedRuleIds($this->validatorUtility->mergeIds($item->getAppliedRuleIds(), $appliedRuleIds));
416+
$item->setAppliedRuleIds(join(',', $appliedRuleIds));
417417
$address->setAppliedRuleIds($this->validatorUtility->mergeIds($address->getAppliedRuleIds(), $appliedRuleIds));
418418
$quote->setAppliedRuleIds($this->validatorUtility->mergeIds($quote->getAppliedRuleIds(), $appliedRuleIds));
419419

0 commit comments

Comments
 (0)