Close

order of size attribute catalog filter

ululavi
11 years ago
#2130 Quote
Avatar
  • 17
Hello,

I would like to order our size filter in our Fashion theme.
Currently the filter drop down display like this:

Size:
All
0
10
2
4
6
8

And I would like the 10 to be displayed last.
How can this be adjusted?
Thank you,
Boyko
11 years ago
#2134 Quote
Avatar
  • Moderator
  • 1570
lacorne wrote:
Hello,

I would like to order our size filter in our Fashion theme.
Currently the filter drop down display like this:

Size:
All
0
10
2
4
6
8

And I would like the 10 to be displayed last.
How can this be adjusted?
Thank you,


Hi lacorne,

This is not possible as the attributes are interpreted as strings and are sorted alphabetically. The attributes in nopCommerce don't have a specific type i.e integer, so we can't know if all the attribute values are integers or not.

Thanks
Regards,
Nop-Templates.com Team