Hello
I’m very a new user on bubble (i started 1 week ago)
I’m trying to create a simple shooping list app for personnal use. I’m thanking by advance more experienced user who can give me some tips
Principle:
In a dropdown menu, i choose the list of recipe for the next week.
In my database “Recette” i have previously provided:
- the recipe name
- Ingredients related to this recipe (text type)
- Quantity for each ingredient of this recipe (number type)
My issue is the following:
All ingredients and quantities are displayed just fine but i cannot figure out how to ask to bubble to show only one time an ingredient that is used for multiple recipe and then sum the related quantity for these ingredient that are used multiple times.
Concrete exemple:
In the picture below, i have selected two recipes.
The ingredient “Tomate” with quantity 1 and “Avocat” with quantity 1 appear 2 times because it is needed for both recipes. To make it perfect, i want that these ingredients appear only 1 time in my repeting group and that the quantity switch to 2
Before
Tomate 1
Avocat 1
Tomate 1
Avocat 1
After
Avocat 2
Tomate 2