Sort configurable attribute options by sort_order
When fetching configurable options using the configurable product option select builder, the sort_order of each option should be taken into account as well, making sure the desired sorting is passed to the frontend. See github issue #7441, internal ticket MAGETWO-61484 and PR#12420 for more on this.
Showing
- app/code/Magento/ConfigurableProduct/Model/ResourceModel/Attribute/OptionSelectBuilder.php 6 additions, 0 deletions...uct/Model/ResourceModel/Attribute/OptionSelectBuilder.php
- app/code/Magento/ConfigurableProduct/Test/Unit/Model/ResourceModel/Attribute/OptionSelectBuilderTest.php 38 additions, 3 deletions...Model/ResourceModel/Attribute/OptionSelectBuilderTest.php
Please register or sign in to comment