I could not find this in the book or as a Play Time challenge, but I’m wondering if someone could advise me on how to make the following use case the best user experience:
- I’ve added items to the cart
- I go the NEW ORDER form, but decide I want to either keep shopping or cancel my order all together.
- I can add a <%= link_to ‘Cancel Order’, …. %> to the order form that takes me back to the store and keeps the cart in tact.
- Is there a better use case than this? Seems kind of clunky. For example, is it better to RESTfully update or delete the order from within the New Order View?
Has anyone tried this? Would make for a nice Play Time exercise.
Thanks in advance.