[SOLVED] Wrong prices on huge orders

Developer
Od Poland
Użytkownik od paź 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
Od Sweden
Użytkownik od maj 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?

Ten wątek został zamknięty z powodu zbyt długiej nieaktywności. Przesyłanie nowych odpowiedzi nie jest teraz możliwe.
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.