For orders over $1000, the tax rate should be reduced from 8% to 5% as per our new pricing policy. Currently all orders are charged 8% tax regardless of the total. Expected: orders > $1000 get 5% tax, orders <= $1000 get 8% tax. Actual: all orders get 8% tax. The issue is in src/cart.js in the calculateTotal function.
For orders over $1000, the tax rate should be reduced from 8% to 5% as per our new pricing policy. Currently all orders are charged 8% tax regardless of the total. Expected: orders > $1000 get 5% tax, orders <= $1000 get 8% tax. Actual: all orders get 8% tax. The issue is in
src/cart.jsin thecalculateTotalfunction.