converting cart to new abstract controller render method