Skip to content

Commit

Permalink
QTY mulplier
Browse files Browse the repository at this point in the history
  • Loading branch information
lukepolo committed Dec 4, 2015
1 parent fd22659 commit 52c37de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CartItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ public function subItemsTotal($tax = false, $format = true)
}
}

$total *= $this->qty;

if ($tax && $this->taxable) {
$total = $total + ($total * $this->tax);
}
Expand Down

0 comments on commit 52c37de

Please sign in to comment.