News:

Looking for documentation? Take a look on our wiki

Main Menu

Order toral price rounding

Started by jarlu, May 11, 2022, 14:26:22 PM

Previous topic - Next topic

jarlu

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?

jarlu

Hello, do you have any advice for me? Thank you

GJC Web Design

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).
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jarlu

yes, i tried it but it's not a good solution for me.

pinochico

then you need custom round function.
I remember we add custom rounding for one shop, because core rounding was not ok for customer too.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

roman5527

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.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

roman5527

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://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.