Hi,
I have a German shop with these default settings:
currency: EUR
taxes: 19%
and a Japanese storeview with these settings:
currency: JPY
taxes: 0%
Now the price for a custom option which is shown on a product page does not equal the price for this custom option which is used to calculate the final price.
The reason for that is pretty simple:
The price shown on a product page is generated by converting the EUR price to JPY after substracting the 19% taxes and rounding while the option price which is used to calculate the total price is generated by converting the full EUR amount incl taxes to JPY and substracting the 19% after that.
As an example I take a JPY -> EUR exchange rate of 50 / 6708.02 (price of a product in EUR / price of a product in JPY) = 0,00745376430005 and a custom product price of 50 EUR incl 19% taxes.
Price shown on the page:
price incl 19% taxes: 50 EUR
price excl taxes: 50 EUR / 1,19 = 42,01680672268908 ≈ 42,02
price excl taxes in JPY: 42,02 / 0,00745376430005 = 5637,42000799758707 ≈ 5637,42
Price used internally:
price incl 19% taxes: 50 EUR
price incl 19% taxes in JPY: 50 / 0,00745376430005 = 6708,01999999712883 ≈ 6708,02
price excl taxes in JPY: 6708,02 / 1,19 = 5636,99159663865546 ≈ 5636,99
Here you can see the problem:
On the right there has been 5636,99 added to the amount instead of the shown 5637,42.
Has anyone here a similar problem?