[Code Improvement] Separate helper classes for updating cart block and status messages