Skip to content

Tax rate calculation wrong for high-value orders #2744

@DrDexter6000

Description

@DrDexter6000

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions