QUALITY PATCH

ACP2E-4741: A product disappears from the Storefront after a related product linked as a Related…

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. Quality patch ACP2E-4741 for magento/module-inventory-grouped-product-indexer applies to Magento Open Source and Adobe Commerce 2.4.9. Adobe lists the fix as scheduled for 2.4.10.

Source: Adobe Experience League

Categories
Catalog/Product
Components
magento/module-inventory-grouped-product-indexer
Origin
adobe-commerce-support
Since QPT
1.1.84

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.

Steps to reproduce

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

Adobe's page lists 2.4.9 as compatible; the versions below are resolved from the current QPT constraints and are the ones the tool will offer.

Adobe scheduled the permanent fix for 2.4.10.

Install

Install the Quality Patches Tool with composer require magento/quality-patches, apply the prerequisites listed for all files applicable to your distribution and version first, then run vendor/bin/magento-patches apply ACP2E-4741. On Cloud, add ACP2E-4741 under stage.build.QUALITY_PATCHES in .magento.env.yaml.

For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its ACP2E-4741/ folder into patches/composer/, merge composer.patches.json into composer.json, then run composer install. Bundle prerequisites the same way and list them first. Paths are relative to each package root, using the default -p1 level. Prefer local files when configuring composer-patches; a remote URL can change.

Patch files and compatible versions

Packages across compatible versions (1): magento/module-inventory-grouped-product-indexer
Packages across compatible versions (1): magento/module-inventory-grouped-product-indexer

magento/inventory-metapackage >=1.2.9 <1.2.10

Magento Open Source
2.4.9
Adobe Commerce
2.4.9
Patch file
patches/os/ACP2E-5130_1.2.9.patch
  • vendor/magento/module-inventory-grouped-product-indexer/Indexer/SiblingProductsProvider.php

Sources

Łukasz Bajsarowicz
Built by

Łukasz Bajsarowicz, e-commerce architect

Magento and Adobe Commerce architecture, upgrades, performance and audits for merchants and agencies since 2015; magento.watch is the tooling I use on those projects.

Open source, maintained on weekends.