{"data":{"id":"ACSD-61799","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where the total discount is incorrectly calculated when multiple cart rules with fixed discounts are applied to the quote.","categories":["Shopping Cart"],"components":["magento/module-sales-rule"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-54/acsd-61799-incorrect-total-discount-calculation-with-multiple-fixed-discount-rules","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-54/acsd-61799-incorrect-total-discount-calculation-with-multiple-fixed-discount-rules.md","blobSha":"95a36067229892af105fcda911b2d8e7fd0ad60a","description":"The total discount is incorrectly calculated when multiple cart rules with Fixed amount discount for the whole cart are applied to a shopping cart.","stepsToReproduce":"1. Create four products with a price of $1000. 1. Create three cart price rules without any conditions that give a $100 discount for the whole cart. 1. Create another cart price rule that gives a $100 discount for the whole cart, with a condition that prevents the rule from being applied. 1. Disable the rule. 1. Add three products to the shopping cart and observe the discount in the cart. 1. Add additional products to the cart and observe the discount in the cart. 1. Enable the disabled cart price rule. 1. Update the shopping cart page and observe the discount in the cart.","introducedInQpt":"1.1.54","createdFor":["2.4.4-p6"],"documentedRange":"2.4.4 - 2.4.4-p11","scheduledFixRelease":"2.4.8"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.4 <2.4.5","path":"patches/os/ACSD-61799_2.4.4-p6.patch","blobSha":"2a5f94d1a2a06fd26875295ef6eea1c8b27f1170","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-61799_2.4.4-p6.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-sales-rule/Helper/CartFixedDiscount.php","change":"modified","package":"magento/module-sales-rule"},{"path":"vendor/magento/module-sales-rule/Model/Rule/Action/Discount/CartFixed.php","change":"modified","package":"magento/module-sales-rule"},{"path":"vendor/magento/module-sales-rule/Model/Validator.php","change":"modified","package":"magento/module-sales-rule"}],"packages":["magento/module-sales-rule"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"magento-commerce":["2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"magento-commerce":["2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-61799 details"}