V2 cart state management implementation