• Resolved juandns

    (@juandns)


    Hi,

    i have configured the taxes with the option: No, I will introduce the prices without taxes

    And the system do this on line order:
    (Price*quantity)+TAX of the result

    And we need to do this:
    (Price+TAX)*quantity

    In summary: we need to multiply quantity after the tax is applied.

    I give you an url with a product: https://mundoriego.es/producto/gotero-pcj-cnl-05lh-netafim-carpintero

    If you add 100 of this product you can see the issue in the calc.

    The tax is 21%.

    the system do: 0,14*100 = 14,00*21% = 16,94
    and must do this: 0,14*21% = 0,17 * 100 = 17,00€ (this is the correct calc)

    ¿Is it possible?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,

    Have you fixed your problem?

    The math is actually the same one:

    0.14*100 = 14.00*121% = €16.94
    0.14*121% = 0.1694*100 = €16.94

    Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    Hi @juandns,

    As mentioned by Felipe above, the math would actually be the same in both cases. The result would be €16.94.

    You mention that 0,14*21% = 0,17, but here’s where I think things are getting confused. 0.14 * 1.21 is 0.1694. Looks like you are rounding up at this level, which is something that the plugin doesn’t do.

    It seems like the plugin is working correctly in this case, but you’d want to round the calculations differently. Modifying that behavior would require custom coding.

    I’m marking this as solved for now. If we’ve misunderstood the issue, please let us know.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Tax and quantities’ is closed to new replies.