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

Fix Discount Calculation if an Article is assigned to Coupon #936

Open
wants to merge 2 commits into
base: b-7.0.x
Choose a base branch
from

Conversation

janspeller
Copy link

The Calculation of the Discount Value is not precise if:

  • Coupon has an Article assigned
  • Article Quantity is higher than 1
  • Article has odd price (like 1.62 used for the written Test)

The Coupon Value in the Basket will be rounded to 2 Decimals before being multiplied by the Article Quantity. This leads to an inprecise Calculation.

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