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
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/developer/discounts/manual-discounts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -355,3 +355,11 @@ The rest of the discount, **$13** was applied to the subtotal and next propagate
its price was discounted by $10 (100 / 130 * 13).

For more complex cases, please check [Examples](developer/discounts/examples.mdx) section.


### 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 will reevaluate the voucher and attempt to reapply it based on the latest conditions.
If the voucher has been deleted in the meantime, it will not be applied.
Note that if the voucher has a [usage limit](developer/discounts/vouchers.mdx#usage-limits) and is overridden by a manual discount, the usage count for the voucher remains unaffected.