ACSD-56616: Storefront display of bundled products during simple stock shortage.

Last update: 2024-02-05
  • Created for:
  • Admin
    Developer

The ACSD-56616 patch fixes the issue where bundled products unexpectedly appear on the storefront when all associated simple products are out of stock. This patch is available when the Quality Patches Tool (QPT) 1.1.45 is installed. The patch ID is ACSD-56616. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.7.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.5-p1

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

Incorrect storefront display of bundled products during simple stock shortage.

Steps to reproduce:

  1. Create a new website/store/storefront.
  2. Create a new source.
  3. Create a new stock and assign it to the newly created website.
  4. Configure indexers to update on schedule.
  5. Generate two simple products, S1 (qty = 1) and S2 (qty = 1), and assign them to the new stock and new website.
  6. Create bundled1 product and associate it with new website, placing it in category CAT.
  7. Define two required dropdown options and link simple product S1 to option1 and S2 to option2.
  8. Save the products.
  9. Navigate to System > Configuration > General > Web and enable Add store code to URL = Yes.
  10. Open the storefront and purchase the bundled product.
  11. Run cron twice.
  12. Return to the CAT category.

Expected results:

The bundle1 product is out of stock.

Actual results:

The bundle1 product is visible with price = $0.

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.

On this page