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
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

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:

  1. Create a custom source and a custom stock.
  2. Create several products and assign them to the custom source.
  3. Edit one product and, in Related Products, Up-Sells, and Cross-Sells, add another product as a Related Product.
  4. Confirm both products appear on the storefront category page.
  5. Open one product in the Admin panel and save it without making changes.
  6. After the catalog indexer processes the saved product, refresh the storefront category page.

Expected results:

  1. Both linked products remain visible on the storefront category page after the product is saved and indexed.

Actual results:

  1. 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:

To learn more about Quality Patches Tool, refer to:

recommendation-more-help
commerce-operations-help-tools