-
Notifications
You must be signed in to change notification settings - Fork 0
[Shopping basket] Discount is not calculated correctly #1
Copy link
Copy link
Open
Description
Describe the bug
With discount amounts over 1000, the discount calculation is not correct.
To Reproduce
Steps to reproduce the behavior:
- Go to 'https://moonavoor.ee/est/tooted/tapeedid/rasch-textil/bloomsbury---uus/fototapeet-duncan-terra-302836302867/'
- Add 99 product to the shopping basket
- Open the shopping basket
- Scroll down to the bottom
- ALE -15% shows incorect amount -7 €
Expected behavior
ALE -15% should have discount amount of -7 722€
Logs
Request URL: https://moonavoor.ee/ajax/id:12444/action:changeAmount
Request Method: POST
Payload:
- basketProductId: 71420246cdba00dc0c521707f29caad6
- productAmount: 99
Response:
responseData
shoppingBasketData
discountsList:
amount: "7.00"
code: "discount131231"
id: 131231
title : "ALE -15%"
Desktop (please complete the following information):
- OS: Windows 11
- Browser - Chrome Version 119.0.6045.159
Additional context
Problem seems to be on the backend calculation side.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
