ACP2E-4929: Attribute labels on the Compare Products page display translations from a different store view instead of the current one
The ACP2E-4929 patch fixes the issue where attribute labels on the Compare Products page, such as Short Description, display translations from a different store view instead of the current store view. This patch is available when the Quality Patches Tool (QPT) 1.1.85 is installed. The patch ID is ACP2E-4929. 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-p2
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.5 - 2.4.9
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
Issue where attribute labels on the Compare Products page, such as Short Description, display translations from a different store view instead of the current store view.
Steps to reproduce:
- Log in to the Admin panel.
- Create a couple of websites, stores, and store views.
- Set a custom store label for
short_descriptionon the other store views. - Create at least two products with any value in the Short Description field, and assign them to all other websites.
- Place an order.
- On one of the storefronts, add at least two products to the compare list.
- Flush the cache or delete the cache directory.
- Go to the Compare Products page. The correct translation for Short Description is displayed.
- Go to a different storefront that has a different translation for Short Description.
- Add at least two products to the compare list, and go to the Compare Products page.
- Add any product to the shopping cart.
- Go to the Compare Products page again.
- Check the Short Description label.
- Repeat these steps on any other language website.
Expected results:
The correct translation of the Short Description label is displayed on the Compare Products page in any store view.
Actual results:
The Compare Products page displays translations from a different store view.
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