Project:
UbercartCategory:
bug reportVersion:
Ubercart 2.x-devPriority:
normalAssigned:
UnassignedStatus:
activeWith latest Ubercart 2.X I set up a California Sales tax and went to CA to select California as State it applies to. I then went and checked out with Alaska state selected in delivery area and it returned the California sales tax.
Update:
I can repeat on multiple installs and a clean install, it only happens with two conditions and the "OR" statement as shown on the last image. The use case i am trying for is all of California charged Tax except certain zip codes.
So my first condition is anywhere in california true, and the second is these zip codes false.
| Attachment | Size |
|---|---|
| California Sales Tax .jpg | 43.06 KB |
| Checkout .jpg | 48.06 KB |
| Review order.jpg | 15.96 KB |
| Two conditions.jpg | 56.84 KB |



Re: Conditional Actions / Tax miscalculation
Hey Tim, I'll be sure to document the use of the condition group operator well when I document the UI. It looks to me like you need the operator to be AND instead of OR. Think about the following statement:
IfThe delivery state is California
OR
The delivery zip code is not 949**
Then
Charge the tax.
So, for Alaska, it doesn't pass the first condition, but it does pass the second because the zip is not a 949** zip. If you turned it to AND, then the zip condition would never even be evaluated since the state isn't California.
Hope that helps.
Ryan, Thank you, That solved
Ryan,
Thank you, That solved the issue, as you can see by the time stamp of 2am I was not thinking clearly. Plus the addition of these stupid California sales tax by zip codes are driving me to the nut house.