2

Is it possible to round the grand totals of checkout-cart up/down? I need a "swedish rounding"?

Problem is I have some customized products with cent-prices, so I cannot change these fixed prices.

1

I wrote a module for swiss rounding (to 1/20th or 0.05) - it may help you:

https://packagist.org/packages/comsolit/rappenrunden

This simple magento 2 module listens to the magento2 internal round() function and rounds the price before to 1/20th (0.05). For example, a value of 1,23 will be rounded up to 1,25 and a value of 0,97 will be rounded down to 0,95.

This functionality is particularly wide-spread in Switzerland, but is not dependent on a specific currency.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.