# Button + or - to modify a Input Number without affect other customers

**URL:** <https://forum.bubble.io/t/button-or-to-modify-a-input-number-without-affect-other-customers/142319>\
**Category:** Database\
**Created:** [March 21, 2021, 1:16pm UTC](https://forum.bubble.io/t/button-or-to-modify-a-input-number-without-affect-other-customers/142319 "2021-03-21T13:16:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lcristovam](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/lcristovam/32/88536_2.png) [@lcristovam](https://forum.bubble.io/u/lcristovam)\
**Post date:** [March 21, 2021, 1:16pm UTC](https://forum.bubble.io/t/button-or-to-modify-a-input-number-without-affect-other-customers/142319/1 "2021-03-21T13:16:50Z")

</div>

Hello guys,

I have a problem where, in order to explain it better, I recorded a video of a few seconds.

It turns out that I created a PRODUCT table that has a quantity field, each product must go to a line of a SHOPPING CART, however, when I modify the quantity of the selected product, another customer placing an order for the same snack, when he selects it to add to the SHOP CART, displays the quantity already changed. This is a serious problem for an app.

How could I solve this?

link video ( 32 seconds )

Thanks in advance!!!

---

<div class="post-metadata">

**Author:** ![BrianHenderson](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/brianhenderson/32/231409_2.png) [@BrianHenderson](https://forum.bubble.io/u/BrianHenderson)\
**Post date:** [March 21, 2021, 1:26pm UTC](https://forum.bubble.io/t/button-or-to-modify-a-input-number-without-affect-other-customers/142319/2 "2021-03-21T13:26:59Z")

</div>

Your PRODUCT data type shouldn’t have a quantity field.

What you need is another data type. Call it something like LINE ITEM. It will have fields for quantity, PRODUCT, and extended price (which is the quantity multiplied by the product’s price).

A SHOPPING CART will then consist of a list of LINE ITEMS, not the actual products themselves.

---

<div class="post-metadata">

**Author:** ![daviddr17](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/daviddr17/32/239174_2.png) [@daviddr17](https://forum.bubble.io/u/daviddr17)\
**Post date:** [March 21, 2021, 6:04pm UTC](https://forum.bubble.io/t/button-or-to-modify-a-input-number-without-affect-other-customers/142319/3 "2021-03-21T18:04:12Z")

</div>

perhaps one more explanation for your description why to do that:

Lists in bubble do not contain unique elements more than once, thats why you have to create a new “LINE ITEM” everytime you add something new to the basket. Every Item in your basket has to have its own unique ID.

---

<div class="post-metadata">

**Author:** ![lcristovam](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/lcristovam/32/88536_2.png) [@lcristovam](https://forum.bubble.io/u/lcristovam)\
**Post date:** [March 25, 2021, 11:27am UTC](https://forum.bubble.io/t/button-or-to-modify-a-input-number-without-affect-other-customers/142319/4 "2021-03-25T11:27:15Z")

</div>

I Understood now! Worked here

Tks for help Guys!
