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

ACSD-68537: Checkout performance degrades with many customer segments

The ACSD-68537 patch fixes the issue where checkout performance degraded as the number of customer segments increased. This patch is available when the Quality Patches Tool (QPT) 1.1.77 is installed. The patch ID is ACSD-68537. 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-p2

Compatible with Adobe Commerce versions:

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

Checkout performance degraded when a large number of customer segments were configured.

Steps to reproduce:

  1. Create multiple customer segments with several conditions and configure them to match ANY condition.

  2. Create a cart price rule with a coupon that matches the previously created customer segments and applies a 20% discount.

  3. Add a product to the cart on the Storefront.

  4. Go to checkout.

  5. Perform actions that trigger customer segment evaluation:

    1. Register as a customer
    2. Enter an address.
    3. Update an address.
    4. Enter a coupon code.

Expected results:

Checkout performance remains acceptable, even with a large number of customer segments and conditions.

Actual results:

Checkout performance is slow.

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