We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44f6a52 commit a0efa2aCopy full SHA for a0efa2a
app/code/Magento/OfflineShipping/Model/Carrier/Tablerate.php
@@ -194,6 +194,7 @@ public function collectRates(RateRequest $request)
194
* Free package weight has been already taken into account.
195
*/
196
$request->setPackageValue($freePackageValue);
197
+ $request->setPackageValueWithDiscount($freePackageValue - $request->getPackageValueWithDiscount());
198
$request->setPackageQty($freeQty);
199
$rate = $this->getRate($request);
200
if (!empty($rate) && $rate['price'] >= 0) {
0 commit comments