Fixed cart calculation methods

This commit is contained in:
Patrick Henninger
2018-12-21 17:32:55 +01:00
parent 706261dd4f
commit 388951d289
2 changed files with 42 additions and 4 deletions

View File

@@ -334,7 +334,7 @@ class CartItem implements Arrayable, Jsonable
}
if($attribute === 'total') {
return $this->qty * ($this->priceTax);
return $this->qty * $this->priceTax;
}
if($attribute === 'taxTotal') {