Jump to content

Recommended Posts

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

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

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 by az1000 (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...