Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Wrong attributes order in comparison window #4062

Closed
addison74 opened this issue Jul 1, 2024 · 0 comments · Fixed by #4064
Closed

Wrong attributes order in comparison window #4062

addison74 opened this issue Jul 1, 2024 · 0 comments · Fixed by #4064

Comments

@addison74
Copy link
Contributor

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
1 participant