Adds support for viewing and editing a cart.