# Cart-type Function Without Payments?

**URL:** <https://community.glideapps.com/t/cart-type-function-without-payments/19507>\
**Category:** Ask for Help\
**Created:** [December 7, 2020, 5:24pm UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507 "2020-12-07T17:24:36Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amanda](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amanda/32/424_2.png) [@Amanda](https://community.glideapps.com/u/Amanda)\
**Post date:** [December 7, 2020, 5:24pm UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/1 "2020-12-07T17:24:36Z")

</div>

I work for a K-12 school district and we have a separate facility that lends out science equipment and teaching materials to teachers. I am trying to update the catalog and ordering process to streamline and make it easier for teachers and the staff lending out the equipment.

I am getting stuck on the “check out” portion in Glide. I want to have it function so that teachers can add multiple items to their request and then checkout once for all those items with the same pick up and return dates. Basically, I want the functionality of checking out from a cart, but without any financial transaction. When teachers submit their request right now, I can only get the first item to write to the “Completed Requests” tab. However, I want to write all the items for the given user from the “Current Request” tab to the “Completed Request” tab when teachers submit the request. (Just FYI: once I get this part working I plan to have the “Current Request” tab clean out anything over 24 hours old.). [Video of App](https://www.loom.com/share/00be7aa6791b4285b79885524fdf68bf)

Any ideas or suggestions on how to get the cart-type of functionality without requiring a payment?

---

<div class="post-metadata">

**Author:** ![Drearystate](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drearystate/32/49605_2.png) [@Drearystate](https://community.glideapps.com/u/Drearystate)\
**Post date:** [December 7, 2020, 5:36pm UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/2 "2020-12-07T17:36:18Z")

</div>

Instead of using a form for your final submission, turn it into a compound action where it adds mulitple rows, each row being each item.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/9/294ffc43856ed645d8811563e5aedb0702a42300.png)

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [December 7, 2020, 6:11pm UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/3 "2020-12-07T18:11:15Z")

</div>

Hi @Amanda,

You can also use this this template [https://prized-pen-0113.glideapp.io/](https://prized-pen-0113.glideapp.io/) and adapt it to your needs.

I hope it works for you.

Santiago.

---

<div class="post-metadata">

**Author:** ![Pablo\_Reyna](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pablo_reyna/32/49850_2.png) [@Pablo\_Reyna](https://community.glideapps.com/u/Pablo_Reyna)\
**Post date:** [December 8, 2020, 11:51pm UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/4 "2020-12-08T23:51:12Z")

</div>

hey Santiago! In this answer you have solved a problem that suited me like a glove! I did not know how the remove button “disappeared”, and simply and ingeniously you gave it the visibility option !! Excellent, I learned two things in one. My regards, brother.

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [December 9, 2020, 12:03am UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/5 "2020-12-09T00:03:24Z")

</div>

Thanks!

@Robert_Petitto helped me out with the order button as well.

---

<div class="post-metadata">

**Author:** ![Amanda](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amanda/32/424_2.png) [@Amanda](https://community.glideapps.com/u/Amanda)\
**Post date:** [December 11, 2020, 4:19pm UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/6 "2020-12-11T16:19:32Z")

</div>

Thanks for sharing this, @SantiagoPerez. However, when I copied your app, it looks like it is running into the same issue mine is. When there are two or more items in the order, only the first one is writing to the spreadsheet on the “Orders” tab “Lista” column. Does it function this way for you also?

If using this format, then could I have multiple “Lista” columns and have each item write to a different column? Any ideas on how to do this?

In the meantime I have been looking into compound actions as suggested by @Drearystate.

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [December 11, 2020, 4:29pm UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/7 "2020-12-11T16:29:14Z")

</div>

Hi @Amanda,

It seems like that but when you click on the cell you can see on the formula bar that all the articles are there indeed.

Here’s a video to explain better

---

<div class="post-metadata">

**Author:** ![Amanda](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amanda/32/424_2.png) [@Amanda](https://community.glideapps.com/u/Amanda)\
**Post date:** [December 11, 2020, 4:55pm UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/8 "2020-12-11T16:55:45Z")

</div>

That helped a lot, @SantiagoPerez!

Do you have any videos showing how you set up that part/function? I have set up several conference-type apps with Glide, but trying to get this shopping-type one working is proving more complicated for me. From looking at the data editor and component configuration in Glide and the Sheet, I can’t figure out what is happening. If there are other resources that explain this and you could guide me to them, I would appreciate it!

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [December 11, 2020, 4:59pm UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/9 "2020-12-11T16:59:24Z")

</div>

Hi @Amanda!

What exactly are you having trouble with? I do not have any videos but I could make one for you or see if @Robert_Petitto has one that might help you.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [December 11, 2020, 5:52pm UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/10 "2020-12-11T17:52:12Z")

</div>

I don’t have any videos on setting up a shopping app, but I could certainly create some. Really looking to leverage glides built-in by button functionality? Glide also has a set of videos on this feature.

> **[Buy Button](https://docs.glideapps.com/all/reference/components/buttons/buy)**
>
> Add payment capabilities to your apps

---

<div class="post-metadata">

**Author:** ![Amanda](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amanda/32/424_2.png) [@Amanda](https://community.glideapps.com/u/Amanda)\
**Post date:** [December 13, 2020, 9:38pm UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/11 "2020-12-13T21:38:46Z")

</div>

@Robert_Petitto and @SantiagoPerez: I basically built this app modifying from Robert’s YouTube videos showing how to make a gamified app. Now, you are another of my Glide Gurus, Santiago! After learning lots more about the custom actions and looking _carefully_ at your app, I have mine working the way I want! Thank you both for your help. If I get approval and de-specialize it for my school district I will share a copy here.

P.S. As a native Texan, I love the mask in your video @SantiagoPerez.

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [December 13, 2020, 9:46pm UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/12 "2020-12-13T21:46:06Z")

</div>

I’m glad to help!

---

<div class="post-metadata">

**Author:** ![Amanda](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amanda/32/424_2.png) [@Amanda](https://community.glideapps.com/u/Amanda)\
**Post date:** [December 18, 2020, 12:21am UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/13 "2020-12-18T00:21:10Z")

</div>

@SantiagoPerez I ran into an issue with the app when multiple people were testing it at the same time. If person A has items in their “cart” at the time that person B places their request, it clears the cart for both person A and person B. Do you know way to make the cart user specific, or am I missing a component or key setting? I have tried making the “LastOrder” and “LastnOrder” columns user-specific in the data editor, but then the app is breaking in a different way (only 1st row in table is clearing after placing a request).

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [December 18, 2020, 12:40am UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/14 "2020-12-18T00:40:26Z")

</div>

Is your “Amount” column user-specific?

---

<div class="post-metadata">

**Author:** ![Amanda](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amanda/32/424_2.png) [@Amanda](https://community.glideapps.com/u/Amanda)\
**Post date:** [December 18, 2020, 12:53am UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/15 "2020-12-18T00:53:05Z")

</div>

Yes, it is.

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [December 18, 2020, 12:56am UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/16 "2020-12-18T00:56:09Z")

</div>

I have not seen this happening. Do you have a copy or video that I can see?

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [December 18, 2020, 1:10am UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/17 "2020-12-18T01:10:14Z")

</div>

I just saw this happened. I had no idea that this was happening.

@Robert_Petitto any thoughts? The amount column is user-specific.

> **[iOS Mobile Upload](https://www.loom.com/share/47ebf81c4ce2446aaf3e147497989267)**
>
> Check out a video I made via Loom

@Amanda, in what way the app behaves when you turn the lastnorder and lastorder into user-specific columns.

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [December 18, 2020, 1:20am UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/18 "2020-12-18T01:20:03Z")

</div>

My thought now is that this might be happening because the app is is using the ITE to replace the amount but that column cannot be made user-specific.

Let me think about this and play around.

@Robert_Petitto have you seen this behavior in any of the apps you have used date, single value and ITE to delete the cart?

@Amanda, if you don’t mind having your users delete the cart manually after creating their order. You can reverse everything to the previous state in which the app was. 😞😞

Here’s an example of it:

> **[Copy of Copy of e-Commerce Checkout + Stock Counting](https://yielding-crayon-5516.glideapp.io/)**

I turned both Date columns into user-specific columns and it seems to work.  
Here’s an example:

> **[Copy of Copy of e-Commerce Checkout + Stock Counting](https://pink-bait-6415.glideapp.io/)**

I hope it actually works on your end.

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [December 18, 2020, 3:34pm UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/21 "2020-12-18T15:34:22Z")

</div>

Hey @Amanda,

I think I found what your problem was.

> **[SRC Catalog & Requests (Shared)](https://handsome-island-6643.glideapp.io/)**

![Screen Shot 2020-12-18 at 9.32.39 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/4/54ee6f2c596960fa181cd4dd5ad6d2211c15a39d.png)

That ITE has the QTY column instead of the Cleared-Order one. I changed it and it seems to be working how it should.

---

<div class="post-metadata">

**Author:** ![Amanda](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amanda/32/424_2.png) [@Amanda](https://community.glideapps.com/u/Amanda)\
**Post date:** [December 18, 2020, 4:15pm UTC](https://community.glideapps.com/t/cart-type-function-without-payments/19507/22 "2020-12-18T16:15:27Z")

</div>

Thanks yet again, @SantiagoPerez!
