Replace `CartOperator` with event listeners