ACSD-56616: Storefront display of bundled products during simple stock shortage.
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
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:
- Create a new website/store/storefront.
- Create a new source.
- Create a new stock and assign it to the newly created website.
- Configure indexers to update on schedule.
- Generate two simple products, S1 (qty = 1) and S2 (qty = 1), and assign them to the new stock and new website.
- Create bundled1 product and associate it with new website, placing it in category CAT.
- Define two required dropdown options and link simple product S1 to option1 and S2 to option2.
- Save the products.
- Navigate to System > Configuration > General > Web and enable Add store code to URL = Yes.
- Open the storefront and purchase the bundled product.
- Run cron twice.
- 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:
- 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 released: a new tool to self-serve quality patches in our support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in our support knowledge base.
For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.