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

ACSD-68573: Category permissions were not applied to customer wishlist items, causing incorrect display and pagination on the web storefront and in GraphQL

The ACSD-68573 patch fixes the issue where category permissions were not applied properly to customer wishlist items. This patch is available when the Quality Patches Tool (QPT) 1.1.75 is installed. The patch ID is ACSD-68573. 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.7-p6

Compatible with Adobe Commerce versions:

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

Category permissions were not applied correctly to customer wishlist items.

Steps to reproduce:

  1. Create a customer and assign only the Retailer customer group.

  2. Navigate to Stores > Configuration > Catalog > Catalog > Category Permissions and set:

    1. Enabled: Yes
    2. Allow Browsing Category: Yes, for Specified Customer Groups
    3. Customer Groups: Retailer
  3. Go to Catalog > Categories and create a new category.

  4. Set category permissions to Allow for all three options for the Retailer group.

  5. Modify another category (the existing category that already contains 10 products).

  6. Set category permissions to Allow for all three options for All Customer Groups.

  7. Add any products to the new category.

  8. Execute the reindex process.

  9. On the Storefront, log in as the customer.

  10. Add products from the new category to the wishlist.

  11. Add all 10 products from the old category to the wishlist.

  12. Change the customer group to General in the Admin panel.

  13. Log out and log back in as the customer on the Storefront.

  14. Open the wishlist.

Expected results:

  1. The wishlist should display Items 1 of 10 total.
  2. Only the product not from the Code Bank category should be visible in the wishlist.
  3. Pagination should display Page 1 of 1.

Actual results:

  1. The wishlist displays Items 1 to 9 of 11 total.
  2. The message You have no items in your wish list is shown.
  3. Pagination display Page 1 of 2.

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