Skip to content

Commit

Permalink
8601: Can bypass Minimum Order Amount Logic
Browse files Browse the repository at this point in the history
  • Loading branch information
RomaKis committed Dec 12, 2017
1 parent afafc3c commit f5bdc45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,7 @@ private function validateMinimumAmountForAddressItems()

$baseTotal = 0;
foreach ($addresses as $address) {
$taxes = ($taxInclude) ? $address->getBaseTaxAmount() : 0;
$taxes = $taxInclude ? $address->getBaseTaxAmount() : 0;
$baseTotal += $address->getBaseSubtotalWithDiscount() + $taxes;
}

Expand Down

0 comments on commit f5bdc45

Please sign in to comment.