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
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

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:

  1. Log in to the Admin panel.
  2. Create a couple of websites, stores, and store views.
  3. Set a custom store label for short_description on the other store views.
  4. Create at least two products with any value in the Short Description field, and assign them to all other websites.
  5. Place an order.
  6. On one of the storefronts, add at least two products to the compare list.
  7. Flush the cache or delete the cache directory.
  8. Go to the Compare Products page. The correct translation for Short Description is displayed.
  9. Go to a different storefront that has a different translation for Short Description.
  10. Add at least two products to the compare list, and go to the Compare Products page.
  11. Add any product to the shopping cart.
  12. Go to the Compare Products page again.
  13. Check the Short Description label.
  14. 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:

To learn more about Quality Patches Tool, refer to:

recommendation-more-help
commerce-operations-help-tools