Mv 4.3.3 Vendor Filter Sort Order

The Vendor filter sort order is strangely set to ID in this version. It needs to be alphabetical as before. Does anyone know how to change it?

Many thanks!!

The Vendor filter sort order is strangely set to ID in this version. It needs to be alphabetical as before. Does anyone know how to change it?

Many thanks!!

What do you mean? Please provide us with the screenshot

What do you mean? Please provide us with the screenshot

I mean the product filters shown on the category pages. We use the vendor filter (called designer in our store) and it has always sorted alphabetically. In the upgraded shop it's sorting by ID instead, which is why the first 3 in this screenshot aren't in order. There's more at the end that are also out of order but you get the point.

We have checked the code and found that the variants are sorted by position value. So you can specify the corresponding position values in the admin panel

Actually there isn't anywhere to enter a position value on the Vendor Filter. Unlike other filters which are generated by features (and include a position order), the vendor filter is generated automatically and there isn't a corresponding feature set up. There also isn't a position field in vendor setup.

OK. app\functions\fn.catalog.php

replace:

"GROUP BY variant_id", 'variant_id',

with:

"GROUP BY variant_id ORDER BY variant", 'variant_id',

Then clear the cache and check the result

(!) Not tested with all types of filters

OK. app\functions\fn.catalog.php

replace:

"GROUP BY variant_id", 'variant_id',

with:

"GROUP BY variant_id ORDER BY variant", 'variant_id',

Then clear the cache and check the result

(!) Not tested with all types of filters

As always, you are brilliant. Worked beautifully. :)