Swatch option coming in asc order but i want to show in reverse order!

Is any way for that?

enter image description here

1 Answer 1


Yo! Yo! Find a Solution!

Open File


Add Below code on after line no. 93
)->joinInner( ['attribute_option' => $this->attributeResource->getTable('eav_attribute_option')], 'attribute_option.option_id = entity_value.value', [] )->order('attribute_option.sort_order DESC'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.