{"data":{"id":"MDVA-39181","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where related product rules show products from categories not defined in the rule conditions.","categories":["Catalog/Product"],"components":["magento/module-target-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-10/mdva-39181-related-product-rules-show-products-from-category-not-defined-in-rule","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-10/mdva-39181-related-product-rules-show-products-from-category-not-defined-in-rule.md","blobSha":"454048a08e68c482e28260608887094be0152cc5","description":"Related product rules show products from categories not defined in the rule.","stepsToReproduce":"1. Create an attribute brand and add it to the Tops Attribute Set. 1. Choose Josie, Augusta, and Ingrid jackets to add to the Brand Kitty from Women > Tops > Jackets category. 1. Choose Beaumont, Hyperion, and Kenobi jackets to add to the Brand Kitty from Men > Tops > Jacket category. 1. Create a related product with: Apply To: Related Products Customer Segments: All * Products to Match: If ALL of these conditions are TRUE Category is {} Brand is {} * Products to Display: If ALL of these conditions are TRUE Product Category is the same as Matched Product Category Product brand is Matched Product Brand 1. Open SKU WJ04 from the front end and check related products. 1. Update the category ID from Women > Tops > Jackets in case it is different from this.","introducedInQpt":"1.1.10","createdFor":["2.4.2"],"documentedRange":"2.4.1 - 2.4.3-p1","scheduledFixRelease":"2.4.5"},"files":[{"package":"magento/magento2-ee-base","constraint":">=2.4.1 <2.4.4","path":"patches/commerce/MDVA-39181_2.4.2.patch","blobSha":"7130a7bbc9c31933af481530e4f5ae075f650407","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/MDVA-39181_2.4.2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-target-rule/Model/ResourceModel/Index.php","change":"modified","package":"magento/module-target-rule"}],"packages":["magento/module-target-rule"],"hasTests":false,"applicableVersions":{"magento-community":[],"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"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"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"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MDVA-39181 details"}