make cart.view api a bit more adequate