ACSD-48910: Bundled product assigned multiple sources go out of stock after invoice and shipping

The ACSD-48910 patch fixes the issue where the bundled product assigned to multiple sources goes out of stock after an order is invoiced and shipped, even if it still has a non-zero quantity. This patch is available when the Quality Patches Tool (QPT) 1.1.42 is installed. The patch ID is ACSD-48910. Please note that the issue was fixed in Adobe Commerce 2.4.6.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.5-p3

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.5 - 2.4.5-p5
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe 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

The bundled product assigned to multiple sources goes out of stock after invoicing and shipping, even if it’s still available.

Steps to reproduce:

  1. Create two websites.
  2. Create two stores/store views (one per website).
  3. Create two simple products (qty = 10) and assign them to both stocks and websites.
  4. Create a bundled product and add these simple products to it. Assign the bundled product to both websites.
  5. Go to the storefront and add the bundled product to the cart.
  6. Check out and place the order.
  7. From the Admin, invoice and ship the order.

Expected results:

The bundled product stays in stock since we bought only 1 of the 10 items.

Actual results:

The bundled product changes its status to out-of-stock.

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:

For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a