coopcycle-app icon indicating copy to clipboard operation
coopcycle-app copied to clipboard

New delivery; Show price before finishing

Open vladimir-8 opened this issue 1 year ago • 1 comments

Show only Total price for now, later on: https://github.com/coopcycle/coopcycle-app/issues/1885

vladimir-8 avatar May 24 '24 00:05 vladimir-8

The /api/retail_prices/calculate endpoint can already be used for this.

We just need to make sure to send the store property in the payload, like in this example

alexsegura avatar Sep 23 '24 15:09 alexsegura

@Pierre-LHOSTE to make it consistent with the current web implementation, we should not allow a store owner to proceed if a price can not be calculated. We will work on it in https://github.com/coopcycle/coopcycle/issues/573

Image

vladimir-8 avatar Nov 08 '24 19:11 vladimir-8

add an error message saying "price could not be calculated; please contact us to manage the issue."

Atala avatar Nov 18 '24 16:11 Atala