Attempting to dynamically create an item in cart

Trying to create controls to show up in the cart dynamically. Failing so
far, but it's a work in progress.