Chill_user Posted August 16, 2019 Share Posted August 16, 2019 (edited) Hello to all, I have some kind of issue with the "average age" of clients. At BackOffice side, I have an average age of 87y.o. I think Prestashop calculates it incorrectly, think it is because "age" field is not obligatory and Prestashop calculates it like 00-00-0000 (d-m-y) what can I do? Thanks! Edited October 7, 2019 by Amantha Bill (see edit history) Link to comment Share on other sites More sharing options...
Chill_user Posted October 7, 2019 Author Share Posted October 7, 2019 It was a problem in db. If user doesn't fill "birthday" info, PS is writing 0000-00-00 date in bd. After PS calculating incorrecty average age Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now