Hello, please I need to round order_total price to cash on delivery to 0,05 cents, because in my country have new law, when prices are rounding:
For exampe order total price:
from 1,01 to 1,02 to -> 1,00
from 1,03 to 1,07 to -> 1,05
from 1,08 to 1,09 to -> 1,10
Do you have some idea how I can do it?
Hello, do you have any advice for me? Thank you
Have u tried setting the VM config -> Prices -> Rappenrundung for Swiss CHF
the total value of the document should be divisible by 0,05 (5-Rappen-rounding in Switzerland).
yes, i tried it but it's not a good solution for me.
then you need custom round function.
I remember we add custom rounding for one shop, because core rounding was not ok for customer too.
Good day . this function will be needed for EU developers and eshop owners, because from 1.7.2022 this rounding is required for cash payment.
please supply link to this...
Hi, sorry in Slovakia this rule applies from 1.7.2022 .
https://ec.europa.eu/info/law/better-regulation/have-your-say/initiatives/12566-Uniform-rounding-rules-for-cash-payments-in-euro-assessment_en (https://ec.europa.eu/info/law/better-regulation/have-your-say/initiatives/12566-Uniform-rounding-rules-for-cash-payments-in-euro-assessment_en)
https://www.crowe.com/sk/en-us/news/change-in-the-rounding-of-cash-payments (https://www.crowe.com/sk/en-us/news/change-in-the-rounding-of-cash-payments)
example Belgium have it from 2019 , France 2020 ....
I think that if not all EU countries have it, they will eventually. It would therefore be good to introduce it as an option in Virtuemart as well.