ACSD-54018: Performance issue with catalog widget product List

The ACSD-54018 patch fixes the issue where the page loads slowly when adding a catalog widget product list with condition and attribute type boolean. This patch is available when the Quality Patches Tool (QPT) 1.1.38 is installed. The patch ID is ACSD-54018. Please note that the issue was fixed in Adobe Commerce 2.4.6.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.4-p2

Compatible with Adobe Commerce versions:

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

The page loads slowly when adding a catalog widget product list with condition and attribute type boolean.

Steps to reproduce:

  1. Generate 100k products.

  2. Create a bool attribute with the scope set to Store View.

  3. Assign attribute to all attribute sets.

    • Assign the attribute value Yes to all products.
  4. Now go to Catalog > Products, and select all 100k products.

    • Choose Actions > Update Attribute.
    • Set the bool attribute to Yes and save it.
    • If you logged out on this step, check the Notes.
  5. Go to CLI and run php bin/magento queue:con:start product_action_attribute.update.

    • Make sure the attributes for all products are updated.
  6. Now go to Content > Pages and create a new page.

  7. Open Page Builder > Add row > Add Content > Products.

  8. Choose Select Products By = Condition.

  9. Set the condition Created attribute to Yes and save it.

  10. Go to the frontend and open the created page.

  11. Disable full page cache and block html cache.

  12. Check the page loading speed.

  13. Reload the page a few times and calculate the average loading time.

Expected results:

The page loads fast.

Actual results:

It takes 5-10 seconds to load the page.

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:

For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a