Frontend products are not sorted out by attribute sorting position
Preconditions (*)
Magento 2.3.x & 2.4-develop
Steps to reproduce (*)
-
Magento theme luma or blank
-
Create many colors as attribute (backend menu/store/product/color). Dispose a sorting sequence of colors by drugging one by one to the desired position in the list. Set "Used for Sorting in Product Listing" to yes. Save
-
Apply the different color attribute to as many products as possible.
-
Refresh Cache
-
Browse frontend web site to show all the products recently updated with the color.
-
Click on "sort order" and select "color".
Expected result (*)
It's expected that products are shown in the frontend sorted out by the attribute position set in the backend.
Example: if in the backend color attribute is set in this manner: Red (1st position), Green (2nd position), Blue (3rd position), Black (4th position), etc. It's expected products are shown in the frontend in the same sequence: 1st - all Red products 2nd - all Green products 3rd - all Blue products 4th - all Black products
Actual result (*)
The actual result is that all products are shown in the frontend sorted out by the color name.
Example: if in the backend color attribute is set in this manner: Red (1st position), Green (2nd position), Blue (3rd position), Black (4th position), etc. Result is that products are shown in the frontend in the following sequence: 1st - all Black products 2nd - all Blue products 3rd - all Green products 4th - all Red products
any news on this issue...
any update
Thanks for posting, Internal ticket created MAGETWO-70040
@afavata, thank you for your report. We've created internal ticket(s) MAGETWO-70040 to track progress on the issue.
Hi Guys, Is there any update on this issue? I'm using Magento EE 2.1.9
Hi @LuciferStrome. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:
-
[ ] 1. Add/Edit
Component: XXXXXlabel(s) to the ticket, indicating the components it may be related to. -
[ ] 2. Verify that the issue is reproducible on
2.3-developbranchDetails
- Add the comment@magento-engcom-team give me 2.3-develop instanceto deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.3-developbranch, please, add the labelReproduced on 2.3.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
-
[ ] 3. Verify that the issue is reproducible on
2.2-developbranch.Details
- Add the comment@magento-engcom-team give me 2.2-develop instanceto deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.2-developbranch, please add the labelReproduced on 2.2.x -
[ ] 4. If the issue is not relevant or is not reproducible any more, feel free to close it.
#dmcdindia1
i am working on it
Hi @engcom-Charlie. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
-
[ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
Details
If the issue has a valid description, the labelIssue: Format is validwill be added to the issue automatically. Please, edit issue description if needed, until labelIssue: Format is validappears. -
[ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add
Issue: Clear Descriptionlabel to the issue by yourself. -
[ ] 3. Add
Component: XXXXXlabel(s) to the ticket, indicating the components it may be related to. -
[ ] 4. Verify that the issue is reproducible on
2.4-developbranchDetails
- Add the comment@magento give me 2.4-develop instanceto deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.4-developbranch, please, add the labelReproduced on 2.4.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here! -
[ ] 5. Add label
Issue: Confirmedonce verification is complete. -
[ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
:white_check_mark: Confirmed by @engcom-Charlie
Thank you for verifying the issue. Based on the provided information internal tickets MC-29609 were created
Issue Available: @engcom-Charlie, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
Hi @vikalps4. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:
-
[ ] 1. Add/Edit
Component: XXXXXlabel(s) to the ticket, indicating the components it may be related to. -
[ ] 2. Verify that the issue is reproducible on
2.4-developbranchDetails
- Add the comment@magento give me 2.4-develop instanceto deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.4-developbranch, please, add the labelReproduced on 2.4.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here! -
[ ] 3. If the issue is not relevant or is not reproducible any more, feel free to close it.
- Join Magento Community Engineering Slack and ask your questions in #github channel.
@engcom-Charlie I see this issue was created in 2016, was confirmed on 2.1, 2.2, 2.3 and on 2.4. I just tried to understand what's actually the issue is, how important it is - and it's quite hard for me to understand priority of it.
Could you add some screenshots? I think visually will be much easier to understand this issue.
Hi, @afavata I can't reproduce this issue by following steps:
- Go to the default color attribute and add some colors(e.g. Red Blue Black Green)

- Change their position by drugging one by one to the desired position in the list

- Set "Used for Sorting in Product Listing" to Yes (1)Red 2)Green 3)Blue 4)Black) and save
- Add to attribute set

- Apply the different color attributes to as many products as possible.
- Check on the frontend with sort order by color
Actual result: Now it's work as expected.
@ihor-sviziev @vikalps4 Now I test it again and the issue is not reproducible.
@vikalps4 if You agree with me could You close this issue?
Due to https://github.com/magento/magento2/issues/4641#issuecomment-583306796 issue is not reproducible on the latest 2.4-develop code.
There is no feedback or additional details.
Closed as cannot reproduce