News:

Support the VirtueMart project and become a member

Main Menu

SOLVED Precission of tax_amount in order item

Started by Steffen.D., May 31, 2017, 19:05:22 PM

Previous topic - Next topic

Steffen.D.

The precission of product tax amount in order item has a rounded value.
Example:
Order a product for 3.5 without tax. The tax amount is stored as 0.25 but the right value is 0.245
If the quantity of this product is not 1 than calculated tax sum is wrong too.

AH

What are your tax settings
What are you rounding settings

More information is needed

VM calculates taxes correctly based on the settings configured.
Regards
A

Joomla 4.4.5
php 8.1

Steffen.D.

Thanks for your tip.

I've looked for the rounding settings in Price Configuration and there I set the option "Round only display".
Now it works correctly. The prices are stored in database with more precision.

Regards, Steffen.

AH

Thanks for the update.

I am glad you found the configuration :-)
Regards
A

Joomla 4.4.5
php 8.1