Hi everyone,
I’m building a restaurant ordering app. When a user places an order, I save a list of “PozycjaKoszyka” (cart items) to a new “Zamówienie” (Order) entry.
Each “PozycjaKoszyka” has fields like:
- danie (dish)
- ilość (quantity)
- cena_łączna (total price for that item)
What I want to do:
In the Zamówienie data type, I’d like to save and later display all the ordered dishes with their quantities, e.g.:
“Margherita x3, Pepperoni x2”
instead of just showing the list of dish names or unique IDs.
What I’ve tried:
- Using a backend workflow with “Schedule API Workflow on a list” to update the dania field in Zamówienie
- Using :grouped by and :format as text to display name + quantity
But I can’t get the result to save as one string or formatted output into the Zamówienie’s dania field.
What’s the best way to format this list and store it inside the Order?
Ideally I’d like the admin view to show a summary like:
“Spaghetti x1, Tiramisu x2, Cola x3”
Thanks so much for any help or examples!