Brands To Sort Alphabetically

English Alphabet to sort



A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (Ç Ğ İ Ö Ş Ü)





Turkish Alphabet to sort



A B C Ç D E F G Ğ H I İ J K L M N O Ö P R S Ş T U Ü V W X Y Z







question 1: How can sort by brand ranking Turkish characters?



question 2 How brands can define the limit?



I've stated in the picture



I would appreciate if you could help.



thanks

brand_jpeg.jpg

Is there anyone who can help???

Hi,



If you check the [font=courier new,courier,monospace]fn_get_filters_products_count[/font] function in the [font=courier new,courier,monospace]/app/functions/fn.catalog.php[/font] file, you can see, that there is a hook:

fn_set_hook('get_filters_products_count_before_select', $filters, $view_all, $params);

Connect to this hook, and re-sort the [font=courier new,courier,monospace]$view_all[/font] array with your own regional alphabetical order.



Regards,



Istvan


[quote name='soldierly' timestamp='1398867817' post='182706']

Is there anyone who can help???

[/quote][quote name='soldierly' timestamp='1398441862' post='182356']

English Alphabet to sort



A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (Ç Ğ İ Ö Ş Ü)





Turkish Alphabet to sort



A B C Ç D E F G Ğ H I İ J K L M N O Ö P R S Ş T U Ü V W X Y Z







question 1: How can sort by brand ranking Turkish characters?



question 2 How brands can define the limit?



I've stated in the picture



I would appreciate if you could help.



thanks

[/quote]

[font=courier new,courier,monospace]/app/functions/fn.catalog.php[/font] file



I think the problem here



if (!empty($params['view_all'])) {
$values_fields[] = "UPPER(SUBSTRING(?:product_feature_variant_descriptions.variant, 1, 1)) AS `index`";
}




filter ranking

A B C D Ç



should be

A B C Ç D



brands

A…Brand

B…Brand

C…Brand

Ç…Brand

D…Brand