I’m trying to implement a “standard” purchase dialog, similar to what you would find in a bakery or on a market:
- Buyer: I would like to buy some apples and 5 bananas.
- Seller: Sure. How many apples did you want?
- Buyer: 3.
- Seller: Anything else?
- Buyer: Yes. 2 Oranges.
- Seller: That’s… $$
Unfortunately, I have trouble finding an example for this. The challenge is that there are multiple items (fruits and vegetables) and each item has it’s own properties (quantity, price).
Here is my first question: Should I use 1 form for each fruit/vegetable, or can I use a single form for the entire purchase dialog?