Skip to content

Commit a0efa2a

Browse files
committed
ACP2E-209: "Table rate" shipping method displays as "Not yet calculated" on checkout
1 parent 44f6a52 commit a0efa2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/OfflineShipping/Model/Carrier/Tablerate.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ public function collectRates(RateRequest $request)
194194
* Free package weight has been already taken into account.
195195
*/
196196
$request->setPackageValue($freePackageValue);
197+
$request->setPackageValueWithDiscount($freePackageValue - $request->getPackageValueWithDiscount());
197198
$request->setPackageQty($freeQty);
198199
$rate = $this->getRate($request);
199200
if (!empty($rate) && $rate['price'] >= 0) {

0 commit comments

Comments
 (0)