Skip to content

Wrong attributes order in comparison window #4062

Closed
@addison74

Description

@addison74

This was a known issue in Magento and it was fixed in this PR #1568. The attributes order listed in the product page is not the same with the one in the comparison window. In the past I reported this issue on Stack Exchange and Magento Forum too and I got a solution that worked, I did not spend time to check if a better one can be promoted. Here are the links:

https://magento.stackexchange.com/questions/64983/attributes-order-in-comparison-window-is-wrong

https://community.magento.com/t5/Can-Magento-do/Attributes-order-in-comparison-window-is-wrong/m-p/4137

In 2023 this PR #2993 changed the function getComparableAttributes() in this file app/code/core/Mage/Catalog/Model/Resource/Product/Compare/Item/Collection.php and the ordering of the attributes in the comparison window was affected once again.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions