rseigel Posted July 30, 2012 Share Posted July 30, 2012 I've added several new features, populated with feature values, that appear in the layered navigation block. Problem is that they're not sorted alphabetically - just in the order they were created. I'm sure it must be somewhere in /modules/blocklayered/blocklayered,php that I need to add an "ORDER BY ??? ASC'" - I just can't pin down where. Any and all help is very much appreciated. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 30, 2012 Share Posted July 30, 2012 Hi rseigel, Please try the suggestion posted here and let us know if that works for you. -Mike Link to comment Share on other sites More sharing options...
rseigel Posted July 30, 2012 Author Share Posted July 30, 2012 Tried this: 2724: changed $sql_query['group'] = 'GROUP BY fv.id_feature_value'; to $sql_query['group'] = 'GROUP BY fv.id_feature_value ORDER BY fvl.value'; and 2744: changed GROUP BY fv.id_feature_value'; to GROUP BY fv.id_feature_value ORDER BY fvl.value'; No dice but it seems like it should work. Any more ideas? Ron Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 30, 2012 Share Posted July 30, 2012 Have you already cleared your browser cache and activated Force Compile and deactivated Cache through your Back Office under Preferences > Performance? -Mike Link to comment Share on other sites More sharing options...
rseigel Posted July 30, 2012 Author Share Posted July 30, 2012 I have now. Still no go. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 30, 2012 Share Posted July 30, 2012 What version of PrestaShop are you using, and what theme? Can you please post a link to your site so that we can see this for ourselves? -Mike Link to comment Share on other sites More sharing options...
rseigel Posted July 30, 2012 Author Share Posted July 30, 2012 1.4.8.2 The standard prestashop template that comes with it, The easiest place to see it is http://a1webshopping.com/344-folding-knives Link to comment Share on other sites More sharing options...
rseigel Posted July 30, 2012 Author Share Posted July 30, 2012 I should add that I'm using the core mod that allows you to select more than one feature item per feature. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 30, 2012 Share Posted July 30, 2012 I should add that I'm using the core mod that allows you to select more than one feature item per feature. If you made core modifications, I can't guarantee that any solution I could offer will work. -Mike Link to comment Share on other sites More sharing options...
rseigel Posted July 30, 2012 Author Share Posted July 30, 2012 I've gone through the changes and there aren't any database calls in the mod at all so it should be irrelevant. Link to comment Share on other sites More sharing options...
rseigel Posted July 30, 2012 Author Share Posted July 30, 2012 Sorry for all the confusion Mike. It appears like this mod may actually affect this so I've asked the question in that thread. Thanks for your help. 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