Skip to content

Commit

Permalink
Add paragraph about manual discount deletion in combination with vouc…
Browse files Browse the repository at this point in the history
…hers
  • Loading branch information
zedzior committed Nov 21, 2024
1 parent 2fdb099 commit d045876
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/developer/discounts/manual-discounts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -355,3 +355,10 @@ 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 and override vouchers. However, it doesn't mean the voucher is completely disconnected from an order.
Ie. when the manual discount is deleted, the voucher code associated with the order is evaluated again.
If the voucher has a [usage limit](developer/discounts/vouchers.mdx#usage-limits) and a manual discount overrides it, the usage is not released.

0 comments on commit d045876

Please sign in to comment.