Jump to content

blocklayered sort by name prestashop 1.6


Recommended Posts

Hi everyone, I ask you, please, help to the whole community to help me solve this annoying problem.
 
I have prestashop 1.6.0.13 and many attributes for my products, I do not understand how to automatically sort the attributes ( in blocklayered module front office) by name without having to manually manage in back office why they are displayed for id, I tried to replace the line in the file blocklayered.php
 

ORDER BY id_attribute_group, id_attribute ';

with
 

ORDER BY agl.`id_attribute_group`, al.`name` ASC';

but it does not work  :(

 

Could you please help me?

Edited by robertocommerce (see edit history)
Link to comment
Share on other sites

  • 2 months later...

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...