{"data":{"id":"MDVA-42768","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where  Configurable product displays regular price as 0 when \"Display Out-of-Stock\" is Yes.","categories":["Inventory"],"components":["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-10/mdva-42768-graphql-shows-wrong-price-when-child-products-are-out-of-stock","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-10/mdva-42768-graphql-shows-wrong-price-when-child-products-are-out-of-stock.md","blobSha":"fb4cc1909b6633c7e28e5f6bc5aa2c1dcee120b4","description":"When the child products of a configurable product are out of stock and the Display Out of Stock Products setting is enabled, GraphQL query shows the regular price of the product as 0.","stepsToReproduce":"1. Enable the Display Out of Stock product setting in the Commerce Admin by going to Stores > Configuration > Catalog > Inventory. 1. Create a configurable product and assign a simple child product to it. 1. Set the inventory of the variant (simple) product to Out of Stock. 1. Reindex. 1. Execute the below GraphQL query: query { products(filter: { sku: { eq: \"MH01\" } }) { items { sku price_range { minimum_price { regular_price { value currency } final_price { value currency } discount { amount_off percent_off } } maximum_price { regular_price { value currency } final_price { value currency } discount { amount_off percent_off } } } } } } 1. Check the response section minimum_price > regular price.","introducedInQpt":"1.1.10","createdFor":["2.4.2"],"documentedRange":"2.3.4 - 2.4.3-p1","scheduledFixRelease":"2.4.5"},"files":[{"package":"magento/inventory-composer-metapackage","constraint":">=1.1.4 <=1.1.7","path":"patches/os/MDVA-42768_1.2.2.patch","blobSha":"aad7bd367c1b1ccb5bf863ef3c82695728c4d576","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-42768_1.2.2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-inventory-configurable-product/Pricing/Price/LowestPriceOptionsProvider/StockStatusBaseSelectProcessor.php","change":"modified","package":"magento/module-inventory-configurable-product"}],"packages":["magento/module-inventory-configurable-product"],"hasTests":false,"applicableVersions":{"magento-community":["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"],"magento-commerce":["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"],"mage-os":[]},"unknownVersions":["2.4.9","2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","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","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4","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.0"],"requires":[],"replacedWith":null,"deprecated":true},{"package":"magento/inventory-metapackage","constraint":">=1.2.0 <1.2.4","path":"patches/os/MDVA-42768_1.2.2.patch","blobSha":"aad7bd367c1b1ccb5bf863ef3c82695728c4d576","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-42768_1.2.2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-inventory-configurable-product/Pricing/Price/LowestPriceOptionsProvider/StockStatusBaseSelectProcessor.php","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","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"],"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"],"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":[],"replacedWith":"MDVA-42768-V2","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-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"],"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-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"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MDVA-42768 details"}