How to Make Progress Bar Track Product Sales

I am using the element: Progress Bar from the Wix Widgets. I tried to connect the dataset which connects to my inventory. In the list is all my products.

I want to make a progress bar that shows the amount of sales per product. Each product, individually. Tracking each sale, for each product. There’s a goal, too, that needs to be reached. For each product. This should be fairly obvious and easy to create. Seeing as it looks like that is /exactly/ the kind of feature the progress bar was probably created for. But here I am, not being able to figure out how to make it do that. Hmm.

So. How do I actually make this possible? Everything is greyed out when I try to connect the dataset. And… Uh, I don’t know the code I need to magically make it work with Velo. There isn’t a place to learn it… So. How do I make this do what I need it to do? Do I need a code or something?

That would be greeeaat.

Please I just need the code to track live sales per product. Please this shouldn’t be an impossibility on WIX. LIVE SALES per product please. No manually updating. Just like a fundraiser if you actually need context to understand what I am asking for. Please. Please. I don’t have much time left for this. I need to launch soon.

If I can’t automatically get this to update by connecting to live sales on the product, even writing this API doesn’t show on the progress bar, if I chose the manual route. I’d prefer a code that somehow reads the sales of the product itself. Each product is in its own collection.

1 Like

i have same problem - trying to filter query of Orders based on a certain collection but i can only filter “line items” field