Hello.
I need add decimal rounding as last next item of order.
Can you inform me, what i can do it? This special settings is not in standard administration gui.
for clarification:
In our country, we don’t have do cash payment xx.05 or xx.20, and other else. We pay only 5, 17, 253, 3, …
Do you understand me, what i meant?
Thank you for help
Pavel Dvořák, Oxid Eshop CE - administrator for Czech customers
Hi Pavel,
I think I understood: it’s about rounding the product prices into an integer, right?
A while ago, I wrote a blog post about module writing, having a pretty similar example:
http://www.marco-steinhaeuser.de/how-to-write-a-module-for-oxid-eshop-round-the-price-on-product-details-page-to-a-fiver.html
Try to read through it and to understand, shouldn’t be too difficult. In case of questions don’t hesitate to head back in this thread.
Good luck!
No. It’s bad. I need rounding of complete summary in document. Next entry in document front of a summary.
Ahoj Pavel,
why the hell, do you charge 3,1 CZK for balonky? 
Charge 4 and your problems will be solved, or charge 3 and your clients are happy.
Otherwise try this http://www.oxid-eshop.cz/ . Maybe someone have a modul to round the invoice.
Change a price isn’t the solutions of this problem. For example: We will get new order , where customer set 7 pieces and we don’t get a rounded price never.
And oxid-eshop.cz is bad. It’s very old version.
if you charge gross xx.00 CZK per item you always have a rounded sum total. It’s a proper solution for b2c ecommerce in czech republic. b2b is a bit more complicated.
I know. I use This method normally. Only now i need precision price. When a competitor has price 1.90, then I must have price 1.80 or less, when i want win.
Or another way. Is possible, when finishing the order, add easy script (counting) for auto change Discount value.
if( ($order->total-ROUND($order->total)) != 0 ) $order->discount = $order->total-ROUND($order->total);
I just, when you’ll tell me the way to the PHP file that creates an order and a preview before completion. I can update it.