Price rounding problem tax Magento 2
-
14-04-2021 - |
Question
this bug is driving me nuts and I do not know how to fix it.
The following scenario:
We have sample articles. Each has a cost without tax of 0.30 €
German VAT is 19% usually. Now I put 4 samples into the cart. 3 of them get a price of 0.36 €, 1 gets 0.35 € (see screenshot)
My calculation settings are:
- Catalog Prices: Excluding tax (This sets whether catalog prices entered from Magento Admin include tax) --> Our prices are set without tax
- Tax Calculation Method Based On = Total (even if I change this to row or subtotal, nothing changes)
The prices seem 1:1 as the output when I inspect the elements.
But as said, the calculation is wrong. Either all products here should have a price of 0.36 € or all should have 0.35 € but not mixed up.
Does anybody out there have an idea, how I can fix this so that prices for the same product have the same price incl. tax?
Autres conseils
take a look https://github.com/magento/magento2/issues/18025
this is known magento issue
update:
for me this helped: Tax Calculation Method Based - On Unit.