-
-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show the price for the number of selected parts #496
Conversation
I need to check better what 20-180 for example means. Does that include 20 but not 180? |
9382d87
to
3433d63
Compare
1e8828d
to
d3c1538
Compare
But I found another issue, every part has a minimum price: That piece of information is not in the parts database and if we want to show the correct price we would have to do an API call for every row in the results. So we will not be able to show the real price for most parts 🤷🏽♂️ |
This is an attempt to make the messy price column more useful.
We now go through the price ranges and check for the number of selected parts (doable via the alike button fr example) in whch price range we are. Then return that as the price: