Skip to content

Commit

Permalink
Sub Items don't have a tax option
Browse files Browse the repository at this point in the history
  • Loading branch information
lukepolo committed Nov 20, 2015
1 parent eca54b8 commit 4db7724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CartItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function subItemsTotal($tax = false, $format = true)

foreach ($this->subItems as $item) {
if (isset($item->price)) {
$total += $item->getPrice($tax);
$total += $item->getPrice(false);
}
}

Expand Down

0 comments on commit 4db7724

Please sign in to comment.