ACSD-62629: Product list in widgets shows incorrect categories
The ACSD-62629 patch fixes the issue where the product list used in widgets does not respect category condition. This patch is available when the Quality Patches Tool (QPT) 1.1.57 is installed. The patch ID is ACSD-62629. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.8.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.7-p2
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.7 - 2.4.7-p3
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
Product list used in widgets does not respect the category condition.
Steps to reproduce:
- Create a simple product named TEST and add it to Category 1.
- Create a staging update without an end date for the TEST product. Wait until the update becomes active.
- Create a configurable product named TEST 2 with two child products and add it to Category 2.
- Create another simple product named TEST 5 and add it to Category 1.
- Run a full reindex.
- Navigate to Content > Elements > Pages and edit the home page.
- Add a Products widget with Appearance set to Product Carousel and Category set to Category 2. Save the page.
- Go to the frontend and open the home page.
Expected results:
Only the TEST 2 (configurable) product should be present on the page.
Actual results:
Both the TEST 5 (simple) and TEST 2 (configurable) products are present on 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: A self-service tool for quality patches in the Tools guide.