Skip to content

Commit 0341af2

Browse files
Nurantoglo17720
authored andcommitted
#38671 - Fix sales rules when rule is applied only on shipping amount
1 parent 995a05c commit 0341af2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ public function processShippingAmount(Address $address)
532532
$address->setBaseShippingDiscountAmount($this->priceCurrency->roundPrice($baseDiscountAmount));
533533
$appliedRuleIds[$rule->getRuleId()] = $rule->getRuleId();
534534

535+
$this->rulesApplier->maintainAddressCouponCode($address, $rule, $this->getCouponCode());
535536
$this->rulesApplier->addDiscountDescription(
536537
$address,
537538
$rule,

0 commit comments

Comments
 (0)