Popular una tabla con datos de otra correctamente

Hello.
It is my first participation in the Forum.
I would need some help on something that I’m sure is simple but I can’t solve it.
I have a shopping cart with several items, which can be purchased several of them which saves perfectly, when I want to popularize the Orders table with the cart data it brings all the data perfectly, but the quantities, if 6 Apples were bought, 6 Bananas, 2 Oranges, 2 Grapes and 1 Pear only saves me 6, 2 and 1.
Sorry if this is not the place to consult but I reiterate it is my first time here.
Thank you

Please pick a subcategory to help organize the information. Thanks!

Also, the more context you provide with your questions (screenshots, link to an open app, etc.), the more likely you’ll get good help quickly :slight_smile:

Hello @Taypan welcome to the forum! :smiley:

Screenshots should help here :smiley:

Gracias por su ayuda
thanks for your help

Thanks

Can you show the flows and how the dB is structured?


Gracias por la ayuda

I see.

Basic dB model for a shopping cart:

Product
Title (text)
Price (number)

Line item
Cart (cart)
Product (product)
Quantity (number)

Cart
line items (list of line items)
amount (number)

To add line items to a cart the concept of how lists work in Bubble is critical to understand clearly.

Below various videos that may help spark an approach to your project:

You have already reviewed it and we will see what solution we find.
Thank you very much

Ya lo revisó y vemos que solución le encontramos.
Muchas gracias

2 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.