-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[Core] Bad reverting of ShippingPercentageDiscount promotion #9836
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
Conversation
pamil
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you be willing to provide a Behat scenario to prevent regressions?
c283234 to
c32d391
Compare
|
Added. 👍 |
c32d391 to
2a747c3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The provided scenario passes without the proposed change in the code.
|
It's because this problem isn't in 1.2. The shipping discount works as expected in 1.2 (even though there is the same line is in the code). |
2a747c3 to
ed8c8ef
Compare
|
I'm sorry, you're right, it must be an error that started to happen after we fixed the percentage based promotions. |
ed8c8ef to
9540646
Compare
|
No problem :) I updated my branch with latest 1.3. All checks passed. Is it possible to merge now? Let me know if you need anything else to do. Thanks. |
|
Thanks, @fendrychl! |
When you create a promotion with a discount on delivery, you cannot submit an order.
Steps to reproduce
Create a promotion with "Shipping percentage discount" (set any percents). All orders with applied promotions are unable to finish. After submitting on last step, you will see a "Your order total has been changed, check your order information and confirm it again." message.