[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects (Adobe-managed PaaS infrastructure) and on-premises projects only."}

ACSD-62635: Multi-store related products displayed incorrectly in GraphQL

The ACSD-62635 patch fixes the issue where multi-store related products do not display properly in the GraphQL product query. This patch is available when the Quality Patches Tool (QPT) 1.1.57 is installed. The patch ID is ACSD-62635. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.8.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.7-p2

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.7 - 2.4.7-p3
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

When B2B is enabled, GraphQL request returns all related products from all websites even if a store view scope is used in the request.

Steps to reproduce:

  1. Create two websites, stores, and store views.

  2. Create the following simple products:

    • One main with SKU product1 assigned to all websites
    • One assigned only to Website 1
    • One assigned only to Website 2
    • One assigned to both Website 1 and Website 2
  3. Add all the products as related to product1.

  4. Enable B2B and Shared Catalog.

  5. Add all products to the default shared catalog.

  6. Send GraphQL request to retrieve product1 and its related products with the store code of Website 1 in the header.

Expected results:

The response contains related products only from the websites that correspond to the store code sent in the request header.

Actual results:

The response contains all related products from all websites, regardless of the store code specified in the request.

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
c2d96e17-5179-455c-ad3a-e1697bb4e8c3