ACP2E-4805: Checkout requests slow down for configurable products when the first salable child appears later in the list
The ACP2E-4805 patch fixes the issue where checkout requests, such as totals-information and estimate-shipping-methods, experience significant performance degradation for configurable products with many child products when the first salable child appears later in the list. This patch is available when the Quality Patches Tool (QPT) 1.1.82 is installed. The patch ID is ACP2E-4805. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.10.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.8-p4
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.8 - 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
Checkout requests, such as totals-information and estimate-shipping-methods, experience significant performance degradation for configurable products with many child products when the first salable child appears later in the list.
Prerequisites:
Inventory Management (MSI) is enabled.
Steps to reproduce:
- Create a configurable product with 600 child products.
- Disable the first 400 child products by
entity_idin ascending order. - Add the configurable product to the cart 3 times with different option selections.
- Open the cart page and observe the response time for the
totals-informationrequest. - Enable the first child product by
entity_idin ascending order. - Open the cart page again and observe the response time for the
totals-informationrequest. - Compare the response times when an early child product is salable versus when the first salable child appears much later in the child product list.
Expected results:
All totals-information requests have similar response times regardless of which child product is the first salable one.
Actual results:
There is an observable response time change depending on the position of the first salable child.
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