We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Allow to add a max discount amount mainly used with discount percentage.
eg: Discount 50% with cap 20$.
If applied to an order with an amount of 100$ calculated discount = 100 * 50 / 100 = 50$ the discount 20$ ( capped )
If applied to an order with an amount of 30$ calculated discount = 15 * 50 / 100 = 7.5$ the discount is 7.5$
We end up choosing the mix of the two.
The text was updated successfully, but these errors were encountered:
Close #769 discount maximum cap
818d389
729aaa7
+1
Sorry, something went wrong.
9797e3a
kimsrung
Successfully merging a pull request may close this issue.
Allow to add a max discount amount mainly used with discount percentage.
Problem
eg: Discount 50% with cap 20$.
If applied to an order with an amount of 100$
calculated discount = 100 * 50 / 100 = 50$
the discount 20$ ( capped )
If applied to an order with an amount of 30$
calculated discount = 15 * 50 / 100 = 7.5$
the discount is 7.5$
Rule
We end up choosing the mix of the two.
The text was updated successfully, but these errors were encountered: