Pressed0024 Posted March 10, 2014 Share Posted March 10, 2014 We need to display the Product Features in the Layered Navigation block and it needs to be sorted to our preferred sorting order for a better user experience for customer. There have been threads that suggest this but were for much older prestashop version. Anyone with a fix that do not require using 1. 2. 3. in front? Instead, the sort order to be defined in backoffice. 1 Link to comment Share on other sites More sharing options...
The Report Store Posted March 28, 2014 Share Posted March 28, 2014 Have you been into the Layered Navigation module? Here you can access all your categories. you will see a list on the left if you choose "all" categories. They will be in a non-specific order. You will be able to click and hold on the one you want to move, then you can move it to where you want. Hope that helps. 1 Link to comment Share on other sites More sharing options...
Pressed0024 Posted March 29, 2014 Author Share Posted March 29, 2014 It's the filter values that I want to sort. Not the filter itself 1 Link to comment Share on other sites More sharing options...
The Report Store Posted March 29, 2014 Share Posted March 29, 2014 Then I'm stumped too, because I have the same problem. Sorry! 1 Link to comment Share on other sites More sharing options...
ashadweb Posted June 25, 2014 Share Posted June 25, 2014 Any fixes? I have the same problem http://www.prestashop.com/forums/topic/339987-change-features-value-order-v-16/?do=findComment&comment=1715372 Then I'm stumped too, because I have the same problem. Sorry! 1 Link to comment Share on other sites More sharing options...
Whispar1 Posted June 25, 2014 Share Posted June 25, 2014 Just a thought, have you physically gone into the back office CATALOG > FEATURES and hover over a features in the position column and when you the pointer changes to a crosshair, drag the features to the position you wish to have? Link to comment Share on other sites More sharing options...
Pressed0024 Posted June 26, 2014 Author Share Posted June 26, 2014 did that work for others? didnt work for me Link to comment Share on other sites More sharing options...
Whispar1 Posted June 26, 2014 Share Posted June 26, 2014 It does work for me on 1.5.3.1 and 1.5.6.2 Maybe try clearing browser cache and also force-compile your template cache Link to comment Share on other sites More sharing options...
Pressed0024 Posted June 27, 2014 Author Share Posted June 27, 2014 Its the values of the features that we can't sort. Not the Features 1 Link to comment Share on other sites More sharing options...
Whispar1 Posted June 27, 2014 Share Posted June 27, 2014 Gotcha - See if this thread helps: http://www.prestashop.com/forums/topic/266336-solved-how-to-change-order-of-feature-values-in-layered-navigation-block/ Link to comment Share on other sites More sharing options...
ashadweb Posted July 3, 2014 Share Posted July 3, 2014 No that doesn't work either (Prestashop 1.6+), even I have contacted guy who actually solved the problem, Isnt that a simple feature you should have anyways. to sort the order of the values. Gotcha - See if this thread helps: http://www.prestashop.com/forums/topic/266336-solved-how-to-change-order-of-feature-values-in-layered-navigation-block/ Link to comment Share on other sites More sharing options...
katmoget Posted December 2, 2014 Share Posted December 2, 2014 (edited) Hi Pressed0024, I know you specified a solution without 1,2,3... but this trick from webbax worked for me although I'm using 1.6.0.9. In short you add 01. etc in front of your value and then you hide it on the front office by modifying your blocklayered.tpl I didn't have to add the ORDER BY fvl.`value` ASC' in blocklayered.php as the order is already alphabetic. I just replaced lines 103 & 124 of blocklayered.tpl ( better to do an override) to truncate the number in front of the feature value name. <a href="{$value.link}" data-rel="{$value.rel}">{$value.name|escape:html:'UTF-8'}{if $layered_show_qties}<span> ({$value.nbr})</span>{/if}</a> with <a href="{$value.link}" data-rel="{$value.rel}">{if $value.name|substr:2:1=='.'}{$value.name|substr:3|escape:html:'UTF-8'}{else}{$value.name|escape:html:'UTF-8'}{/if}{if $layered_show_qties}<span> ({$value.nbr})</span>{/if}</a> so this way your feature values have to be named starting with 01. 02. 03. ... (01.featurevaluename) in the back office but will appear without the number in the front office. maybe not the most elegant but it works until better solution is available. Edited December 2, 2014 by katmoget (see edit history) Link to comment Share on other sites More sharing options...
Tatooine Posted September 29, 2016 Share Posted September 29, 2016 Thank you Katmoget, it works fine but only for available values (Presta 1.6.1). For disabled values it still displaying 01. 02. etc ... Do you know how to fix it ? Thanks ! Link to comment Share on other sites More sharing options...
NOLOGIN Posted May 11, 2017 Share Posted May 11, 2017 Hello, Anyone got the solution here for Prestashop 1.6.1.11? Link to comment Share on other sites More sharing options...
Recommended Posts