Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit ff9e6a8

Browse files
committed
MAGETWO-82748: Fix Notice: freePackageValue is undefined #11720
- Merge Pull Request magento/magento2#11720 from amenk/magento2:patch-13 - Merged commits: 1. f642811
2 parents 08f0056 + f642811 commit ff9e6a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,9 @@ public function collectRates(RateRequest $request)
113113

114114
// Free shipping by qty
115115
$freeQty = 0;
116+
$freePackageValue = 0;
117+
116118
if ($request->getAllItems()) {
117-
$freePackageValue = 0;
118119
foreach ($request->getAllItems() as $item) {
119120
if ($item->getProduct()->isVirtual() || $item->getParentItem()) {
120121
continue;

0 commit comments

Comments
 (0)