{"data":{"id":"MDVA-44533","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where the discount is wrongly applied to a bundle child product.","categories":["Price/Tax"],"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-15/mdva-44533-discount-incorrectly-applied-to-bundle-child-product","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-15/mdva-44533-discount-incorrectly-applied-to-bundle-child-product.md","blobSha":"69faca7bb19d53cd82182801408c2800de2f9e59","description":"Discount is incorrectly applied to a bundled child product.","stepsToReproduce":"1. Create a simple product with price of 50$. 1. Create a bundled product, and assign the simple product as the only option for the bundled product. 1. Create a Cart Price Rule with: * Condition: If the total amount is greater than 130$ * Action: Fixed amount discount of 10$ is applied 1. Go to the storefront and add the bundle product to the cart with qty = 1. 1. Go to the cart and check that the total cost of the bundle product is 50$ and the discount doesn't apply. 1. Change quantity to 2 and update the cart. The total cost of the bundled product should now be 100$.","introducedInQpt":"1.1.15","createdFor":["2.4.2-p2"],"documentedRange":"2.3.1 - 2.4.3-p2","scheduledFixRelease":"2.4.5"},"files":[{"package":"magento/magento2-base","constraint":">=2.3.1 <2.4.4","path":"patches/os/MDVA-44533_2.4.2-p2.patch","blobSha":"4c6b6142cb414a06d4c6d3352e9a7d18b0ad6e38","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-44533_2.4.2-p2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-sales-rule/Model/Rule/Condition/Product/Subselect.php","change":"modified","package":"magento/module-sales-rule"}],"packages":["magento/module-sales-rule"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MDVA-44533 details"}