Tom_Rufener Posted January 2, 2012 Share Posted January 2, 2012 Hi all, I'm using PS 1.4.6.2 and looking for a possibility to have the manufacturers sorted alphabetically in the Layered Navigation block. At the moment, the layered navigation sorts the manufacturers according to their ID (manufacturer id), not alphabetically, which can be confusing and time-consuming for visitors and customers ... Does anyone of you know a way to solve this? Any help is appreciated! ~ Tom 1 Link to comment Share on other sites More sharing options...
charlie123 Posted March 1, 2012 Share Posted March 1, 2012 Hi all, I'm using PS 1.4.6.2 and looking for a possibility to have the manufacturers sorted alphabetically in the Layered Navigation block. At the moment, the layered navigation sorts the manufacturers according to their ID (manufacturer id), not alphabetically, which can be confusing and time-consuming for visitors and customers ... Does anyone of you know a way to solve this? Any help is appreciated! ~ Tom Hey, I'm also looking of the way to sort everything alphabetically instead of ID. Did you find out how to do this? Cheers Link to comment Share on other sites More sharing options...
JoseXXL Posted May 31, 2012 Share Posted May 31, 2012 Hey, I'm also looking of the way to sort everything alphabetically instead of ID. Did you find out how to do this? Cheers in: /modules/blocklayered/blocklayered.php replace this line: $sql_query['group'] = ' GROUP BY p.id_manufacturer'; with: $sql_query['group'] = ' GROUP BY p.id_manufacturer ORDER BY m.name'; prestashop 1.4.7.2 + blocklayered 1.8.5 5 Link to comment Share on other sites More sharing options...
janthemanson Posted March 26, 2013 Share Posted March 26, 2013 Also works with PS 1.5.3.1, thanx for sharing! 1 Link to comment Share on other sites More sharing options...
emvoo Posted April 16, 2013 Share Posted April 16, 2013 i can confirm it also wotks on 1.5.4 so its a very good job thanks Link to comment Share on other sites More sharing options...
borko Posted April 25, 2013 Share Posted April 25, 2013 Hello! I have similar situation - http://www.onoff.rs/8-dslr I would like to sort Megapixel filter ( Rezolucija Mpix) by its value... Presta version is 1.4.3. Thanks in advance! Link to comment Share on other sites More sharing options...
DropNix.com Posted May 8, 2013 Share Posted May 8, 2013 in: /modules/blocklayered/blocklayered.php replace this line: $sql_query['group'] = ' GROUP BY p.id_manufacturer'; with: $sql_query['group'] = ' GROUP BY p.id_manufacturer ORDER BY m.name'; prestashop 1.4.7.2 + blocklayered 1.8.5 I have a problem, when I do this changes..it works on the store fine, but in back end in module tab it says: El siguiente módulo(s) no se pudo cargar: blocklayered (parse error en /modules/blocklayered/blocklayered.php) blocklayered (la clase que falta en /modules/blocklayered/blocklayered.php) In english: The following module (s) failed to load: blocklayered (parse error in / modules / blocklayered / blocklayered.php) blocklayered (the missing class in / modules / blocklayered / blocklayered.php) What I have to do? Link to comment Share on other sites More sharing options...
buhajus Posted May 21, 2013 Share Posted May 21, 2013 sorting by alphabet and numeric $sql_query['group'] = 'GROUP BY fv.id_feature_value ORDER BY ABS(fvl.value),fvl.value ASC '; you are welcome 2 Link to comment Share on other sites More sharing options...
buhajus Posted May 21, 2013 Share Posted May 21, 2013 I have a problem, when I do this changes..it works on the store fine, but in back end in module tab it says: El siguiente módulo(s) no se pudo cargar: blocklayered (parse error en /modules/blocklayered/blocklayered.php) blocklayered (la clase que falta en /modules/blocklayered/blocklayered.php) In english: The following module (s) failed to load: blocklayered (parse error in / modules / blocklayered / blocklayered.php) blocklayered (the missing class in / modules / blocklayered / blocklayered.php) What I have to do? best way that's re-install Link to comment Share on other sites More sharing options...
Juan_Suarez Posted November 22, 2013 Share Posted November 22, 2013 It´s work fine at 1.5.2! Thank u Link to comment Share on other sites More sharing options...
zina Posted January 16, 2014 Share Posted January 16, 2014 Hi, how can I sort by position? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now