[SOLVED] Wrong prices on huge orders

Developer
De Poland
Miembro desde oct. 2014

This can be repproduced id demo - if you order 10000000 Yellow Ducks for $18 it will show total price as 10,000,000.00. It's ok on cart page but not ok for instance on /order_success or when you edit order in admin. How to fix this?

EDIT: Ok - solved. Fields "value" and "tax" id orders_totals table was float(11,4)

tim
Founder
De Sweden
Miembro desde may. 2013
tim

You are right, the maximum number with Float(11,4) is 9999999,9999. I can turn this up in LiteCart 3.0. What would be a better number?

Este hilo se ha cerrado debido a una larga inactividad. No es posible publicar en él.
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.