Hi everyone,
I’m working on a Bubble app where users can add items to a cart with specific quantities. For example:
- Cart A: Quantity = 2
- Cart B: Quantity = 3
I want to expand these cart items into a single list based on their quantities, like this:
[“Cart A”, “Cart A”, “Cart B”, “Cart B”, “Cart B”]
This expanded list will later be used in a repeating group or other workflows.
What I’ve Tried :
-
- Is it possible to dynamically expand cart items into a list using only custom states in Bubble?
- I understand that Bubble doesn’t natively support advanced array manipulation, so I’m wondering if there’s a way to achieve this using Bubble’s built-in tools (e.g., workflows, custom states) or plugins like Toolbox.
Specific Questions :
- What’s the best way to dynamically expand cart items into a list based on their quantities?
- Can this be achieved without using plugins? If not, which plugin would be most suitable for this task?
Expected Outcome :
A list like ["Cart A", "Cart A", "Cart B", "Cart B", "Cart B"]
that I can use in a repeating group or other workflows.
Thanks in advance for your help!