Skip to content
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

New delivery; Show price before finishing #1793

Closed
Tracked by #30 ...
vladimir-8 opened this issue May 24, 2024 · 3 comments · Fixed by #1922
Closed
Tracked by #30 ...

New delivery; Show price before finishing #1793

vladimir-8 opened this issue May 24, 2024 · 3 comments · Fixed by #1922

Comments

@vladimir-8
Copy link
Contributor

vladimir-8 commented May 24, 2024

Show only Total price for now, later on: #1885

@vladimir-8 vladimir-8 changed the title New delivery; Show price before finishing + price details New delivery; Show price before finishing + price details [API changes required] May 24, 2024
@alexsegura
Copy link
Member

alexsegura commented Sep 23, 2024

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

@vladimir-8 vladimir-8 changed the title New delivery; Show price before finishing + price details [API changes required] New delivery; Show price before finishing Sep 30, 2024
@vladimir-8
Copy link
Contributor Author

@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 coopcycle/coopcycle-web#4557

Image

@Atala
Copy link
Member

Atala commented Nov 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants