Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Upcoming Branch
-
None
Description
The method getDisplayGrandTotal() from ShoppingCart.java adds tax twice.
this.getDisplaySubTotal() already inclued item taxes.
/** Returns the total from the cart, including tax/shipping. */ public BigDecimal getDisplayGrandTotal() { return this.getDisplaySubTotal().add(this.getTotalShipping()).add(this.getTotalSalesTax()) .add(this.getOrderOtherAdjustmentTotal()).add(this.getOrderGlobalAdjustments()); }