Guest kjverrette Posted July 7, 2005 Share Posted July 7, 2005 Taxes are calculating right when more than one item in cart, any solutions anyone else having this problem thank you for any replies Quote Link to comment Share on other sites More sharing options...
Guest MutantCheese Posted July 7, 2005 Share Posted July 7, 2005 I am having the same problem. Any progress on this? mc :) Quote Link to comment Share on other sites More sharing options...
Guest Posted July 7, 2005 Share Posted July 7, 2005 I found this in the bug section and it worked. It was posted by Tanner (Meltingfire) Tax is currently calculated like: if($config['priceIncTax']==0 && $taxCustomer==1){ $lineTax = ($product[0]['percent'] / 100) * $subTotal; $tax = $tax + $lineTax; } and since you calculate a "lineTax" for a specifik item, based on subTotal you will include the "total" amount up to that item every time giving it a much higher tax. Ex. Item1 gets tax for Item1 Item2 gets tax for Item1+Item2 Item3 gets tax for Item1+Item2+Item3 it should be if($config['priceIncTax']==0 && $taxCustomer==1){ $lineTax = ($product[0]['percent'] / 100) * ($price * $quantity); $tax = $tax + $lineTax; } Good Luck Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.