We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you need, cart items total (with tax), and you dont need additional fees sum in total sum.
$withFees should be inserted in in taxTotal() How to replicate:
$withFees
taxTotal()
total(false,false,true,false)
public function total($format = true, $withDiscount = true, $withTax = true, $withFees = true) { $total = $this->subTotal(false); if ($withFees) { $total += $this->feeTotals(false); } if ($withDiscount) { $total -= $this->totalDiscount(false); } if ($withTax) { $total += $this->taxTotal(false,$withFees); } return $this->formatMoney($total, null, null, $format); }
The text was updated successfully, but these errors were encountered:
Mind submitting a PR? Fastest way to get this done, as I wont be able to get to it till tomorrow at the soonest
Sorry, something went wrong.
fixed with tag 1.3.7
Use 1.3.7 instead~
No branches or pull requests
If you need, cart items total (with tax), and you dont need additional fees sum in total sum.
$withFees
should be inserted in intaxTotal()
How to replicate:
total(false,false,true,false)
and you will see, fees tax are included in tax (item total != cart total)The text was updated successfully, but these errors were encountered: