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

Wrong discount calculation #1173

Open
vosco88 opened this issue Sep 24, 2024 · 0 comments
Open

Wrong discount calculation #1173

vosco88 opened this issue Sep 24, 2024 · 0 comments

Comments

@vosco88
Copy link
Contributor

vosco88 commented Sep 24, 2024

I have a percentage discount set up when code is entered. When trying it out it has a weird behavior of calculating the percentage for the discount from already discounted total.

Example before applying the discount:
Screenshot 2024-09-24 at 20 01 01
Total is 78 for which I would like to use 10% discount coupon.

After applying the discount
Screenshot 2024-09-24 at 20 01 47

The applied discount should be 7.80. Which gets translated into subtotal price of 70.20. But then this is taken and used for the coupon discount of 7.02.

Also this order that a customer recently did
image

The sum of his products is 257, so the discount should be 25.7.
The subtotal in my view should be 257 and from that the discount should be subtracted to get to the correct amount of 231,30. It seems that the discount gets applied to subtotal and then from that subtotal it get calculated again ( wrongly as it is not the 23.13)

Can you help here?

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

No branches or pull requests

1 participant