Skip to content

Commit

Permalink
Merge forwardport of #11720 to 2.3-develop branch
Browse files Browse the repository at this point in the history
Applied pull request patch https://github.com/magento/magento2/pull/11720.patch (created by @amenk) based on commit(s):
  1. f642811
  • Loading branch information
magento-engcom-team authored Jan 23, 2018
2 parents fe598ef + d6da9b6 commit f3db727
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/code/Magento/OfflineShipping/Model/Carrier/Tablerate.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,9 @@ public function collectRates(RateRequest $request)

// Free shipping by qty
$freeQty = 0;
$freePackageValue = 0;

if ($request->getAllItems()) {
$freePackageValue = 0;
foreach ($request->getAllItems() as $item) {
if ($item->getProduct()->isVirtual() || $item->getParentItem()) {
continue;
Expand Down

0 comments on commit f3db727

Please sign in to comment.