Three years ago I wrote a php code to sum the total number of bought items and by mistake I forgot to add userid column so whenever someone added items it got save in the database but do not show in the user order section. I lost almost INR 30,000 of sales that week.