Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #2473100
Incorrect total calculation (rounding problem?)
Closed

Comments

  • MMiszy started the conversation

    I've added a simple bundle and I noticed that the calculations are slightly off. It seems to be a rounding error.

    Here are the details required to reproduce:

    • Tax rate on both products is 5%
    • I enter prices tax exclusive but display them tax inclusive
    • Product 1:
      • Original price: 66.66+5% = 69.99
      • Discount price: 57.13+5% = 59.99
    • Product 2:
      • Original price: 47.61+5% = 49.99
      • Discount price: 38,09+5% = 39.99
    • The discount on the bundle is -25% from the original price
    • Given that, the total price should be:
      • (66.66+47.61) - 25% = 85.70
      • 85.70+5% = 89.99

    Unfortunately, that's not the case. The price of the bundle in the shop and on single product page is 89.98. Prices of the items in the bundle are 52.50 and 37.50. In the cart, total amount displayed is 90.00.

    I could accept either 90.00, 89.99 or 89.98 as long as it was consistent across the app :)


    Thanks for any suggestions!



  •  767
    Janilyn replied

    Hi Mmiszy,

    Thanks for reporting this.

    I have written a note to our developers so that they can check this issue very soon.

    I'll keep you posted when there is any news from our developers about this.

    Please stay patient meanwhile cause this might take some time under our current heavy workloads.

    Best regards.

    Janilyn T. - WPClever Support Agent

  • Fernando replied

    I have the same problem with incorrect calculation.

    I have seen your demo in the web and there is although a problem with total calculation

    In https://demo.wpclever.net/woosb/product/smart-bundle-01/ you show the sale price

    5 × Woo Single #2 $10.00
    2 × Ninja Silhouette $70.00
    4 × Woo Album #4 - Blue, M $24.00

    And the total price is $116.00 $100.00

    but the correct sale price would be $104.00