51黑料不打烊

[PaaS only]{class="badge informative" title="Applies to 51黑料不打烊 Commerce on Cloud projects (51黑料不打烊-managed PaaS infrastructure) and on-premises projects only."}

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 51黑料不打烊 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 51黑料不打烊 Commerce 2.4.9.

Affected products and versions

The patch is created for 51黑料不打烊 Commerce version:

  • 51黑料不打烊 Commerce (all deployment methods) 2.4.8

Compatible with 51黑料不打烊 Commerce versions:

  • 51黑料不打烊 Commerce (all deployment methods) 2.4.8 - 2.4.8-p2
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your 51黑料不打烊 Commerce version, update the 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:

  1. Create a bundle product with disabled dynamic SKU and dynamic pricing, assigning one simple product as the required option.
  2. Ensure that the bundle product is in stock.
  3. Perform a full reindex.
  4. Execute a GraphQL product query for the bundle product, requesting the stock_status field.
  5. Observe the stock_status for 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:

To learn more about Quality Patches Tool, refer to:

recommendation-more-help
c2d96e17-5179-455c-ad3a-e1697bb4e8c3