# Order Quantity Not Resetting

**URL:** <https://forum.adalo.com/t/order-quantity-not-resetting/2012>\
**Category:** Get Help\
**Created:** [June 18, 2020, 4:48pm UTC](https://forum.adalo.com/t/order-quantity-not-resetting/2012 "2020-06-18T16:48:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yifeixkou](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/yifeixkou/32/839_2.png) [@yifeixkou](https://forum.adalo.com/u/yifeixkou)\
**Post date:** [June 18, 2020, 4:48pm UTC](https://forum.adalo.com/t/order-quantity-not-resetting/2012/1 "2020-06-18T16:48:23Z")

</div>

Hi, I am working on a food ordering app and I am currently facing a problem where by the order quantity counter will not reset upon subsequent logins.

Screen shot with text for better visual representation:

![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/2/286e351fc082506a093c948f0c574978bdfbe97c.jpeg)

First login to place order, items at cart displayed correctly.

![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/f/fa09eb96ea5cc83b1cf353e1e55c250a4b296111.png)

Second (and subsequent) logins, the counter does not reset to zero. Note that the order quantity for cart is displaying the quantity correctly, whereas the order quantity for the order item is 3 (2 is from previous order).

I am modifying the app using the food truck app as a template. I noticed that the food truck app does not have such problem.

Thanks in advance for any guidenace.

Regards.

---

<div class="post-metadata">

**Author:** ![bibipac](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bibipac/32/786_2.png) [@bibipac](https://forum.adalo.com/u/bibipac)\
**Post date:** [June 18, 2020, 6:57pm UTC](https://forum.adalo.com/t/order-quantity-not-resetting/2012/2 "2020-06-18T18:57:09Z")

</div>

Hi, not an expert, but I would check right away in the Database what “really” gets recorded, the same happens to me, sometime a button execution will display a calculated total “fine” on screen, but not really recorded on the database side, especially when you use several Actions followings…  
Could login\*unlogin wrong values be also related to browser cache problem ?  
my 2 cents

---

<div class="post-metadata">

**Author:** ![yifeixkou](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/yifeixkou/32/839_2.png) [@yifeixkou](https://forum.adalo.com/u/yifeixkou)\
**Post date:** [June 28, 2020, 2:14pm UTC](https://forum.adalo.com/t/order-quantity-not-resetting/2012/3 "2020-06-28T14:14:06Z")

</div>

Hi!

Thanks for the advise. Did exactly that and found that the problem lies with the button having multiple actions (2 updates). Which I think is the main reason that the counter is not working as it should.

And its all good now.

Much appreciated!!
