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

ACSD-66302: Wishlist items filtered by store ID instead of website

The ACSD-66302 patch fixes the issue where wishlist items being filtered by store ID instead of website in GraphQL requests. This patch is available when the Quality Patches Tool (QPT) 1.1.69 is installed. The patch ID is ACSD-66302. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.9.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.8

Compatible with Adobe Commerce versions:

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

Wishlist items are incorrectly filtered by store ID instead of by website.

Steps to reproduce:

  1. Create a simple product.

  2. Create an additional storeview.

  3. In Admin, go to Stores > Settings > Configuration > Customers > Wish List > General Options, and set Enable Multiple Wish Lists to Yes.

  4. Go to Stores > Settings > Configuration > General > Web > Url Options, and set Add Store Code to Urls to Yes.

  5. Create a customer account.

  6. Use a GraphQL request to retrieve the customer auth token.

  7. Login as the customer.

  8. Select the Default Store View and add the product to the wishlist.

  9. Switch store view to test.

  10. Confirm that the product still appears in the wishlist (correct behavior).

  11. Execute the following GraphQL query:

    code language-none
    {
      customer {
        wishlists {
          id
          name
          items_count
          items_v2 {
            items {
              id
              product {
                uid
                name
                sku
              }
            }
          }
        }
      }
    }
    
  12. Perform the query on the default store – the product appears as expected.

  13. Perform the same query on the test store – the product does not appear.

Expected results:

Product should be visible across all store views within the same website via GraphQL queries.

Actual results:

Product disappears from wishlist when switching store views.

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