Fix order total functionality and items being duplicated in the view.