ACP2E-4741: Saving a linked product hides another product from the storefront with custom stock
The ACP2E-4741 patch fixes the issue where a product disappears from the Storefront after a product linked to it as a Related Product, Up-Sell, or Cross-Sell is saved while a non-default stock and source are in use. This patch is available when the Quality Patches Tool (QPT) 1.1.84 is installed. The patch ID is ACP2E-4741. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.10.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.9
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.9
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
A product disappears from the Storefront after a related product linked as a Related Product, Up-Sell, or Cross-Sell is saved when a non-default stock and source configuration is in use.
Prerequisites:
Inventory Management (Multi-Source Inventory) is installed and enabled.
Steps to reproduce:
- Create a custom source and a custom stock.
- Create several products and assign them to the custom source.
- Edit one product and, in Related Products, Up-Sells, and Cross-Sells, add another product as a Related Product.
- Confirm both products appear on the storefront category page.
- Open one product in the Admin panel and save it without making changes.
- After the catalog indexer processes the saved product, refresh the storefront category page.
Expected results:
- Both linked products remain visible on the storefront category page after the product is saved and indexed.
Actual results:
- The category page reports two products, but displays only one.
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