# Delay on button to solve refresh data delay

**URL:** <https://community.glideapps.com/t/delay-on-button-to-solve-refresh-data-delay/35904>\
**Category:** Ask for Help\
**Created:** [December 13, 2021, 2:07pm UTC](https://community.glideapps.com/t/delay-on-button-to-solve-refresh-data-delay/35904 "2021-12-13T14:07:51Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 14, 2021, 1:09pm UTC](https://community.glideapps.com/t/delay-on-button-to-solve-refresh-data-delay/35904/8 "2021-12-14T13:09:33Z")

</div>

If you are looking for some ideas for handling a shopping cart, this is how I would approach it. All tracking of selected products stays within the products table. The cart is a single row shared among all users, and only the orders table has a row added once an order is completed. There is no delay a everything is contained in glide tables and uses glide logic. Items can be added, removed, and quantities update in the cart. There probably a couple of things I could update in my app, but this is generally how I would do it.

> [@Shopping Cart Concept for demonstration purposes](https://community.glideapps.com/t/shopping-cart-concept-for-demonstration-purposes/33264):
>
> First of all, I want to say that I’m personally not a big fan of ecommerce type apps with Glide. There’s a lot of complexity to them and everybody has a different view for how they should work. Because of that, I generally don’t give advice on how to do things with them. Glide has said that ecommerce is not the direction they are focused on and I think Glide is short on some logic and functionality to properly handle the purchase and inventory side of things. With that said, I still made an …

---

_[View the full topic](https://community.glideapps.com/t/delay-on-button-to-solve-refresh-data-delay/35904)._
