ACP2E-4300: Storefront catalog permissions not updating after Admin customer group change
The ACP2E-4300 patch fixes the issue where changing a customer group in the Admin does not update catalog permissions on the storefront, causing the catalog and cart to reflect outdated permissions. This patch is available when the Quality Patches Tool (QPT) 1.1.81 is installed. The patch ID is ACP2E-4300. 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-p5
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.5 - 2.4.8-p5
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
Changing a customer group in the Admin does not update catalog permissions on the storefront, causing the catalog and cart to reflect outdated permissions.
Steps to reproduce:
- In Admin, go to Stores > Settings > Configuration.
- In the left panel, expand Catalog and choose Catalog. Expand Category Permissions. Set Enable to Yes. Set Allow Browsing Category to Yes, for Specified Customer Groups. Select General in Customer Groups.
- Create a simple product and assign it to a category.
- Go to Catalog > Categories, select the category, expand Category Permissions, click New Permission, choose the applicable Website and Customer Group as the retailer, and set Browsing Category, Display Product Prices, and Add to Cart to Deny.
- Create a customer account on the storefront with the default General customer group.
- Add the product to the cart.
- Go to Customers > All Customers. Select the customer, set the Actions control to Assign a Customer Group, choose Retailer, and click OK when prompted to confirm.
- Refresh the cart or proceed to the checkout on the storefront.
Expected results:
- Restricted products should be removed from the cart when the customer proceeds to checkout.
- Restricted products should not be available to add to the cart from the category page.
Actual results:
- The product remains in the cart.
- The customer can place an order for the product.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool: A self-service tool for quality patches in the Tools guide