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

Add paragraph about manual discount deletion in combination with vouchers #1399

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zedzior
Copy link
Member

@zedzior zedzior commented Nov 21, 2024

This PR adds paragraph about manual discount deletion in combination with vouchers

@zedzior zedzior added the core label Nov 21, 2024
@zedzior zedzior self-assigned this Nov 21, 2024
Copy link

vercel bot commented Nov 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
saleor-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 28, 2024 11:56am

@IKarbowiak IKarbowiak requested a review from a team November 26, 2024 09:03
IKarbowiak
IKarbowiak previously approved these changes Nov 26, 2024
@IKarbowiak IKarbowiak requested a review from a team November 26, 2024 13:29
### Manual discounts with vouchers

Manual discounts take precedence over vouchers, overriding them when applied. However, this does not entirely dissociate the voucher from the order.
For example, if the manual discount is removed, the system reevaluates the voucher code associated with the order.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't be good to be more explicit here?
What does reevaluates mean here? Does it mean, that the same voucher amount will be assigned back to the order? Or will the voucher amount be calculated based on the current order (like staff user modified lines/shipping method which changed the prices)?
Does the reevaluation use de-normalized values assigned to the order? Will the flow be the same when voucher instance exists/was deleted in the meantime?

@korycins korycins requested a review from a team November 27, 2024 08:25
@IKarbowiak IKarbowiak requested a review from a team November 29, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants