Ok, it works and I understand it. I've never been good in Math so I don't know why I'm trying to program sometimes. So it works except that it charges right away once there's 10 items in the basket, because 10 / 10 = 1 x 2 = $2. It's always going to add a charge for the first set of 10, which I don't want. Likewise if you add 30 items to the basket it will charge $6 when it should charge $4. It's not supposed to charge on the first 10 period. I'm trying to figure it out but maybe you've already got the answer.
Thanks Jason.