open-prices-frontend icon indicating copy to clipboard operation
open-prices-frontend copied to clipboard

Show preview of price per unit before upload

Open odin-h opened this issue 10 months ago • 2 comments

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.

odin-h avatar Apr 15 '24 20:04 odin-h

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 ? image

raphodn avatar Apr 25 '24 16:04 raphodn

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. open prices 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.

odin-h avatar Apr 25 '24 16:04 odin-h