Cleaned up statistics and added validation on purchase for no items in cart