-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Area: Cart & CheckoutComponent: FrontendIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReported on 2.4.7Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch
Description
Preconditions and environment
- Magento version 2.4.7
Steps to reproduce
- Create a sales rule with :
- Coupon code = test
- No limitation
- No conditions
- Action = Fixed amount for whole cart, 1€ discount
- Apply to Shipping Amount = yes
- Product condition = name equals to "any_text_that_is_not_a_product_name"
- Apply 'test' coupon to a frontend cart with a shipping amount.
Expected result
Rule is applied. Discount of 1€ is applied on shipping amount
Actual result
Cannot add coupon to cart (invalid coupon)
Additional information
We had rules like this to add discount on shipping amount (and shipping amount only). It worked perfectly in previous versions, but does not work anymore in 2.4.7.
Regression happened in this commit : 79d57b4 where line $this->rulesApplier->maintainAddressCouponCode($address, $rule, $this->getCouponCode());
has been removed. @sivaschenko / @bl4de : was there a reason ?
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Area: Cart & CheckoutComponent: FrontendIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReported on 2.4.7Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch
Type
Projects
Status
Done