Hi Flutterflow, Please I'm new here and have started building with Flutterflow and Firebase.
My name is Felix Garrison, I'm building an eCommerce app. I'm currently having issues with inserting multiple order documents into an OrderItems subcollection in Firestore.
Currently, when a user places an order, It only shows the first product in the cart and neglects the rest. Is there a way around this? I am using Firebase as a database.
First screenshot -> I created a database collection "Orders" with subcollections "OrderItems and Order_delivery_adress"
Second screenshot -> When a user clicks on the "Place Order button", I want to insert the products in the list from the cart to the Orders subcollection "orderItems".
Third screenshot -> When a user places an order, only one product gets submitted to the database. So it is difficult to display order details to the user
Fourth screenshot -> Action flow Screenshot jpg file attached. Please can you help me with this? Thank you ๐