Skip to content

Commit 42fe205

Browse files
author
Oleksii Korshenko
committed
MAGETWO-83689: [BACKPORT 2.1] [BUGFIX] Add FreeShipping to the Items when SalesRule uses #11919
- Merge Pull Request #11919 from experius/magento2:experius-2.1-patch-issue-8172 - Merged commits: 1. f310c91
2 parents 3a73641 + f310c91 commit 42fe205

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/OfflineShipping/Model/SalesRule/Calculator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public function processFreeShipping(\Magento\Quote\Model\Quote\Item\AbstractItem
4545

4646
case Rule::FREE_SHIPPING_ADDRESS:
4747
$address->setFreeShipping(true);
48+
$item->setFreeShipping(true);
4849
break;
4950
}
5051
if ($rule->getStopRulesProcessing()) {

0 commit comments

Comments
 (0)