[SOLVED] Wrong prices on huge orders

Developer
Từ Poland
Thành viên kể từ thg 10 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
Từ Sweden
Thành viên kể từ thg 5 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?

Chủ đề này đã bị đóng do không hoạt động trong thời gian dài. Không thể đăng bài vào chủ đề này.
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.