-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backport to 2.1-develop] Fix configurable attribute options not being sorted #12962
[Backport to 2.1-develop] Fix configurable attribute options not being sorted #12962
Conversation
See github issue magento#7441, internal ticket MAGETWO-61484 and PR magento#12420.
I noticed the PHP code sniffer failure and will address it one of the next coming days. |
Corrected multi-line indents based on the report by the PHP static tests. See build reports for PR magento#12962
Hello @ishakhsuvarov, thank you for your feedback. You might have found it by now, but a similar pull request for 2.2-develop (holding the very same changes) was set up as well, see PR #12963 for the Magento 2.2.x version of the fix. Apart from that, the PHP code sniffer errors are now corrected (within this PR). |
@wardcapp Sorry, concentrated on the one linked in the description too much :) |
…ptions not being sorted #12962
Hi, I noticed changes are already in 2.1.13 version but changes are not visible, my attributes are always unsorted. Damien. |
See github issue #7441, internal ticket MAGETWO-61484 and PR #12420.
Description
Resolves the issue documented in GitHub ticket #7441. A similar PR was opened before (#12420), which was now ported to Magento 2.1.x and required changes to the related unit tests were made as well.
Fixed Issues
Manual testing scenarios
(copied over from PR #12420, which is still valid)
Steps to reproduce
Create a configurable attribute and add two options at least.
Create a configurable product for these options.
Go to the product page and see the configurable attribute select (options).
Change attribute options sort order and flush all caches.
Go to the product page and see the configurable attribute select (options) looks like before.
Expected result:
Configurable options HAVE been reordered.
Contribution checklist