ACSD-66441: Layered Navigation displays incorrect attribute options in multi-store setup
The ACSD-66441 patch fixes the issue where Layered Navigation displays attributes from other stores incorrectly in a multi-store setup. This patch is available when the Quality Patches Tool (QPT) 1.1.67 is installed. The patch ID is ACSD-66441. Please note that this issue is scheduled to be fixed in ÃÛ¶¹ÊÓÆµ Commerce 2.4.9.
Affected products and versions
The patch is created for ÃÛ¶¹ÊÓÆµ Commerce version:
- ÃÛ¶¹ÊÓÆµ Commerce (all deployment methods) 2.4.7-p5
Compatible with ÃÛ¶¹ÊÓÆµ Commerce versions:
- ÃÛ¶¹ÊÓÆµ Commerce (all deployment methods) 2.4.5 - 2.4.7-p6
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
Layered Navigation on the storefront includes attribute values from other stores, even when those products are not available in the current store view.
Steps to reproduce:
- Create a secondary website, store, and store view.
- Create a configurable product using a custom attribute (for example, size).
- Assign the configurable product to the main website and a category.
- Reindex all data.
- Navigate to the assigned category on the storefront. All size options appear correctly in Layered Navigation.
- Unassign two simple products from the main website and assign them to the secondary website, or remove them from the main website.
- Reindex all data.
- Revisit the storefront category page and check the Layered Navigation.
Expected results:
Layered Navigation displays only attribute options from products assigned to the current store or website.
Actual results:
Layered Navigation displays attribute options (sizes) from products assigned to other stores or websites.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- ÃÛ¶¹ÊÓÆµ Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- ÃÛ¶¹ÊÓÆµ 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.