How to store cart details to Firebase

Database & APIs

I'm working in an online store app, and I have implemented adding products to the cart by adding the added product to a list (by ID ) in the User Collection and then display that list in the cart page. The user can modify quantity of products and price would be calculated automatically by a function. Now what I'm trying to do is, after clicking the button, I want to store the cart info in firebase. The product name with its image and quantity and price. How can I do that? Please help me.

What have you tried so far?

I have tried creating a list for the items but I can't map all the related info.

Did you check FlutterFlow's Documentation for this topic?
No
2
8 replies