ACSD-67652: Bundle product status returned as out-of-stock in GraphQL calls with child and parent products in stock
The ACSD-67652 patch resolves an issue in Adobe Commerce where GraphQL incorrectly reports bundle products as out-of-stock, even though both the child and parent items are available. This patch is available when the Quality Patches Tool (QPT) 1.1.71 is installed. The patch ID is ACSD-67652. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.9.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.8
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.8 - 2.4.8-p2
magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.Issue
An incorrect out-of-stock status is returned for bundle products in GraphQL, despite child and parent items being in stock.
Steps to reproduce:
- Create a bundle product with disabled dynamic SKU and dynamic pricing, assigning one simple product as the required option.
- Ensure that the bundle product is in stock.
- Perform a full reindex.
- Execute a GraphQL
productquery for the bundle product, requesting thestock_statusfield. - Observe the
stock_statusfor the bundle product in the GraphQL response.
Expected results:
The bundle product stock status should be IN_STOCK in the GraphQL response.
Actual results:
The bundle product stock status is OUT_OF_STOCK in the GraphQL response.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool: A self-service tool for quality patches in the Tools guide