generate scaffold for cart and find a cart with id