# Multiple products with options in an Order

**URL:** <https://community.glideapps.com/t/multiple-products-with-options-in-an-order/75622>\
**Category:** Ask for Help\
**Tags:** choice\
**Created:** [August 13, 2024, 4:02pm UTC](https://community.glideapps.com/t/multiple-products-with-options-in-an-order/75622 "2024-08-13T16:02:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sukhreet\_Singh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sukhreet_singh/32/78038_2.png) [@Sukhreet\_Singh](https://community.glideapps.com/u/Sukhreet_Singh)\
**Post date:** [August 13, 2024, 4:02pm UTC](https://community.glideapps.com/t/multiple-products-with-options-in-an-order/75622/1 "2024-08-13T16:02:55Z")

</div>

Hi, I am building a shopping [kind of] app to keep a record of orders.  
I have:

- A products table which contains items like shirts, pants, t-shirts, etc
- A size table that contains small, medium, and large. All products will have these 3 options.
- A cart table containing the product and the corresponding size selected for each row.  
I can successfully add products and sizes to the cart. Now I am struggling to move all these cart items to the orders table. Each order table row should contain multiple products along with its selected size which I had in the cart when ordering.

I am sorry if this is a repeated question. I could not find a similar question which could solve my problem.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 13, 2024, 11:50pm UTC](https://community.glideapps.com/t/multiple-products-with-options-in-an-order/75622/2 "2024-08-13T23:50:10Z")

</div>

> [@Sukhreet\_Singh](#):
>
> I can successfully add products and sizes to the cart. Now I am struggling to move all these cart items to the orders table. Each order table row should contain multiple products along with its selected size which I had in the cart when ordering.

Instead of trying to move cart items, I think you should treat your cart like a line items table. Your order row should contain a list of line item IDs to tie them together.

---

<div class="post-metadata">

**Author:** ![Sukhreet\_Singh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sukhreet_singh/32/78038_2.png) [@Sukhreet\_Singh](https://community.glideapps.com/u/Sukhreet_Singh)\
**Post date:** [August 14, 2024, 5:07am UTC](https://community.glideapps.com/t/multiple-products-with-options-in-an-order/75622/3 "2024-08-14T05:07:23Z")

</div>

I do not understand what is “line items”.  
This is what my cart table look like:

 ![Screenshot 2024-08-14 at 10.35.27 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/1/312d037e521f3636f758ece9185f6d89de76d53e.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 14, 2024, 5:10am UTC](https://community.glideapps.com/t/multiple-products-with-options-in-an-order/75622/4 "2024-08-14T05:10:35Z")

</div>

I mean you should treat those lines as child lines to your Order, which is the “parent”.

In your Orders table, you would have a column called “Line items”, then the value based on your screnshot would look like: “kilslcW…, zw1i2xU…, dp6EPkn…”
