[SOLVED] Wrong prices on huge orders

Developer
Lähettäjä Poland
Jäsen alkaen lokak. 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
Lähettäjä Sweden
Jäsen alkaen toukok. 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?

This thread has been closed due to long inactivity. Posting to it is not possible.
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.