{"data":{"id":"ACSD-48204","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where a catalog price rule created based on the Yes/No attribute does not consider the selected scope.","categories":["Price/Tax"],"components":["magento/module-catalog-rule","magento/module-catalog-rule-configurable"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-28/acsd-48204-catalog-price-rule-created-based-on-yes-no-attribute","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-28/acsd-48204-catalog-price-rule-created-based-on-yes-no-attribute.md","blobSha":"e31b1ed4c5d68773f139ef1240179e5c515d9968","description":"The catalog price rule created based on Yes/No attribute doesn't consider the selected scope.","stepsToReproduce":"1. Create two websites (Default and W2). 1. Create a product attribute of Yes/No type. * Set Default value = No * Scope = Website * Use for Promo Rule Conditions = Yes 1. Create a configurable product based on any attribute with two variations (V1 and V2). * Add the Yes/No attribute to the configurable variations attribute set * For one of the variations (V1), set the value to Yes on the non-default website (W2) 1. Create a catalog rule: * Applied to both websites * Condition: Yes/No attribute value is Yes * Discount = 50% 1. Open the configurable product on the non-default website (W2). 1. Check that the V1 variation has the 50% discount applied. 1. Open the V1 variation in the Adobe Commerce Admin. * Switch to the default website * Make no changes and save the product 1. Refresh the configurable product storefront page.","introducedInQpt":"1.1.28","createdFor":["2.4.2-p2"],"documentedRange":"2.3.7 - 2.4.2-p2","scheduledFixRelease":"2.4.7"},"files":[{"package":"magento/magento2-base","constraint":">=2.3.7 <2.4.3","path":"patches/os/ACSD-48204_2.4.2-p2.patch","blobSha":"e6cc8dbc871253e7509cdb84bfce941a105bb6d0","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-48204_2.4.2-p2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-catalog-rule/Model/Indexer/IndexBuilder.php","change":"modified","package":"magento/module-catalog-rule"},{"path":"vendor/magento/module-catalog-rule/Model/Indexer/ReindexRuleProduct.php","change":"modified","package":"magento/module-catalog-rule"},{"path":"vendor/magento/module-catalog-rule/Model/Rule.php","change":"modified","package":"magento/module-catalog-rule"},{"path":"vendor/magento/module-catalog-rule-configurable/Plugin/CatalogRule/Model/Rule/Validation.php","change":"modified","package":"magento/module-catalog-rule-configurable"}],"packages":["magento/module-catalog-rule","magento/module-catalog-rule-configurable"],"hasTests":false,"applicableVersions":{"magento-community":["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"],"magento-commerce":["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"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["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"],"magento-commerce":["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"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-48204 details"}