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
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:
-
Generate 100k products.
-
Create a bool attribute with the scope set to Store View.
-
Assign attribute to all attribute sets.
- Assign the attribute value Yes to all products.
-
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.
-
Go to CLI and run
php bin/magento queue:con:start product_action_attribute.update
.- Make sure the attributes for all products are updated.
-
Now go to Content > Pages and create a new page.
-
Open Page Builder > Add row > Add Content > Products.
-
Choose Select Products By = Condition.
-
Set the condition Created attribute to Yes and save it.
-
Go to the frontend and open the created page.
-
Disable full page cache and block html cache.
-
Check the page loading speed.
-
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:
- 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 released: a new tool to self-serve quality patches in the support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in the Quality Patches Tool guide.
For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.