{"data":{"id":"MDVA-40488","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where configurable products with out-of-stock child products are not shown in their correct price range.","categories":["Catalog/Product"],"components":["magento/module-configurable-product","magento/module-inventory-configurable-product"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-9/mdva-40488-configurable-products-with-out-of-stock-child-products-not-shown-in-correct-price-range","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-9/mdva-40488-configurable-products-with-out-of-stock-child-products-not-shown-in-correct-price-range.md","blobSha":"46d5ab1c062c0917761a6e083ad47c30c88cdec5","description":"Configurable products with out-of-stock child products are not shown in their correct price range.","stepsToReproduce":"1. Create a configurable product with two associated products. For example: simple products Red and Brown. 1. Set inventory of the simple product Red, and set Stock Status to In Stock, then set the Enable Product status to No. 1. Set inventory of the simple product Brown, then set the Enable Product status to Yes. 1. Make sure the configurable product Stock Status is In Stock. 1. Change the inventory of the simple product Brown to 0 and set the Stock Status to Out of Stock. 1. At this point, the configurable product Stock Status is still In Stock. 1. Perform reindex. 1. Check the min_price and max_price for the configurable product in the catalog_product_index_price DB table - the two values are set to 0. 1. But if we set the configurable product Stock Status to Out of stock and do reindex, then we can see non-zero min_price and max_price values of the configurable product.","introducedInQpt":"1.1.9","createdFor":["2.4.2-p1"],"documentedRange":"2.4.2 - 2.4.3-p1","scheduledFixRelease":"2.4.4"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.2 <2.4.4","path":"patches/os/MDVA-40488_2.4.2-p1.patch","blobSha":"7a846f58e8b43cfd64403cc6fba527009784705a","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-40488_2.4.2-p1.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-configurable-product/Model/ResourceModel/Product/Indexer/Price/BaseStockStatusSelectProcessor.php","change":"modified","package":"magento/module-configurable-product"},{"path":"vendor/magento/module-configurable-product/Model/ResourceModel/Product/Indexer/Price/Configurable.php","change":"modified","package":"magento/module-configurable-product"},{"path":"vendor/magento/module-configurable-product/Model/ResourceModel/Product/Indexer/Price/OptionsIndexer.php","change":"added","package":"magento/module-configurable-product"},{"path":"vendor/magento/module-configurable-product/Model/ResourceModel/Product/Indexer/Price/OptionsIndexerInterface.php","change":"added","package":"magento/module-configurable-product"},{"path":"vendor/magento/module-configurable-product/Model/ResourceModel/Product/Indexer/Price/OptionsSelectBuilder.php","change":"added","package":"magento/module-configurable-product"},{"path":"vendor/magento/module-configurable-product/Model/ResourceModel/Product/Indexer/Price/OptionsSelectBuilderInterface.php","change":"added","package":"magento/module-configurable-product"},{"path":"vendor/magento/module-configurable-product/etc/di.xml","change":"modified","package":"magento/module-configurable-product"}],"packages":["magento/module-configurable-product"],"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"],"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"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/inventory-metapackage","constraint":">=1.2.2 <1.2.3","path":"patches/os/MDVA-40488_1.2.2.patch","blobSha":"a936ebe97b08b9d63506c7ccfe9b320edd8c9a0f","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-40488_1.2.2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-inventory-configurable-product/Pricing/Price/Indexer/BaseStockStatusSelectProcessor.php","change":"modified","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configurable-product/Pricing/Price/Indexer/OptionsIndexer.php","change":"added","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configurable-product/etc/di.xml","change":"modified","package":"magento/module-inventory-configurable-product"}],"packages":["magento/module-inventory-configurable-product"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.2-p2","2.4.2-p1","2.4.2"],"magento-commerce":["2.4.2-p2","2.4.2-p1","2.4.2"],"mage-os":[]},"unknownVersions":["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","2.3.0"],"requires":["MDVA-41061-V4"],"replacedWith":null,"deprecated":false},{"package":"magento/inventory-metapackage","constraint":">=1.2.3 <1.2.4","path":"patches/os/MDVA-40488_1.2.3.patch","blobSha":"dbb36c0e6aaeceac92123635f254e90483cab675","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-40488_1.2.3.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-inventory-configurable-product/Pricing/Price/Indexer/BaseStockStatusSelectProcessor.php","change":"modified","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configurable-product/Pricing/Price/Indexer/OptionsIndexer.php","change":"added","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configurable-product/etc/di.xml","change":"modified","package":"magento/module-inventory-configurable-product"}],"packages":["magento/module-inventory-configurable-product"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"mage-os":[]},"unknownVersions":["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","2.3.0"],"requires":["MDVA-41061-V4"],"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"],"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"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MDVA-40488 details"}