{"data":{"id":"ACSD-63469","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixed the issue where fixed-amount discounts for the whole cart were not being applied properly when more than one rule was applied.","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-59/acsd-63469-whole-carts-fixed-amount-discount-not-applied-correctly","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-59/acsd-63469-whole-carts-fixed-amount-discount-not-applied-correctly.md","blobSha":"f1cce6b47ad1b3c13b9dadf10e3cf1a01ff34871","description":"When multiple Fixed amount discount for whole cart rules are applied simultaneously, and the products have discounted or special prices, the discount value is calculated incorrectly.","stepsToReproduce":"1. Create two products priced at $850 and $85, and set their special prices to $765 and $68, respectively. 1. Create two Cart Price Rules as follows: * Rule 1 * Conditions: For the $850 product, set Qty to equals or greater than 2 * Actions: Apply Fixed amount discount for whole cart of $153 * Rule 2 * Conditions: For the $85 product, set Qty to equals or greater than 2 * Actions: Apply Fixed amount discount for whole cart of $14 1. Add both products to the cart, each with a quantity of 2.","introducedInQpt":"1.1.59","createdFor":["2.4.7-p2"],"documentedRange":"2.4.7 - 2.4.7-p4","scheduledFixRelease":"2.4.8"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.7 <2.4.8","path":"patches/os/ACSD-63469_2.4.7-p2_v2.patch","blobSha":"f559175d794b7106312961588749bf78e901847c","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-63469_2.4.7-p2_v2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-sales-rule/Model/Rule/Action/Discount/ByFixed.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/Rule/Action/Discount/ExistingDiscountRuleCollector.php","change":"added","package":"magento/module-sales-rule"},{"path":"vendor/magento/module-sales-rule/Model/Utility.php","change":"modified","package":"magento/module-sales-rule"},{"path":"vendor/magento/module-sales-rule/Model/Validator.php","change":"modified","package":"magento/module-sales-rule"},{"path":"vendor/magento/module-sales-rule/etc/di.xml","change":"modified","package":"magento/module-sales-rule"}],"packages":["magento/module-sales-rule"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"magento-commerce":["2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"magento-commerce":["2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-63469 details"}