-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Discount Amount Wrong When Apply Multi Cart Rules #39448
Comments
Hi @m08110071. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hi @m08110071, Thanks for your reporting and collaboration. We have verified the issue in Latest 2.4-develop instance and the issue is not reproducible.As Per Magento devdocs https://experienceleague.adobe.com/en/docs/commerce-admin/marketing/promotions/cart-rules/price-rules-cart-create#step-3-define-the-actions it is an expected behaviour of magento. The rule having highest priority(i.e 1) it will controls the cart first. As per the steps to reproduce we have set priortity 1 to cart price rule 1 and priority 10 to cart price rule 2. It will apply like this : 1000-100=900>>cart price rule 1 900-90(10%discount)=810>>cart price rule 2 If we change priorities of cart price rule It will apply like this : 1000-100(10%discount)=900>>cart price rule 1 900-100=800>>cart price rule 2 Here cart price rule will control the cart first as per the priority.Could you please let us know if you are still facing any issue. Thanks. |
Hi @m08110071, Thanks for your update. Since we have defined priorities for the cart price rules after applying highest priority cart price rule the price of the product will be decreased and after second rule will apply and it is an expected behaviour of magento. Even though if we enable Discard Subsequent Rules the highest priority will control the action. https://experienceleague.adobe.com/en/docs/commerce-admin/marketing/promotions/cart-rules/price-rules-cart-create#step-3-define-the-actions as per the document and based on the priorities it is an expected behaviour of Magento. Thanks. |
Preconditions and environment
Steps to reproduce
Add new simple product with price 1000$, no tax
Add new cart price rule 1 to apply for all cart: No coupon, Discount 100$ for whole cart, Priority: 1
Add new cart price rule 2 to apply for all cart: No coupon, Discount 10% of product price, Priority: 10
Add new product to cart and go to cart page
Check discount amount, total discount is 190$. It should be 200$
Change priority of cart price rules: rule 1 => 10, rule 2 => 1
Check discount amount, total discount is 200$
Expected result
Actual result
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: