I have a field that is a “List of values” and stores the number of each item that a user has added to an order.
I want to display, for each order, the items that the logged in User has bought and next to them, show how many of those items they selected. How do I do this? I’m trying it in a repeating group but I’m getting an empty group returned. I thought I had all this sussed but I’m clearly missing something fundamental…
This is my repeating group (don’t know if this is a useful screenshot)
This is a text box that should list the product name
This is an input that should list the quantities
This is what results…the red line is actually the RG and shows as a red line because it’s empty.
This shows my data with what I’m trying to achieve underneath it…
I’m pretty sure I’ve missed something really obvious but I’ve been overthinking this interspersed with tiredness and brainfarts that I just can’t see the wood for the trees any more so any direction would be really appreciated…
Hey @joefarrowsmith ,
This doesn’t seem like a hard problem to solve, but it’s almost impossible to debug an issue like this without access to the editor.
Alex
That’s cool. I appreciate that. Is there a way to do with without making it “public” so anyone can get in there? Could I grant only you the ability to do this?
You certainly could, or you could just do read-only permissions for anyone with the link then turn off permissions when someone finds your solution.
OK, I’ll have to mock something up to replicate the problem I’m having and share that as my business “partner” has just threatened me with death if I share this at this stage - she’s nice like that but I assume she wouldn’t go through with it!
OK, I really appreciate your help here and, just to prove that I take my partner’s threats seriously (I don’t really), I’ve mocked up the issue that I’m having here. Feel free to play around to your heart’s content.
Your Bubble app…?debug_mode=true
Basically take a look at the page “Invoice” and you’ll see a simplified version of my issue…basically I’d like to create a separate line for each Item bought and I’d like to be able to present to the data to a user so that they can change the quantity. (The reason for this is that in my real life scenario, people basically rock up to pick up equipment that they’re borrowing. They order equipment in advance and then they invariably turn up to collect it in something it won’t fit in so they have to make several journeys which means changing the Qty they collect - I can calculate all that later on in my actual app but the data’s a bit confidential so I have to have this simplified version and learn from there.)
Anyways, thank you ever so much for this. It’s really doing my head in so I hope it’s a simple thing!
@joefarrowsmith do you have a link to the editor?
D’oh! I’m so sorry - I hope this works.
Once this is posted, I’ll actually check it doesn’t take you to the user screens…
That link’s worked on my machine…do let me know if you get any trouble accessing it. Thank you ever so much!
Joe
I think I’m confused on what the issue is here. When I load the page I see a list of data displaying with data. What is not showing correctly?
Thank you for taking time out to read my post. You’re absolutely right in that, as it stands, this output looks exactly how I would expect it to look. What I’m trying to do, however, is to display it to a user in a friendlier layout. More like this.
The reason I need to do this is because this app enables people to book equipment. They put in what they want and then come and collect it. The problem we have is that say someone orders 10 x “Widget C” (as in order number 1C in the screenshot). They then come to collect them and then discover that each Widget C really does way 250kg as we put in the product description online but their vehicle can only legally transport 3 Widget C’s at a time so they have to make 4 journeys. This is fine but it means that we have to give the warehouse team some way of keeping them abreast of how many the customer is collecting (not all customers are as honest as others would you believe?!).
My way of doing this, as far as I can see, is to break down the information and add to it a “Units Collected” and a “Units to be Collected” field for each order that the Warehouse guys will complete. My current Bubble knowledge doesn’t appear to be sufficient to enable me to do this. I’ve been playing with “Schedule API workflows on a list” but with limited success and it’s making me think there must be an easier way of achieving this.
I hope that helps clarify the above. Again, thank you for taking your time to look at it. I really do appreciate it as I do any helpful input anyone can provide me with. And apologies for my tardy response, I’m in the UK so was fast asleep when you replied…I’m guessing timezones are involved here and, if they’re not, then I’m humbled you were looking at this at 1am! If it’s any consolation, I was probably dreaming about it because it’s consuming all my thoughts currently.
Best
Joe