az1000 Posted November 24, 2014 Share Posted November 24, 2014 Hello all forum users and developers! I use blocklayered_mod module and Prestashop 1.6.0.9 version in my online shop. This module sort atrubute and features and manufacturers by ID. But I want that to sort features, atributes and manufacturers by alphabet. How can i do it? Please anybody help to solve this problem. Thanks in advance for any help you can provide. Link to comment Share on other sites More sharing options...
NemoPS Posted November 24, 2014 Share Posted November 24, 2014 As it's not the standard one, it's really hard to tell. You need to inspect the main .php file and look for any ORDER BY clause Link to comment Share on other sites More sharing options...
az1000 Posted November 24, 2014 Author Share Posted November 24, 2014 As it's not the standard one, it's really hard to tell. You need to inspect the main .php file and look for any ORDER BY clause Thanks for Reply. Is any way to change anything in blocklayered.php file and sort atributes in alphabet? Link to comment Share on other sites More sharing options...
NemoPS Posted November 25, 2014 Share Posted November 25, 2014 Try inspecting this method: getFilterBlock() There are a number of queries. This might be yours ... ORDER BY id_attribute_group, id_attribute'; Link to comment Share on other sites More sharing options...
az1000 Posted November 25, 2014 Author Share Posted November 25, 2014 (edited) Try inspecting this method: getFilterBlock() There are a number of queries. This might be yours ... ORDER BY id_attribute_group, id_attribute'; Thanks for reply and help. What we must write and replace " id_attribute_group, id_attribute'; " Thanks in advance. Edited November 25, 2014 by az1000 (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted November 26, 2014 Share Posted November 26, 2014 al.name, I think 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