I want to change the sort order of size swatches.
I have already put it in sort order from admin but I could not see any result in the front side.
How can I sort it as per my expected result.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Find a Solution!
Swatch Option Not showing in ASC order in Magento2
Add Below code on after line no. 93
['attribute_option' => $this->attributeResource->getTable('eav_attribute_option')],
'attribute_option.option_id = entity_value.value',
Note: You need to set position of swatch in admin