lat9 / edit_orders

Edit Orders: Updates for continued operation on Zen Cart v1.5.8 and later
GNU General Public License v2.0
5 stars 9 forks source link

Reducing "penny-off" rounding errors #228

Closed lat9 closed 4 months ago

lat9 commented 8 months ago

Edit Orders has forever had issues in penny-off calculations especially when dealing with coupons and multi-decimal tax rates (e.g. 5.5%). While I can't guarantee that there won't be any in the future, my current changes with a 5.5% taxed site have significantly lessened those errant calculations.

lat9 commented 8 months ago

If a site uses coupons or group-pricing, there are optional core-file overwrites for those two order-total modules that will also help with the penny-off calculations. Please note that I've not been able to validate the operation on sites that display-prices-with-tax!