Skip to main content
← Data, API & Backend
Data, API & Backend November 19, 2023 · 7 replies

Increment/Decrement Button

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

Based on my Inventory, I would like to implement an action to increment and decrement through [action:remote]. For example: I have 10 oranges, my customer can only Buy up to 10 and never below 0 units. Obviously, every time him clicks on '+', the counter will increase by 1, 2, 3, etc., and every time they press 'minus'button, the counter will decrease (delete). I will use Airtable for this!

My airtable is :

-Product table(store/product/price/tax)

-Cart table (quantity/inventory)

-Calc (total/subtotal)

I appreciate knowing which request I should make to change the number 1 and what kind of formula I should use in Airtable?

Tks

7 replies

Valter November 19, 2023

Use the native selector from bravo to open a slider with 0 to 10 forvthe client chose and select. More simple and same redult

Paulo November 20, 2023

I did this way .
The problem is when the user decide to abandon the shop cart .
What do you suggest?
Just Input zero ?

Other situation about inventory it's cause each one has a especific quantity.

Valter November 20, 2023

Its other option but also with a diferent interface with the user

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord