open-prices-frontend
open-prices-frontend copied to clipboard
Show preview of price per unit before upload
Problem
Price per kg is only displayed after uploading/editing the price.
Proposed solution
Show a live preview of the price per unit while typing the price for products that have a known weight/quantity.
Additional context
The price per unit field could also be editable and allow you to input the unit price instead and then automatically calculate the price per piece.
Hi odin-h, I'm not sure I completely understand your request.
The price is already correctly displayed in the form and the greyed-out feedback, no ?
I mean like this, where it automatically calculates the value of the other box based on the weight while typing the price before you upload it. It should be possible to enter the price into either box and see the converted value in the other one.
The automatic calculation would only be possible for products that have a correct weight specified. However, combining this feature with #527 could allow you to click the yellow question mark and fill in the missing/corrected weight value.